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.

329 lines
10 KiB

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