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.
 
 
 
 

334 lines
10 KiB

{
"jani-version":1,
"features":[
"derived-operators"
],
"name":"Converted from PRISM by IscasMC",
"type":"dtmc",
"actions":[
{
"name":"step"
}
],
"variables":[
{
"name":"x1",
"type":{
"kind":"bounded",
"base":"int",
"lower-bound":0,
"upper-bound":1
}
},
{
"name":"x2",
"type":{
"kind":"bounded",
"base":"int",
"lower-bound":0,
"upper-bound":1
}
},
{
"name":"x3",
"type":{
"kind":"bounded",
"base":"int",
"lower-bound":0,
"upper-bound":1
}
}
],
"observables":[
{
"name":"\"steps\""
}
],
"initial-states":{
"exp":true
},
"automata":[
{
"name":"process1",
"locations":[
{
"name":"location",
"observables":[
{
"ref":"\"steps\"",
"value":1
}
]
}
],
"initial-locations":[
"location"
],
"edges":[
{
"location":"location",
"action":"step",
"guard":{
"exp":{
"op":"=",
"left":"x1",
"right":"x3"
}
},
"destinations":[
{
"probability":{
"exp":0.5000000
},
"location":"location",
"assignments":[
{
"ref":"x1",
"value":0
}
],
"observables":[
]
},
{
"probability":{
"exp":{
"op":"-",
"left":1,
"right":0.5000000
}
},
"location":"location",
"assignments":[
{
"ref":"x1",
"value":1
}
],
"observables":[
]
}
]
},
{
"location":"location",
"action":"step",
"guard":{
"exp":{
"op":"¬",
"exp":{
"op":"=",
"left":"x1",
"right":"x3"
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x1",
"value":"x3"
}
],
"observables":[
]
}
]
}
]
},
{
"name":"process2",
"locations":[
{
"name":"location"
}
],
"initial-locations":[
"location"
],
"edges":[
{
"location":"location",
"action":"step",
"guard":{
"exp":{
"op":"=",
"left":"x2",
"right":"x1"
}
},
"destinations":[
{
"probability":{
"exp":0.5000000
},
"location":"location",
"assignments":[
{
"ref":"x2",
"value":0
}
]
},
{
"probability":{
"exp":{
"op":"-",
"left":1,
"right":0.5000000
}
},
"location":"location",
"assignments":[
{
"ref":"x2",
"value":1
}
]
}
]
},
{
"location":"location",
"action":"step",
"guard":{
"exp":{
"op":"¬",
"exp":{
"op":"=",
"left":"x2",
"right":"x1"
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x2",
"value":"x1"
}
]
}
]
}
]
},
{
"name":"process3",
"locations":[
{
"name":"location"
}
],
"initial-locations":[
"location"
],
"edges":[
{
"location":"location",
"action":"step",
"guard":{
"exp":{
"op":"=",
"left":"x3",
"right":"x2"
}
},
"destinations":[
{
"probability":{
"exp":0.5000000
},
"location":"location",
"assignments":[
{
"ref":"x3",
"value":0
}
]
},
{
"probability":{
"exp":{
"op":"-",
"left":1,
"right":0.5000000
}
},
"location":"location",
"assignments":[
{
"ref":"x3",
"value":1
}
]
}
]
},
{
"location":"location",
"action":"step",
"guard":{
"exp":{
"op":"¬",
"exp":{
"op":"=",
"left":"x3",
"right":"x2"
}
}
},
"destinations":[
{
"probability":{
"exp":1
},
"location":"location",
"assignments":[
{
"ref":"x3",
"value":"x2"
}
]
}
]
}
]
}
],
"system":{
"elements":[
{
"automaton":"process1"
},
{
"automaton":"process2"
},
{
"automaton":"process3"
}
],
"syncs":[
{
"synchronise":[
"step",
"step",
"step"
],
"result":"step"
}
]
}
}