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.
		
		
		
		
		
			
		
			
				
					
					
						
							524 lines
						
					
					
						
							16 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							524 lines
						
					
					
						
							16 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
							 | 
						|
								            }
							 | 
						|
								        },
							 | 
						|
								        {
							 | 
						|
								            "name":"x4",
							 | 
						|
								            "type":{
							 | 
						|
								                "kind":"bounded",
							 | 
						|
								                "base":"int",
							 | 
						|
								                "lower-bound":0,
							 | 
						|
								                "upper-bound":1
							 | 
						|
								            }
							 | 
						|
								        },
							 | 
						|
								        {
							 | 
						|
								            "name":"x5",
							 | 
						|
								            "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":"x5"
							 | 
						|
								                        }
							 | 
						|
								                    },
							 | 
						|
								                    "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":"x5"
							 | 
						|
								                            }
							 | 
						|
								                        }
							 | 
						|
								                    },
							 | 
						|
								                    "destinations":[
							 | 
						|
								                        {
							 | 
						|
								                            "probability":{
							 | 
						|
								                                "exp":1
							 | 
						|
								                            },
							 | 
						|
								                            "location":"location",
							 | 
						|
								                            "assignments":[
							 | 
						|
								                                {
							 | 
						|
								                                    "ref":"x1",
							 | 
						|
								                                    "value":"x5"
							 | 
						|
								                                }
							 | 
						|
								                            ],
							 | 
						|
								                            "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"
							 | 
						|
								                                }
							 | 
						|
								                            ]
							 | 
						|
								                        }
							 | 
						|
								                    ]
							 | 
						|
								                }
							 | 
						|
								            ]
							 | 
						|
								        },
							 | 
						|
								        {
							 | 
						|
								            "name":"process4",
							 | 
						|
								            "locations":[
							 | 
						|
								                {
							 | 
						|
								                    "name":"location"
							 | 
						|
								                }
							 | 
						|
								            ],
							 | 
						|
								            "initial-locations":[
							 | 
						|
								                "location"
							 | 
						|
								            ],
							 | 
						|
								            "edges":[
							 | 
						|
								                {
							 | 
						|
								                    "location":"location",
							 | 
						|
								                    "action":"step",
							 | 
						|
								                    "guard":{
							 | 
						|
								                        "exp":{
							 | 
						|
								                            "op":"=",
							 | 
						|
								                            "left":"x4",
							 | 
						|
								                            "right":"x3"
							 | 
						|
								                        }
							 | 
						|
								                    },
							 | 
						|
								                    "destinations":[
							 | 
						|
								                        {
							 | 
						|
								                            "probability":{
							 | 
						|
								                                "exp":0.5000000
							 | 
						|
								                            },
							 | 
						|
								                            "location":"location",
							 | 
						|
								                            "assignments":[
							 | 
						|
								                                {
							 | 
						|
								                                    "ref":"x4",
							 | 
						|
								                                    "value":0
							 | 
						|
								                                }
							 | 
						|
								                            ]
							 | 
						|
								                        },
							 | 
						|
								                        {
							 | 
						|
								                            "probability":{
							 | 
						|
								                                "exp":{
							 | 
						|
								                                    "op":"-",
							 | 
						|
								                                    "left":1,
							 | 
						|
								                                    "right":0.5000000
							 | 
						|
								                                }
							 | 
						|
								                            },
							 | 
						|
								                            "location":"location",
							 | 
						|
								                            "assignments":[
							 | 
						|
								                                {
							 | 
						|
								                                    "ref":"x4",
							 | 
						|
								                                    "value":1
							 | 
						|
								                                }
							 | 
						|
								                            ]
							 | 
						|
								                        }
							 | 
						|
								                    ]
							 | 
						|
								                },
							 | 
						|
								                {
							 | 
						|
								                    "location":"location",
							 | 
						|
								                    "action":"step",
							 | 
						|
								                    "guard":{
							 | 
						|
								                        "exp":{
							 | 
						|
								                            "op":"¬",
							 | 
						|
								                            "exp":{
							 | 
						|
								                                "op":"=",
							 | 
						|
								                                "left":"x4",
							 | 
						|
								                                "right":"x3"
							 | 
						|
								                            }
							 | 
						|
								                        }
							 | 
						|
								                    },
							 | 
						|
								                    "destinations":[
							 | 
						|
								                        {
							 | 
						|
								                            "probability":{
							 | 
						|
								                                "exp":1
							 | 
						|
								                            },
							 | 
						|
								                            "location":"location",
							 | 
						|
								                            "assignments":[
							 | 
						|
								                                {
							 | 
						|
								                                    "ref":"x4",
							 | 
						|
								                                    "value":"x3"
							 | 
						|
								                                }
							 | 
						|
								                            ]
							 | 
						|
								                        }
							 | 
						|
								                    ]
							 | 
						|
								                }
							 | 
						|
								            ]
							 | 
						|
								        },
							 | 
						|
								        {
							 | 
						|
								            "name":"process5",
							 | 
						|
								            "locations":[
							 | 
						|
								                {
							 | 
						|
								                    "name":"location"
							 | 
						|
								                }
							 | 
						|
								            ],
							 | 
						|
								            "initial-locations":[
							 | 
						|
								                "location"
							 | 
						|
								            ],
							 | 
						|
								            "edges":[
							 | 
						|
								                {
							 | 
						|
								                    "location":"location",
							 | 
						|
								                    "action":"step",
							 | 
						|
								                    "guard":{
							 | 
						|
								                        "exp":{
							 | 
						|
								                            "op":"=",
							 | 
						|
								                            "left":"x5",
							 | 
						|
								                            "right":"x4"
							 | 
						|
								                        }
							 | 
						|
								                    },
							 | 
						|
								                    "destinations":[
							 | 
						|
								                        {
							 | 
						|
								                            "probability":{
							 | 
						|
								                                "exp":0.5000000
							 | 
						|
								                            },
							 | 
						|
								                            "location":"location",
							 | 
						|
								                            "assignments":[
							 | 
						|
								                                {
							 | 
						|
								                                    "ref":"x5",
							 | 
						|
								                                    "value":0
							 | 
						|
								                                }
							 | 
						|
								                            ]
							 | 
						|
								                        },
							 | 
						|
								                        {
							 | 
						|
								                            "probability":{
							 | 
						|
								                                "exp":{
							 | 
						|
								                                    "op":"-",
							 | 
						|
								                                    "left":1,
							 | 
						|
								                                    "right":0.5000000
							 | 
						|
								                                }
							 | 
						|
								                            },
							 | 
						|
								                            "location":"location",
							 | 
						|
								                            "assignments":[
							 | 
						|
								                                {
							 | 
						|
								                                    "ref":"x5",
							 | 
						|
								                                    "value":1
							 | 
						|
								                                }
							 | 
						|
								                            ]
							 | 
						|
								                        }
							 | 
						|
								                    ]
							 | 
						|
								                },
							 | 
						|
								                {
							 | 
						|
								                    "location":"location",
							 | 
						|
								                    "action":"step",
							 | 
						|
								                    "guard":{
							 | 
						|
								                        "exp":{
							 | 
						|
								                            "op":"¬",
							 | 
						|
								                            "exp":{
							 | 
						|
								                                "op":"=",
							 | 
						|
								                                "left":"x5",
							 | 
						|
								                                "right":"x4"
							 | 
						|
								                            }
							 | 
						|
								                        }
							 | 
						|
								                    },
							 | 
						|
								                    "destinations":[
							 | 
						|
								                        {
							 | 
						|
								                            "probability":{
							 | 
						|
								                                "exp":1
							 | 
						|
								                            },
							 | 
						|
								                            "location":"location",
							 | 
						|
								                            "assignments":[
							 | 
						|
								                                {
							 | 
						|
								                                    "ref":"x5",
							 | 
						|
								                                    "value":"x4"
							 | 
						|
								                                }
							 | 
						|
								                            ]
							 | 
						|
								                        }
							 | 
						|
								                    ]
							 | 
						|
								                }
							 | 
						|
								            ]
							 | 
						|
								        }
							 | 
						|
								    ],
							 | 
						|
								    "system":{
							 | 
						|
								        "elements":[
							 | 
						|
								            {
							 | 
						|
								                "automaton":"process1"
							 | 
						|
								            },
							 | 
						|
								            {
							 | 
						|
								                "automaton":"process2"
							 | 
						|
								            },
							 | 
						|
								            {
							 | 
						|
								                "automaton":"process3"
							 | 
						|
								            },
							 | 
						|
								            {
							 | 
						|
								                "automaton":"process4"
							 | 
						|
								            },
							 | 
						|
								            {
							 | 
						|
								                "automaton":"process5"
							 | 
						|
								            }
							 | 
						|
								        ],
							 | 
						|
								        "syncs":[
							 | 
						|
								            {
							 | 
						|
								                "synchronise":[
							 | 
						|
								                    "step",
							 | 
						|
								                    "step",
							 | 
						|
								                    "step",
							 | 
						|
								                    "step",
							 | 
						|
								                    "step"
							 | 
						|
								                ],
							 | 
						|
								                "result":"step"
							 | 
						|
								            }
							 | 
						|
								        ]
							 | 
						|
								    }
							 | 
						|
								}
							 |