{ "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" } ] } }