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.
2766 lines
103 KiB
2766 lines
103 KiB
|
|
{
|
|
"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__"
|
|
}
|
|
]
|
|
}
|
|
}
|