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