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.
 
 
 
 

5209 lines
196 KiB

{
"jani-version":1,
"features":[
"derived-operators"
],
"name":"Converted from PRISM by IscasMC",
"type":"mdp",
"actions":[
{
"name":"send1"
},
{
"name":"send2"
},
{
"name":"finish1"
},
{
"name":"finish2"
},
{
"name":"time"
},
{
"name":"tau__"
}
],
"constants":[
{
"name":"TRANS_TIME_MAX",
"type":"int"
},
{
"name":"DEADLINE",
"type":"int"
}
],
"variables":[
{
"name":"c1",
"type":{
"kind":"bounded",
"base":"int",
"lower-bound":0,
"upper-bound":2
}
},
{
"name":"c2",
"type":{
"kind":"bounded",
"base":"int",
"lower-bound":0,
"upper-bound":2
}
},
{
"name":"x1",
"type":{
"kind":"bounded",
"base":"int",
"lower-bound":0,
"upper-bound":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
},
{
"name":"s1",
"type":{
"kind":"bounded",
"base":"int",
"lower-bound":1,
"upper-bound":12
}
},
{
"name":"slot1",
"type":{
"kind":"bounded",
"base":"int",
"lower-bound":0,
"upper-bound":1
}
},
{
"name":"backoff1",
"type":{
"kind":"bounded",
"base":"int",
"lower-bound":0,
"upper-bound":15
}
},
{
"name":"bc1",
"type":{
"kind":"bounded",
"base":"int",
"lower-bound":0,
"upper-bound":1
}
},
{
"name":"t",
"type":{
"kind":"bounded",
"base":"int",
"lower-bound":0,
"upper-bound":"DEADLINE"
}
},
{
"name":"x2",
"type":{
"kind":"bounded",
"base":"int",
"lower-bound":0,
"upper-bound":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
},
{
"name":"s2",
"type":{
"kind":"bounded",
"base":"int",
"lower-bound":1,
"upper-bound":12
}
},
{
"name":"slot2",
"type":{
"kind":"bounded",
"base":"int",
"lower-bound":0,
"upper-bound":1
}
},
{
"name":"backoff2",
"type":{
"kind":"bounded",
"base":"int",
"lower-bound":0,
"upper-bound":15
}
},
{
"name":"bc2",
"type":{
"kind":"bounded",
"base":"int",
"lower-bound":0,
"upper-bound":1
}
}
],
"observables":[
],
"initial-states":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"c1",
"right":0
},
"right":{
"op":"=",
"left":"c2",
"right":0
}
},
"right":{
"op":"=",
"left":"x1",
"right":0
}
},
"right":{
"op":"=",
"left":"s1",
"right":1
}
},
"right":{
"op":"=",
"left":"slot1",
"right":0
}
},
"right":{
"op":"=",
"left":"backoff1",
"right":0
}
},
"right":{
"op":"=",
"left":"bc1",
"right":0
}
},
"right":{
"op":"=",
"left":"t",
"right":0
}
},
"right":{
"op":"=",
"left":"x2",
"right":0
}
},
"right":{
"op":"=",
"left":"s2",
"right":1
}
},
"right":{
"op":"=",
"left":"slot2",
"right":0
}
},
"right":{
"op":"=",
"left":"backoff2",
"right":0
}
},
"right":{
"op":"=",
"left":"bc2",
"right":0
}
}
},
"automata":[
{
"name":"medium",
"locations":[
{
"name":"location"
}
],
"initial-locations":[
"location"
],
"edges":[
{
"location":"location",
"action":"send1",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"c1",
"right":0
},
"right":{
"op":"=",
"left":"c2",
"right":0
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"c1",
"value":1
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"send2",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"c2",
"right":0
},
"right":{
"op":"=",
"left":"c1",
"right":0
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"c2",
"value":1
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"send1",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"c1",
"right":0
},
"right":{
"op":">",
"left":"c2",
"right":0
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"c1",
"value":2
},
{
"ref":"c2",
"value":2
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"send2",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"c2",
"right":0
},
"right":{
"op":">",
"left":"c1",
"right":0
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"c1",
"value":2
},
{
"ref":"c2",
"value":2
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"finish1",
"guard":{
"exp":{
"op":">",
"left":"c1",
"right":0
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"c1",
"value":0
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"finish2",
"guard":{
"exp":{
"op":">",
"left":"c2",
"right":0
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"c2",
"value":0
}
],
"observables":[
]
}
]
}
]
},
{
"name":"station1",
"locations":[
{
"name":"location"
}
],
"initial-locations":[
"location"
],
"edges":[
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":1
},
"right":{
"op":"<",
"left":"x1",
"right":3
}
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"c1",
"right":0
},
"right":{
"op":"=",
"left":"c2",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x1",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x1",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":1
},
"right":{
"op":"∨",
"left":{
"op":"=",
"left":"x1",
"right":3
},
"right":{
"op":"=",
"left":"x1",
"right":{
"op":"-",
"left":3,
"right":1
}
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":8
},
{
"ref":"x1",
"value":0
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":1
},
"right":{
"op":"∨",
"left":{
"op":">",
"left":"c1",
"right":0
},
"right":{
"op":">",
"left":"c2",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":2
},
{
"ref":"x1",
"value":0
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":2
},
"right":{
"op":"∨",
"left":{
"op":">",
"left":"c1",
"right":0
},
"right":{
"op":">",
"left":"c2",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":2
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":2
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"c1",
"right":0
},
"right":{
"op":"=",
"left":"c2",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":3
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":3
},
"right":{
"op":"<",
"left":"x1",
"right":3
}
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"c1",
"right":0
},
"right":{
"op":"=",
"left":"c2",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x1",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x1",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":3
},
"right":{
"op":"∨",
"left":{
"op":">",
"left":"c1",
"right":0
},
"right":{
"op":">",
"left":"c2",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":2
},
{
"ref":"x1",
"value":0
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":3
},
"right":{
"op":"∨",
"left":{
"op":"=",
"left":"x1",
"right":3
},
"right":{
"op":"=",
"left":"x1",
"right":{
"op":"-",
"left":3,
"right":1
}
}
}
},
"right":{
"op":"=",
"left":"bc1",
"right":0
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":4
},
{
"ref":"x1",
"value":0
},
{
"ref":"slot1",
"value":0
},
{
"ref":"bc1",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"bc1",
"right":1
},
"right":1
}
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":3
},
"right":{
"op":"∨",
"left":{
"op":"=",
"left":"x1",
"right":3
},
"right":{
"op":"=",
"left":"x1",
"right":{
"op":"-",
"left":3,
"right":1
}
}
}
},
"right":{
"op":"=",
"left":"bc1",
"right":1
}
}
},
"destinations":[
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":2
}
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":4
},
{
"ref":"x1",
"value":0
},
{
"ref":"slot1",
"value":0
},
{
"ref":"bc1",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"bc1",
"right":1
},
"right":1
}
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":2
}
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":4
},
{
"ref":"x1",
"value":0
},
{
"ref":"slot1",
"value":1
},
{
"ref":"bc1",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"bc1",
"right":1
},
"right":1
}
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"=",
"left":"s1",
"right":4
}
},
"destinations":[
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"backoff1",
"value":0
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"backoff1",
"value":1
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"backoff1",
"value":2
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"backoff1",
"value":3
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"backoff1",
"value":4
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"backoff1",
"value":5
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"backoff1",
"value":6
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"backoff1",
"value":7
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"backoff1",
"value":8
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"backoff1",
"value":9
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"backoff1",
"value":10
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"backoff1",
"value":11
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"backoff1",
"value":12
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"backoff1",
"value":13
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"backoff1",
"value":14
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"backoff1",
"value":15
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":5
},
"right":{
"op":"<",
"left":"x1",
"right":1
}
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"c1",
"right":0
},
"right":{
"op":"=",
"left":"c2",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x1",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x1",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":5
},
"right":{
"op":"=",
"left":"x1",
"right":1
}
},
"right":{
"op":">",
"left":"backoff1",
"right":0
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"x1",
"value":0
},
{
"ref":"backoff1",
"value":{
"op":"-",
"left":"backoff1",
"right":1
}
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":5
},
"right":{
"op":"=",
"left":"x1",
"right":1
}
},
"right":{
"op":"=",
"left":"backoff1",
"right":0
}
},
"right":{
"op":">",
"left":"slot1",
"right":0
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"x1",
"value":0
},
{
"ref":"backoff1",
"value":15
},
{
"ref":"slot1",
"value":{
"op":"-",
"left":"slot1",
"right":1
}
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":5
},
"right":{
"op":"=",
"left":"x1",
"right":1
}
},
"right":{
"op":"=",
"left":"backoff1",
"right":0
}
},
"right":{
"op":"=",
"left":"slot1",
"right":0
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":8
},
{
"ref":"x1",
"value":0
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":5
},
"right":{
"op":"∨",
"left":{
"op":">",
"left":"c1",
"right":0
},
"right":{
"op":">",
"left":"c2",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":6
},
{
"ref":"x1",
"value":0
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":6
},
"right":{
"op":"∨",
"left":{
"op":">",
"left":"c1",
"right":0
},
"right":{
"op":">",
"left":"c2",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":6
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":6
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"c1",
"right":0
},
"right":{
"op":"=",
"left":"c2",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":7
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":7
},
"right":{
"op":"<",
"left":"x1",
"right":3
}
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"c1",
"right":0
},
"right":{
"op":"=",
"left":"c2",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x1",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x1",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":7
},
"right":{
"op":"∨",
"left":{
"op":"=",
"left":"x1",
"right":3
},
"right":{
"op":"=",
"left":"x1",
"right":{
"op":"-",
"left":3,
"right":1
}
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":5
},
{
"ref":"x1",
"value":0
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":7
},
"right":{
"op":"∨",
"left":{
"op":">",
"left":"c1",
"right":0
},
"right":{
"op":">",
"left":"c2",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":6
},
{
"ref":"x1",
"value":0
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":8
},
"right":{
"op":"<",
"left":"x1",
"right":1
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x1",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x1",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"send1",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":8
},
"right":{
"op":"∨",
"left":{
"op":"=",
"left":"x1",
"right":1
},
"right":{
"op":"=",
"left":"x1",
"right":{
"op":"-",
"left":1,
"right":1
}
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":9
},
{
"ref":"x1",
"value":0
}
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":9
},
"right":{
"op":"<",
"left":"x1",
"right":"TRANS_TIME_MAX"
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x1",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x1",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"finish1",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":9
},
"right":{
"op":"≥",
"left":"x1",
"right":4
}
},
"right":{
"op":"=",
"left":"c1",
"right":1
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":10
},
{
"ref":"x1",
"value":0
}
]
}
]
},
{
"location":"location",
"action":"finish1",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":9
},
"right":{
"op":"≥",
"left":"x1",
"right":4
}
},
"right":{
"op":"=",
"left":"c1",
"right":2
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":11
},
{
"ref":"x1",
"value":0
}
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":10
},
"right":{
"op":"=",
"left":"c1",
"right":0
}
},
"right":{
"op":"=",
"left":"x1",
"right":0
}
},
"right":{
"op":"∨",
"left":{
"op":">",
"left":"c1",
"right":0
},
"right":{
"op":">",
"left":"c2",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":2
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":10
},
"right":{
"op":"=",
"left":"c1",
"right":0
}
},
"right":{
"op":"=",
"left":"x1",
"right":0
}
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"c1",
"right":0
},
"right":{
"op":"=",
"left":"c2",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x1",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x1",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"send1",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":10
},
"right":{
"op":"=",
"left":"c1",
"right":0
}
},
"right":{
"op":"∨",
"left":{
"op":"=",
"left":"x1",
"right":1
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"x1",
"right":{
"op":"-",
"left":1,
"right":1
}
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"c1",
"right":0
},
"right":{
"op":"=",
"left":"c2",
"right":0
}
}
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":10
},
{
"ref":"x1",
"value":0
}
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":10
},
"right":{
"op":"=",
"left":"c1",
"right":1
}
},
"right":{
"op":"<",
"left":"x1",
"right":4
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x1",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x1",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"finish1",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":10
},
"right":{
"op":"=",
"left":"c1",
"right":1
}
},
"right":{
"op":"∨",
"left":{
"op":"=",
"left":"x1",
"right":4
},
"right":{
"op":"=",
"left":"x1",
"right":{
"op":"-",
"left":4,
"right":1
}
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":12
},
{
"ref":"x1",
"value":0
},
{
"ref":"bc1",
"value":0
}
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":11
},
"right":{
"op":"=",
"left":"x1",
"right":0
}
},
"right":{
"op":"∨",
"left":{
"op":">",
"left":"c1",
"right":0
},
"right":{
"op":">",
"left":"c2",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":2
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":11
},
"right":{
"op":"=",
"left":"x1",
"right":0
}
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"c1",
"right":0
},
"right":{
"op":"=",
"left":"c2",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x1",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x1",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":11
},
"right":{
"op":">",
"left":"x1",
"right":0
}
},
"right":{
"op":"<",
"left":"x1",
"right":6
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x1",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x1",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s1",
"right":11
},
"right":{
"op":"=",
"left":"x1",
"right":6
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":3
},
{
"ref":"x1",
"value":0
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"=",
"left":"s1",
"right":12
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s1",
"value":12
}
],
"observables":[
]
}
]
}
]
},
{
"name":"timer",
"locations":[
{
"name":"location"
}
],
"initial-locations":[
"location"
],
"edges":[
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"<",
"left":"t",
"right":"DEADLINE"
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"t",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"t",
"right":1
},
"right":"DEADLINE"
}
}
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"≥",
"left":"t",
"right":"DEADLINE"
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"t",
"value":"t"
}
],
"observables":[
]
}
]
}
]
},
{
"name":"station2",
"locations":[
{
"name":"location"
}
],
"initial-locations":[
"location"
],
"edges":[
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":1
},
"right":{
"op":"<",
"left":"x2",
"right":3
}
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"c2",
"right":0
},
"right":{
"op":"=",
"left":"c1",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x2",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x2",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":1
},
"right":{
"op":"∨",
"left":{
"op":"=",
"left":"x2",
"right":3
},
"right":{
"op":"=",
"left":"x2",
"right":{
"op":"-",
"left":3,
"right":1
}
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":8
},
{
"ref":"x2",
"value":0
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":1
},
"right":{
"op":"∨",
"left":{
"op":">",
"left":"c2",
"right":0
},
"right":{
"op":">",
"left":"c1",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":2
},
{
"ref":"x2",
"value":0
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":2
},
"right":{
"op":"∨",
"left":{
"op":">",
"left":"c2",
"right":0
},
"right":{
"op":">",
"left":"c1",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":2
}
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":2
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"c2",
"right":0
},
"right":{
"op":"=",
"left":"c1",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":3
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":3
},
"right":{
"op":"<",
"left":"x2",
"right":3
}
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"c2",
"right":0
},
"right":{
"op":"=",
"left":"c1",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x2",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x2",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":3
},
"right":{
"op":"∨",
"left":{
"op":">",
"left":"c2",
"right":0
},
"right":{
"op":">",
"left":"c1",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":2
},
{
"ref":"x2",
"value":0
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":3
},
"right":{
"op":"∨",
"left":{
"op":"=",
"left":"x2",
"right":3
},
"right":{
"op":"=",
"left":"x2",
"right":{
"op":"-",
"left":3,
"right":1
}
}
}
},
"right":{
"op":"=",
"left":"bc2",
"right":0
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":4
},
{
"ref":"x2",
"value":0
},
{
"ref":"slot2",
"value":0
},
{
"ref":"bc2",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"bc2",
"right":1
},
"right":1
}
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":3
},
"right":{
"op":"∨",
"left":{
"op":"=",
"left":"x2",
"right":3
},
"right":{
"op":"=",
"left":"x2",
"right":{
"op":"-",
"left":3,
"right":1
}
}
}
},
"right":{
"op":"=",
"left":"bc2",
"right":1
}
}
},
"destinations":[
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":2
}
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":4
},
{
"ref":"x2",
"value":0
},
{
"ref":"slot2",
"value":0
},
{
"ref":"bc2",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"bc2",
"right":1
},
"right":1
}
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":2
}
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":4
},
{
"ref":"x2",
"value":0
},
{
"ref":"slot2",
"value":1
},
{
"ref":"bc2",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"bc2",
"right":1
},
"right":1
}
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"=",
"left":"s2",
"right":4
}
},
"destinations":[
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"backoff2",
"value":0
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"backoff2",
"value":1
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"backoff2",
"value":2
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"backoff2",
"value":3
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"backoff2",
"value":4
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"backoff2",
"value":5
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"backoff2",
"value":6
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"backoff2",
"value":7
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"backoff2",
"value":8
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"backoff2",
"value":9
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"backoff2",
"value":10
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"backoff2",
"value":11
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"backoff2",
"value":12
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"backoff2",
"value":13
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"backoff2",
"value":14
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"/",
"left":1,
"right":16
}
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"backoff2",
"value":15
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":5
},
"right":{
"op":"<",
"left":"x2",
"right":1
}
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"c2",
"right":0
},
"right":{
"op":"=",
"left":"c1",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x2",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x2",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":5
},
"right":{
"op":"=",
"left":"x2",
"right":1
}
},
"right":{
"op":">",
"left":"backoff2",
"right":0
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"x2",
"value":0
},
{
"ref":"backoff2",
"value":{
"op":"-",
"left":"backoff2",
"right":1
}
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":5
},
"right":{
"op":"=",
"left":"x2",
"right":1
}
},
"right":{
"op":"=",
"left":"backoff2",
"right":0
}
},
"right":{
"op":">",
"left":"slot2",
"right":0
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"x2",
"value":0
},
{
"ref":"backoff2",
"value":15
},
{
"ref":"slot2",
"value":{
"op":"-",
"left":"slot2",
"right":1
}
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":5
},
"right":{
"op":"=",
"left":"x2",
"right":1
}
},
"right":{
"op":"=",
"left":"backoff2",
"right":0
}
},
"right":{
"op":"=",
"left":"slot2",
"right":0
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":8
},
{
"ref":"x2",
"value":0
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":5
},
"right":{
"op":"∨",
"left":{
"op":">",
"left":"c2",
"right":0
},
"right":{
"op":">",
"left":"c1",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":6
},
{
"ref":"x2",
"value":0
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":6
},
"right":{
"op":"∨",
"left":{
"op":">",
"left":"c2",
"right":0
},
"right":{
"op":">",
"left":"c1",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":6
}
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":6
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"c2",
"right":0
},
"right":{
"op":"=",
"left":"c1",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":7
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":7
},
"right":{
"op":"<",
"left":"x2",
"right":3
}
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"c2",
"right":0
},
"right":{
"op":"=",
"left":"c1",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x2",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x2",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":7
},
"right":{
"op":"∨",
"left":{
"op":"=",
"left":"x2",
"right":3
},
"right":{
"op":"=",
"left":"x2",
"right":{
"op":"-",
"left":3,
"right":1
}
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":5
},
{
"ref":"x2",
"value":0
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":7
},
"right":{
"op":"∨",
"left":{
"op":">",
"left":"c2",
"right":0
},
"right":{
"op":">",
"left":"c1",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":6
},
{
"ref":"x2",
"value":0
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":8
},
"right":{
"op":"<",
"left":"x2",
"right":1
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x2",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x2",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
]
}
]
},
{
"location":"location",
"action":"send2",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":8
},
"right":{
"op":"∨",
"left":{
"op":"=",
"left":"x2",
"right":1
},
"right":{
"op":"=",
"left":"x2",
"right":{
"op":"-",
"left":1,
"right":1
}
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":9
},
{
"ref":"x2",
"value":0
}
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":9
},
"right":{
"op":"<",
"left":"x2",
"right":"TRANS_TIME_MAX"
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x2",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x2",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
]
}
]
},
{
"location":"location",
"action":"finish2",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":9
},
"right":{
"op":"≥",
"left":"x2",
"right":4
}
},
"right":{
"op":"=",
"left":"c2",
"right":1
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":10
},
{
"ref":"x2",
"value":0
}
]
}
]
},
{
"location":"location",
"action":"finish2",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":9
},
"right":{
"op":"≥",
"left":"x2",
"right":4
}
},
"right":{
"op":"=",
"left":"c2",
"right":2
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":11
},
{
"ref":"x2",
"value":0
}
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":10
},
"right":{
"op":"=",
"left":"c2",
"right":0
}
},
"right":{
"op":"=",
"left":"x2",
"right":0
}
},
"right":{
"op":"∨",
"left":{
"op":">",
"left":"c2",
"right":0
},
"right":{
"op":">",
"left":"c1",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":2
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":10
},
"right":{
"op":"=",
"left":"c2",
"right":0
}
},
"right":{
"op":"=",
"left":"x2",
"right":0
}
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"c2",
"right":0
},
"right":{
"op":"=",
"left":"c1",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x2",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x2",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
]
}
]
},
{
"location":"location",
"action":"send2",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":10
},
"right":{
"op":"=",
"left":"c2",
"right":0
}
},
"right":{
"op":"∨",
"left":{
"op":"=",
"left":"x2",
"right":1
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"x2",
"right":{
"op":"-",
"left":1,
"right":1
}
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"c2",
"right":0
},
"right":{
"op":"=",
"left":"c1",
"right":0
}
}
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":10
},
{
"ref":"x2",
"value":0
}
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":10
},
"right":{
"op":"=",
"left":"c2",
"right":1
}
},
"right":{
"op":"<",
"left":"x2",
"right":4
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x2",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x2",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
]
}
]
},
{
"location":"location",
"action":"finish2",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":10
},
"right":{
"op":"=",
"left":"c2",
"right":1
}
},
"right":{
"op":"∨",
"left":{
"op":"=",
"left":"x2",
"right":4
},
"right":{
"op":"=",
"left":"x2",
"right":{
"op":"-",
"left":4,
"right":1
}
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":12
},
{
"ref":"x2",
"value":0
},
{
"ref":"bc2",
"value":0
}
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":11
},
"right":{
"op":"=",
"left":"x2",
"right":0
}
},
"right":{
"op":"∨",
"left":{
"op":">",
"left":"c2",
"right":0
},
"right":{
"op":">",
"left":"c1",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":2
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":11
},
"right":{
"op":"=",
"left":"x2",
"right":0
}
},
"right":{
"op":"∧",
"left":{
"op":"=",
"left":"c2",
"right":0
},
"right":{
"op":"=",
"left":"c1",
"right":0
}
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x2",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x2",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":11
},
"right":{
"op":">",
"left":"x2",
"right":0
}
},
"right":{
"op":"<",
"left":"x2",
"right":6
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x2",
"value":{
"op":"min",
"left":{
"op":"+",
"left":"x2",
"right":1
},
"right":{
"op":"+",
"left":{
"op":"max",
"left":6,
"right":"TRANS_TIME_MAX"
},
"right":1
}
}
}
]
}
]
},
{
"location":"location",
"action":"tau__",
"guard":{
"exp":{
"op":"∧",
"left":{
"op":"=",
"left":"s2",
"right":11
},
"right":{
"op":"=",
"left":"x2",
"right":6
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":3
},
{
"ref":"x2",
"value":0
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"time",
"guard":{
"exp":{
"op":"=",
"left":"s2",
"right":12
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"s2",
"value":12
}
]
}
]
}
]
}
],
"system":{
"elements":[
{
"automaton":"medium"
},
{
"automaton":"station1"
},
{
"automaton":"timer"
},
{
"automaton":"station2"
}
],
"syncs":[
{
"synchronise":[
null,
"time",
"time",
"time"
],
"result":"time"
},
{
"synchronise":[
"send2",
null,
null,
"send2"
],
"result":"send2"
},
{
"synchronise":[
"finish2",
null,
null,
"finish2"
],
"result":"finish2"
},
{
"synchronise":[
"send1",
"send1",
null,
null
],
"result":"send1"
},
{
"synchronise":[
"finish1",
"finish1",
null,
null
],
"result":"finish1"
},
{
"synchronise":[
null,
"tau__",
null,
null
],
"result":"tau__"
},
{
"synchronise":[
null,
null,
"tau__",
null
],
"result":"tau__"
},
{
"synchronise":[
null,
null,
null,
"tau__"
],
"result":"tau__"
}
]
}
}