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.
5013 lines
181 KiB
5013 lines
181 KiB
|
|
{
|
|
"jani-version":1,
|
|
"features":[
|
|
"derived-operators"
|
|
],
|
|
"name":"Converted from PRISM by IscasMC",
|
|
"type":"mdp",
|
|
"actions":[
|
|
{
|
|
"name":"snd_req12"
|
|
},
|
|
{
|
|
"name":"snd_ack12"
|
|
},
|
|
{
|
|
"name":"snd_idle12"
|
|
},
|
|
{
|
|
"name":"time"
|
|
},
|
|
{
|
|
"name":"rec_req12"
|
|
},
|
|
{
|
|
"name":"rec_ack12"
|
|
},
|
|
{
|
|
"name":"rec_idle12"
|
|
},
|
|
{
|
|
"name":"rec_idle21"
|
|
},
|
|
{
|
|
"name":"rec_req21"
|
|
},
|
|
{
|
|
"name":"rec_ack21"
|
|
},
|
|
{
|
|
"name":"tau__"
|
|
},
|
|
{
|
|
"name":"snd_req21"
|
|
},
|
|
{
|
|
"name":"snd_ack21"
|
|
},
|
|
{
|
|
"name":"snd_idle21"
|
|
}
|
|
],
|
|
"constants":[
|
|
{
|
|
"name":"delay",
|
|
"type":"int"
|
|
},
|
|
{
|
|
"name":"fast",
|
|
"type":"real"
|
|
}
|
|
],
|
|
"variables":[
|
|
{
|
|
"name":"w12",
|
|
"type":{
|
|
"kind":"bounded",
|
|
"base":"int",
|
|
"lower-bound":0,
|
|
"upper-bound":9
|
|
}
|
|
},
|
|
{
|
|
"name":"y1",
|
|
"type":{
|
|
"kind":"bounded",
|
|
"base":"int",
|
|
"lower-bound":0,
|
|
"upper-bound":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name":"y2",
|
|
"type":{
|
|
"kind":"bounded",
|
|
"base":"int",
|
|
"lower-bound":0,
|
|
"upper-bound":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name":"x1",
|
|
"type":{
|
|
"kind":"bounded",
|
|
"base":"int",
|
|
"lower-bound":0,
|
|
"upper-bound":168
|
|
}
|
|
},
|
|
{
|
|
"name":"s1",
|
|
"type":{
|
|
"kind":"bounded",
|
|
"base":"int",
|
|
"lower-bound":0,
|
|
"upper-bound":8
|
|
}
|
|
},
|
|
{
|
|
"name":"w21",
|
|
"type":{
|
|
"kind":"bounded",
|
|
"base":"int",
|
|
"lower-bound":0,
|
|
"upper-bound":9
|
|
}
|
|
},
|
|
{
|
|
"name":"z1",
|
|
"type":{
|
|
"kind":"bounded",
|
|
"base":"int",
|
|
"lower-bound":0,
|
|
"upper-bound":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name":"z2",
|
|
"type":{
|
|
"kind":"bounded",
|
|
"base":"int",
|
|
"lower-bound":0,
|
|
"upper-bound":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name":"x2",
|
|
"type":{
|
|
"kind":"bounded",
|
|
"base":"int",
|
|
"lower-bound":0,
|
|
"upper-bound":168
|
|
}
|
|
},
|
|
{
|
|
"name":"s2",
|
|
"type":{
|
|
"kind":"bounded",
|
|
"base":"int",
|
|
"lower-bound":0,
|
|
"upper-bound":8
|
|
}
|
|
}
|
|
],
|
|
"observables":[
|
|
{
|
|
"name":"\"time\""
|
|
},
|
|
{
|
|
"name":"\"time_sending\""
|
|
}
|
|
],
|
|
"initial-states":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":0
|
|
},
|
|
"right":{
|
|
"op":"=",
|
|
"left":"y1",
|
|
"right":0
|
|
}
|
|
},
|
|
"right":{
|
|
"op":"=",
|
|
"left":"y2",
|
|
"right":0
|
|
}
|
|
},
|
|
"right":{
|
|
"op":"=",
|
|
"left":"x1",
|
|
"right":0
|
|
}
|
|
},
|
|
"right":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":0
|
|
}
|
|
},
|
|
"right":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":0
|
|
}
|
|
},
|
|
"right":{
|
|
"op":"=",
|
|
"left":"z1",
|
|
"right":0
|
|
}
|
|
},
|
|
"right":{
|
|
"op":"=",
|
|
"left":"z2",
|
|
"right":0
|
|
}
|
|
},
|
|
"right":{
|
|
"op":"=",
|
|
"left":"x2",
|
|
"right":0
|
|
}
|
|
},
|
|
"right":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":0
|
|
}
|
|
}
|
|
},
|
|
"automata":[
|
|
{
|
|
"name":"wire12",
|
|
"locations":[
|
|
{
|
|
"name":"location"
|
|
}
|
|
],
|
|
"initial-locations":[
|
|
"location"
|
|
],
|
|
"edges":[
|
|
{
|
|
"location":"location",
|
|
"action":"snd_req12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":0
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":1
|
|
},
|
|
{
|
|
"ref":"y1",
|
|
"value":0
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_ack12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":0
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":3
|
|
},
|
|
{
|
|
"ref":"y1",
|
|
"value":0
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_idle12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":0
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":5
|
|
},
|
|
{
|
|
"ref":"y1",
|
|
"value":0
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":0
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":"w12"
|
|
}
|
|
],
|
|
"observables":[
|
|
{
|
|
"ref":"\"time\"",
|
|
"value":1
|
|
},
|
|
{
|
|
"ref":"\"time_sending\"",
|
|
"value":{
|
|
"op":"?:",
|
|
"args":[
|
|
{
|
|
"op":"∨",
|
|
"left":{
|
|
"op":">",
|
|
"left":"w12",
|
|
"right":0
|
|
},
|
|
"right":{
|
|
"op":">",
|
|
"left":"w21",
|
|
"right":0
|
|
}
|
|
},
|
|
1,
|
|
0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_req12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":1
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":1
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_req12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":1
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":0
|
|
},
|
|
{
|
|
"ref":"y1",
|
|
"value":0
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_ack12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":1
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":2
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_idle12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":1
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":8
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"y2",
|
|
"right":"delay"
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"y1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"y1",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"y2",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"observables":[
|
|
{
|
|
"ref":"\"time\"",
|
|
"value":1
|
|
},
|
|
{
|
|
"ref":"\"time_sending\"",
|
|
"value":{
|
|
"op":"?:",
|
|
"args":[
|
|
{
|
|
"op":"∨",
|
|
"left":{
|
|
"op":">",
|
|
"left":"w12",
|
|
"right":0
|
|
},
|
|
"right":{
|
|
"op":">",
|
|
"left":"w21",
|
|
"right":0
|
|
}
|
|
},
|
|
1,
|
|
0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_ack12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":2
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":2
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_req12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":2
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":3
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":2
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"y1",
|
|
"right":"delay"
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"y1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"y1",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"y2",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"observables":[
|
|
{
|
|
"ref":"\"time\"",
|
|
"value":1
|
|
},
|
|
{
|
|
"ref":"\"time_sending\"",
|
|
"value":{
|
|
"op":"?:",
|
|
"args":[
|
|
{
|
|
"op":"∨",
|
|
"left":{
|
|
"op":">",
|
|
"left":"w12",
|
|
"right":0
|
|
},
|
|
"right":{
|
|
"op":">",
|
|
"left":"w21",
|
|
"right":0
|
|
}
|
|
},
|
|
1,
|
|
0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_ack12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":3
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":3
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_ack12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":3
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":0
|
|
},
|
|
{
|
|
"ref":"y1",
|
|
"value":0
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_idle12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":3
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":4
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_req12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":3
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":7
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":3
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"y2",
|
|
"right":"delay"
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"y1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"y1",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"y2",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"observables":[
|
|
{
|
|
"ref":"\"time\"",
|
|
"value":1
|
|
},
|
|
{
|
|
"ref":"\"time_sending\"",
|
|
"value":{
|
|
"op":"?:",
|
|
"args":[
|
|
{
|
|
"op":"∨",
|
|
"left":{
|
|
"op":">",
|
|
"left":"w12",
|
|
"right":0
|
|
},
|
|
"right":{
|
|
"op":">",
|
|
"left":"w21",
|
|
"right":0
|
|
}
|
|
},
|
|
1,
|
|
0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_idle12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":4
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":4
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_ack12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":4
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":5
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":4
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"y1",
|
|
"right":"delay"
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"y1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"y1",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"y2",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"observables":[
|
|
{
|
|
"ref":"\"time\"",
|
|
"value":1
|
|
},
|
|
{
|
|
"ref":"\"time_sending\"",
|
|
"value":{
|
|
"op":"?:",
|
|
"args":[
|
|
{
|
|
"op":"∨",
|
|
"left":{
|
|
"op":">",
|
|
"left":"w12",
|
|
"right":0
|
|
},
|
|
"right":{
|
|
"op":">",
|
|
"left":"w21",
|
|
"right":0
|
|
}
|
|
},
|
|
1,
|
|
0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_idle12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":5
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":5
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_idle12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":5
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":0
|
|
},
|
|
{
|
|
"ref":"y1",
|
|
"value":0
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_req12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":5
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":6
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_ack12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":5
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":9
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":5
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"y2",
|
|
"right":"delay"
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"y1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"y1",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"y2",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"observables":[
|
|
{
|
|
"ref":"\"time\"",
|
|
"value":1
|
|
},
|
|
{
|
|
"ref":"\"time_sending\"",
|
|
"value":{
|
|
"op":"?:",
|
|
"args":[
|
|
{
|
|
"op":"∨",
|
|
"left":{
|
|
"op":">",
|
|
"left":"w12",
|
|
"right":0
|
|
},
|
|
"right":{
|
|
"op":">",
|
|
"left":"w21",
|
|
"right":0
|
|
}
|
|
},
|
|
1,
|
|
0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_req12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":6
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":6
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_idle12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":6
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":1
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":6
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"y1",
|
|
"right":"delay"
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"y1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"y1",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"y2",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"observables":[
|
|
{
|
|
"ref":"\"time\"",
|
|
"value":1
|
|
},
|
|
{
|
|
"ref":"\"time_sending\"",
|
|
"value":{
|
|
"op":"?:",
|
|
"args":[
|
|
{
|
|
"op":"∨",
|
|
"left":{
|
|
"op":">",
|
|
"left":"w12",
|
|
"right":0
|
|
},
|
|
"right":{
|
|
"op":">",
|
|
"left":"w21",
|
|
"right":0
|
|
}
|
|
},
|
|
1,
|
|
0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_req12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":7
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":7
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_ack12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":7
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":1
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":7
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"y1",
|
|
"right":"delay"
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"y1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"y1",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"y2",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"observables":[
|
|
{
|
|
"ref":"\"time\"",
|
|
"value":1
|
|
},
|
|
{
|
|
"ref":"\"time_sending\"",
|
|
"value":{
|
|
"op":"?:",
|
|
"args":[
|
|
{
|
|
"op":"∨",
|
|
"left":{
|
|
"op":">",
|
|
"left":"w12",
|
|
"right":0
|
|
},
|
|
"right":{
|
|
"op":">",
|
|
"left":"w21",
|
|
"right":0
|
|
}
|
|
},
|
|
1,
|
|
0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_idle12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":8
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":8
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_req12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":8
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":5
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":8
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"y1",
|
|
"right":"delay"
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"y1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"y1",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"y2",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"observables":[
|
|
{
|
|
"ref":"\"time\"",
|
|
"value":1
|
|
},
|
|
{
|
|
"ref":"\"time_sending\"",
|
|
"value":{
|
|
"op":"?:",
|
|
"args":[
|
|
{
|
|
"op":"∨",
|
|
"left":{
|
|
"op":">",
|
|
"left":"w12",
|
|
"right":0
|
|
},
|
|
"right":{
|
|
"op":">",
|
|
"left":"w21",
|
|
"right":0
|
|
}
|
|
},
|
|
1,
|
|
0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_ack12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":9
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":9
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_idle12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":9
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w12",
|
|
"value":3
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w12",
|
|
"right":9
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"y1",
|
|
"right":"delay"
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"y1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"y1",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref":"y2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"y2",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"observables":[
|
|
{
|
|
"ref":"\"time\"",
|
|
"value":1
|
|
},
|
|
{
|
|
"ref":"\"time_sending\"",
|
|
"value":{
|
|
"op":"?:",
|
|
"args":[
|
|
{
|
|
"op":"∨",
|
|
"left":{
|
|
"op":">",
|
|
"left":"w12",
|
|
"right":0
|
|
},
|
|
"right":{
|
|
"op":">",
|
|
"left":"w21",
|
|
"right":0
|
|
}
|
|
},
|
|
1,
|
|
0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name":"node1",
|
|
"locations":[
|
|
{
|
|
"name":"location"
|
|
}
|
|
],
|
|
"initial-locations":[
|
|
"location"
|
|
],
|
|
"edges":[
|
|
{
|
|
"location":"location",
|
|
"action":"snd_idle12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":0
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":"fast"
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":2
|
|
},
|
|
{
|
|
"ref":"x1",
|
|
"value":0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"probability":{
|
|
"exp":{
|
|
"op":"-",
|
|
"left":1,
|
|
"right":"fast"
|
|
}
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":3
|
|
},
|
|
{
|
|
"ref":"x1",
|
|
"value":0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_idle21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":0
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":1
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_idle12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":1
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":"fast"
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":4
|
|
},
|
|
{
|
|
"ref":"x1",
|
|
"value":0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"probability":{
|
|
"exp":{
|
|
"op":"-",
|
|
"left":1,
|
|
"right":"fast"
|
|
}
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":5
|
|
},
|
|
{
|
|
"ref":"x1",
|
|
"value":0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_req21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":1
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_idle21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":2
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":4
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_ack12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":2
|
|
},
|
|
"right":{
|
|
"op":"≥",
|
|
"left":"x1",
|
|
"right":76
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":7
|
|
},
|
|
{
|
|
"ref":"x1",
|
|
"value":0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":2
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"x1",
|
|
"right":85
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"x1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"x1",
|
|
"right":1
|
|
},
|
|
"right":168
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_idle21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":3
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":5
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_ack12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":3
|
|
},
|
|
"right":{
|
|
"op":"≥",
|
|
"left":"x1",
|
|
"right":159
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":7
|
|
},
|
|
{
|
|
"ref":"x1",
|
|
"value":0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":3
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"x1",
|
|
"right":167
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"x1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"x1",
|
|
"right":1
|
|
},
|
|
"right":168
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_req21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":4
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":2
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_req12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":4
|
|
},
|
|
"right":{
|
|
"op":"≥",
|
|
"left":"x1",
|
|
"right":76
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":6
|
|
},
|
|
{
|
|
"ref":"x1",
|
|
"value":0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":4
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"x1",
|
|
"right":85
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"x1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"x1",
|
|
"right":1
|
|
},
|
|
"right":168
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_req21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":5
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":3
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_req12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":5
|
|
},
|
|
"right":{
|
|
"op":"≥",
|
|
"left":"x1",
|
|
"right":159
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":6
|
|
},
|
|
{
|
|
"ref":"x1",
|
|
"value":0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":5
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"x1",
|
|
"right":167
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"x1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"x1",
|
|
"right":1
|
|
},
|
|
"right":168
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_req21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":6
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_ack21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":6
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":8
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":6
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":"s1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"tau__",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":7
|
|
},
|
|
"right":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":8
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":"s1"
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"tau__",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":8
|
|
},
|
|
"right":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":7
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":"s1"
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":7
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":"s1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":8
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s1",
|
|
"value":"s1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name":"wire21",
|
|
"locations":[
|
|
{
|
|
"name":"location"
|
|
}
|
|
],
|
|
"initial-locations":[
|
|
"location"
|
|
],
|
|
"edges":[
|
|
{
|
|
"location":"location",
|
|
"action":"snd_req21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":0
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":1
|
|
},
|
|
{
|
|
"ref":"z1",
|
|
"value":0
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_ack21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":0
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":3
|
|
},
|
|
{
|
|
"ref":"z1",
|
|
"value":0
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_idle21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":0
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":5
|
|
},
|
|
{
|
|
"ref":"z1",
|
|
"value":0
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":0
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":"w21"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_req21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":1
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":1
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_req21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":1
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":0
|
|
},
|
|
{
|
|
"ref":"z1",
|
|
"value":0
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_ack21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":1
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":2
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_idle21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":1
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":8
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"z2",
|
|
"right":"delay"
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"z1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"z1",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"z2",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_ack21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":2
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":2
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_req21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":2
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":3
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":2
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"z1",
|
|
"right":"delay"
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"z1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"z1",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"z2",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_ack21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":3
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":3
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_ack21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":3
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":0
|
|
},
|
|
{
|
|
"ref":"z1",
|
|
"value":0
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_idle21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":3
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":4
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_req21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":3
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":7
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":3
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"z2",
|
|
"right":"delay"
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"z1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"z1",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"z2",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_idle21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":4
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":4
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_ack21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":4
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":5
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":4
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"z1",
|
|
"right":"delay"
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"z1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"z1",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"z2",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_idle21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":5
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":5
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_idle21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":5
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":0
|
|
},
|
|
{
|
|
"ref":"z1",
|
|
"value":0
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_req21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":5
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":6
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_ack21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":5
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":9
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":0
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":5
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"z2",
|
|
"right":"delay"
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"z1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"z1",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"z2",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_req21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":6
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":6
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_idle21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":6
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":1
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":6
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"z1",
|
|
"right":"delay"
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"z1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"z1",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"z2",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_req21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":7
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":7
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_ack21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":7
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":1
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":7
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"z1",
|
|
"right":"delay"
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"z1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"z1",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"z2",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_idle21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":8
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":8
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_req21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":8
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":5
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":8
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"z1",
|
|
"right":"delay"
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"z1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"z1",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"z2",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_ack21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":9
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":9
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_idle21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":9
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"w21",
|
|
"value":3
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"w21",
|
|
"right":9
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"z1",
|
|
"right":"delay"
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"z1",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"z1",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref":"z2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"z2",
|
|
"right":1
|
|
},
|
|
"right":{
|
|
"op":"+",
|
|
"left":"delay",
|
|
"right":1
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name":"node2",
|
|
"locations":[
|
|
{
|
|
"name":"location"
|
|
}
|
|
],
|
|
"initial-locations":[
|
|
"location"
|
|
],
|
|
"edges":[
|
|
{
|
|
"location":"location",
|
|
"action":"snd_idle21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":0
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":"fast"
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":2
|
|
},
|
|
{
|
|
"ref":"x2",
|
|
"value":0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"probability":{
|
|
"exp":{
|
|
"op":"-",
|
|
"left":1,
|
|
"right":"fast"
|
|
}
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":3
|
|
},
|
|
{
|
|
"ref":"x2",
|
|
"value":0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_idle12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":0
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":1
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_idle21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":1
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":"fast"
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":4
|
|
},
|
|
{
|
|
"ref":"x2",
|
|
"value":0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"probability":{
|
|
"exp":{
|
|
"op":"-",
|
|
"left":1,
|
|
"right":"fast"
|
|
}
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":5
|
|
},
|
|
{
|
|
"ref":"x2",
|
|
"value":0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_req12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":1
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_idle12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":2
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":4
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_ack21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":2
|
|
},
|
|
"right":{
|
|
"op":"≥",
|
|
"left":"x2",
|
|
"right":76
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":7
|
|
},
|
|
{
|
|
"ref":"x2",
|
|
"value":0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":2
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"x2",
|
|
"right":85
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"x2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"x2",
|
|
"right":1
|
|
},
|
|
"right":168
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_idle12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":3
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":5
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_ack21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":3
|
|
},
|
|
"right":{
|
|
"op":"≥",
|
|
"left":"x2",
|
|
"right":159
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":7
|
|
},
|
|
{
|
|
"ref":"x2",
|
|
"value":0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":3
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"x2",
|
|
"right":167
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"x2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"x2",
|
|
"right":1
|
|
},
|
|
"right":168
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_req12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":4
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":2
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_req21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":4
|
|
},
|
|
"right":{
|
|
"op":"≥",
|
|
"left":"x2",
|
|
"right":76
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":6
|
|
},
|
|
{
|
|
"ref":"x2",
|
|
"value":0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":4
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"x2",
|
|
"right":85
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"x2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"x2",
|
|
"right":1
|
|
},
|
|
"right":168
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_req12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":5
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":3
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"snd_req21",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":5
|
|
},
|
|
"right":{
|
|
"op":"≥",
|
|
"left":"x2",
|
|
"right":159
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":6
|
|
},
|
|
{
|
|
"ref":"x2",
|
|
"value":0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":5
|
|
},
|
|
"right":{
|
|
"op":"<",
|
|
"left":"x2",
|
|
"right":167
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"x2",
|
|
"value":{
|
|
"op":"min",
|
|
"left":{
|
|
"op":"+",
|
|
"left":"x2",
|
|
"right":1
|
|
},
|
|
"right":168
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_req12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":6
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"rec_ack12",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":6
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":8
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":6
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":"s2"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"tau__",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":7
|
|
},
|
|
"right":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":8
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":"s2"
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"tau__",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"∧",
|
|
"left":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":8
|
|
},
|
|
"right":{
|
|
"op":"=",
|
|
"left":"s1",
|
|
"right":7
|
|
}
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":"s2"
|
|
}
|
|
],
|
|
"observables":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":7
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":"s2"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"location":"location",
|
|
"action":"time",
|
|
"guard":{
|
|
"exp":{
|
|
"op":"=",
|
|
"left":"s2",
|
|
"right":8
|
|
}
|
|
},
|
|
"destinations":[
|
|
{
|
|
"probability":{
|
|
"exp":1
|
|
},
|
|
"location":"location",
|
|
"assignments":[
|
|
{
|
|
"ref":"s2",
|
|
"value":"s2"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"system":{
|
|
"elements":[
|
|
{
|
|
"automaton":"wire12"
|
|
},
|
|
{
|
|
"automaton":"node1"
|
|
},
|
|
{
|
|
"automaton":"wire21"
|
|
},
|
|
{
|
|
"automaton":"node2"
|
|
}
|
|
],
|
|
"syncs":[
|
|
{
|
|
"synchronise":[
|
|
"time",
|
|
"time",
|
|
"time",
|
|
"time"
|
|
],
|
|
"result":"time"
|
|
},
|
|
{
|
|
"synchronise":[
|
|
"rec_req12",
|
|
null,
|
|
null,
|
|
"rec_req12"
|
|
],
|
|
"result":"rec_req12"
|
|
},
|
|
{
|
|
"synchronise":[
|
|
"rec_ack12",
|
|
null,
|
|
null,
|
|
"rec_ack12"
|
|
],
|
|
"result":"rec_ack12"
|
|
},
|
|
{
|
|
"synchronise":[
|
|
"rec_idle12",
|
|
null,
|
|
null,
|
|
"rec_idle12"
|
|
],
|
|
"result":"rec_idle12"
|
|
},
|
|
{
|
|
"synchronise":[
|
|
null,
|
|
null,
|
|
"snd_req21",
|
|
"snd_req21"
|
|
],
|
|
"result":"snd_req21"
|
|
},
|
|
{
|
|
"synchronise":[
|
|
null,
|
|
null,
|
|
"snd_ack21",
|
|
"snd_ack21"
|
|
],
|
|
"result":"snd_ack21"
|
|
},
|
|
{
|
|
"synchronise":[
|
|
null,
|
|
null,
|
|
"snd_idle21",
|
|
"snd_idle21"
|
|
],
|
|
"result":"snd_idle21"
|
|
},
|
|
{
|
|
"synchronise":[
|
|
null,
|
|
"rec_idle21",
|
|
"rec_idle21",
|
|
null
|
|
],
|
|
"result":"rec_idle21"
|
|
},
|
|
{
|
|
"synchronise":[
|
|
null,
|
|
"rec_req21",
|
|
"rec_req21",
|
|
null
|
|
],
|
|
"result":"rec_req21"
|
|
},
|
|
{
|
|
"synchronise":[
|
|
null,
|
|
"rec_ack21",
|
|
"rec_ack21",
|
|
null
|
|
],
|
|
"result":"rec_ack21"
|
|
},
|
|
{
|
|
"synchronise":[
|
|
"snd_req12",
|
|
"snd_req12",
|
|
null,
|
|
null
|
|
],
|
|
"result":"snd_req12"
|
|
},
|
|
{
|
|
"synchronise":[
|
|
"snd_ack12",
|
|
"snd_ack12",
|
|
null,
|
|
null
|
|
],
|
|
"result":"snd_ack12"
|
|
},
|
|
{
|
|
"synchronise":[
|
|
"snd_idle12",
|
|
"snd_idle12",
|
|
null,
|
|
null
|
|
],
|
|
"result":"snd_idle12"
|
|
},
|
|
{
|
|
"synchronise":[
|
|
null,
|
|
"tau__",
|
|
null,
|
|
null
|
|
],
|
|
"result":"tau__"
|
|
},
|
|
{
|
|
"synchronise":[
|
|
null,
|
|
null,
|
|
null,
|
|
"tau__"
|
|
],
|
|
"result":"tau__"
|
|
}
|
|
]
|
|
}
|
|
}
|