You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

3646 lines
132 KiB

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