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.

296 lines
8.4 KiB

  1. {
  2. "jani-version":1,
  3. "features":[
  4. "derived-operators"
  5. ],
  6. "name":"Converted from PRISM by IscasMC",
  7. "type":"mdp",
  8. "actions":[
  9. {
  10. "name":"tau__"
  11. }
  12. ],
  13. "variables":[
  14. {
  15. "name":"q1",
  16. "type":{
  17. "kind":"bounded",
  18. "base":"int",
  19. "lower-bound":0,
  20. "upper-bound":1
  21. }
  22. },
  23. {
  24. "name":"q2",
  25. "type":{
  26. "kind":"bounded",
  27. "base":"int",
  28. "lower-bound":0,
  29. "upper-bound":1
  30. }
  31. },
  32. {
  33. "name":"q3",
  34. "type":{
  35. "kind":"bounded",
  36. "base":"int",
  37. "lower-bound":0,
  38. "upper-bound":1
  39. }
  40. }
  41. ],
  42. "observables":[
  43. {
  44. "name":"\"steps\""
  45. }
  46. ],
  47. "initial-states":{
  48. "exp":{
  49. "op":"≥",
  50. "left":{
  51. "op":"+",
  52. "left":{
  53. "op":"+",
  54. "left":"q1",
  55. "right":"q2"
  56. },
  57. "right":"q3"
  58. },
  59. "right":1
  60. }
  61. },
  62. "automata":[
  63. {
  64. "name":"process1",
  65. "locations":[
  66. {
  67. "name":"location",
  68. "observables":[
  69. {
  70. "ref":"\"steps\"",
  71. "value":1
  72. }
  73. ]
  74. }
  75. ],
  76. "initial-locations":[
  77. "location"
  78. ],
  79. "edges":[
  80. {
  81. "location":"location",
  82. "action":"tau__",
  83. "guard":{
  84. "exp":{
  85. "op":"=",
  86. "left":"q1",
  87. "right":1
  88. }
  89. },
  90. "destinations":[
  91. {
  92. "probability":{
  93. "exp":0.5000000
  94. },
  95. "location":"location",
  96. "assignments":[
  97. {
  98. "ref":"q1",
  99. "value":0
  100. },
  101. {
  102. "ref":"q3",
  103. "value":1
  104. }
  105. ],
  106. "observables":[
  107. ]
  108. },
  109. {
  110. "probability":{
  111. "exp":0.5000000
  112. },
  113. "location":"location",
  114. "assignments":[
  115. {
  116. "ref":"q1",
  117. "value":0
  118. },
  119. {
  120. "ref":"q2",
  121. "value":1
  122. }
  123. ],
  124. "observables":[
  125. ]
  126. }
  127. ]
  128. }
  129. ]
  130. },
  131. {
  132. "name":"process2",
  133. "locations":[
  134. {
  135. "name":"location"
  136. }
  137. ],
  138. "initial-locations":[
  139. "location"
  140. ],
  141. "edges":[
  142. {
  143. "location":"location",
  144. "action":"tau__",
  145. "guard":{
  146. "exp":{
  147. "op":"=",
  148. "left":"q2",
  149. "right":1
  150. }
  151. },
  152. "destinations":[
  153. {
  154. "probability":{
  155. "exp":0.5000000
  156. },
  157. "location":"location",
  158. "assignments":[
  159. {
  160. "ref":"q2",
  161. "value":0
  162. },
  163. {
  164. "ref":"q1",
  165. "value":1
  166. }
  167. ],
  168. "observables":[
  169. ]
  170. },
  171. {
  172. "probability":{
  173. "exp":0.5000000
  174. },
  175. "location":"location",
  176. "assignments":[
  177. {
  178. "ref":"q2",
  179. "value":0
  180. },
  181. {
  182. "ref":"q3",
  183. "value":1
  184. }
  185. ],
  186. "observables":[
  187. ]
  188. }
  189. ]
  190. }
  191. ]
  192. },
  193. {
  194. "name":"process3",
  195. "locations":[
  196. {
  197. "name":"location"
  198. }
  199. ],
  200. "initial-locations":[
  201. "location"
  202. ],
  203. "edges":[
  204. {
  205. "location":"location",
  206. "action":"tau__",
  207. "guard":{
  208. "exp":{
  209. "op":"=",
  210. "left":"q3",
  211. "right":1
  212. }
  213. },
  214. "destinations":[
  215. {
  216. "probability":{
  217. "exp":0.5000000
  218. },
  219. "location":"location",
  220. "assignments":[
  221. {
  222. "ref":"q3",
  223. "value":0
  224. },
  225. {
  226. "ref":"q2",
  227. "value":1
  228. }
  229. ],
  230. "observables":[
  231. ]
  232. },
  233. {
  234. "probability":{
  235. "exp":0.5000000
  236. },
  237. "location":"location",
  238. "assignments":[
  239. {
  240. "ref":"q3",
  241. "value":0
  242. },
  243. {
  244. "ref":"q1",
  245. "value":1
  246. }
  247. ],
  248. "observables":[
  249. ]
  250. }
  251. ]
  252. }
  253. ]
  254. }
  255. ],
  256. "system":{
  257. "elements":[
  258. {
  259. "automaton":"process1"
  260. },
  261. {
  262. "automaton":"process2"
  263. },
  264. {
  265. "automaton":"process3"
  266. }
  267. ],
  268. "syncs":[
  269. {
  270. "synchronise":[
  271. "tau__",
  272. null,
  273. null
  274. ],
  275. "result":"tau__"
  276. },
  277. {
  278. "synchronise":[
  279. null,
  280. "tau__",
  281. null
  282. ],
  283. "result":"tau__"
  284. },
  285. {
  286. "synchronise":[
  287. null,
  288. null,
  289. "tau__"
  290. ],
  291. "result":"tau__"
  292. }
  293. ]
  294. }
  295. }