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.

478 lines
14 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. "name":"q4",
  43. "type":{
  44. "kind":"bounded",
  45. "base":"int",
  46. "lower-bound":0,
  47. "upper-bound":1
  48. }
  49. },
  50. {
  51. "name":"q5",
  52. "type":{
  53. "kind":"bounded",
  54. "base":"int",
  55. "lower-bound":0,
  56. "upper-bound":1
  57. }
  58. }
  59. ],
  60. "observables":[
  61. {
  62. "name":"\"steps\""
  63. }
  64. ],
  65. "initial-states":{
  66. "exp":{
  67. "op":"≥",
  68. "left":{
  69. "op":"+",
  70. "left":{
  71. "op":"+",
  72. "left":{
  73. "op":"+",
  74. "left":{
  75. "op":"+",
  76. "left":"q1",
  77. "right":"q2"
  78. },
  79. "right":"q3"
  80. },
  81. "right":"q4"
  82. },
  83. "right":"q5"
  84. },
  85. "right":1
  86. }
  87. },
  88. "automata":[
  89. {
  90. "name":"process1",
  91. "locations":[
  92. {
  93. "name":"location",
  94. "observables":[
  95. {
  96. "ref":"\"steps\"",
  97. "value":1
  98. }
  99. ]
  100. }
  101. ],
  102. "initial-locations":[
  103. "location"
  104. ],
  105. "edges":[
  106. {
  107. "location":"location",
  108. "action":"tau__",
  109. "guard":{
  110. "exp":{
  111. "op":"=",
  112. "left":"q1",
  113. "right":1
  114. }
  115. },
  116. "destinations":[
  117. {
  118. "probability":{
  119. "exp":0.5000000
  120. },
  121. "location":"location",
  122. "assignments":[
  123. {
  124. "ref":"q1",
  125. "value":0
  126. },
  127. {
  128. "ref":"q5",
  129. "value":1
  130. }
  131. ],
  132. "observables":[
  133. ]
  134. },
  135. {
  136. "probability":{
  137. "exp":0.5000000
  138. },
  139. "location":"location",
  140. "assignments":[
  141. {
  142. "ref":"q1",
  143. "value":0
  144. },
  145. {
  146. "ref":"q2",
  147. "value":1
  148. }
  149. ],
  150. "observables":[
  151. ]
  152. }
  153. ]
  154. }
  155. ]
  156. },
  157. {
  158. "name":"process2",
  159. "locations":[
  160. {
  161. "name":"location"
  162. }
  163. ],
  164. "initial-locations":[
  165. "location"
  166. ],
  167. "edges":[
  168. {
  169. "location":"location",
  170. "action":"tau__",
  171. "guard":{
  172. "exp":{
  173. "op":"=",
  174. "left":"q2",
  175. "right":1
  176. }
  177. },
  178. "destinations":[
  179. {
  180. "probability":{
  181. "exp":0.5000000
  182. },
  183. "location":"location",
  184. "assignments":[
  185. {
  186. "ref":"q2",
  187. "value":0
  188. },
  189. {
  190. "ref":"q1",
  191. "value":1
  192. }
  193. ],
  194. "observables":[
  195. ]
  196. },
  197. {
  198. "probability":{
  199. "exp":0.5000000
  200. },
  201. "location":"location",
  202. "assignments":[
  203. {
  204. "ref":"q2",
  205. "value":0
  206. },
  207. {
  208. "ref":"q3",
  209. "value":1
  210. }
  211. ],
  212. "observables":[
  213. ]
  214. }
  215. ]
  216. }
  217. ]
  218. },
  219. {
  220. "name":"process3",
  221. "locations":[
  222. {
  223. "name":"location"
  224. }
  225. ],
  226. "initial-locations":[
  227. "location"
  228. ],
  229. "edges":[
  230. {
  231. "location":"location",
  232. "action":"tau__",
  233. "guard":{
  234. "exp":{
  235. "op":"=",
  236. "left":"q3",
  237. "right":1
  238. }
  239. },
  240. "destinations":[
  241. {
  242. "probability":{
  243. "exp":0.5000000
  244. },
  245. "location":"location",
  246. "assignments":[
  247. {
  248. "ref":"q3",
  249. "value":0
  250. },
  251. {
  252. "ref":"q2",
  253. "value":1
  254. }
  255. ],
  256. "observables":[
  257. ]
  258. },
  259. {
  260. "probability":{
  261. "exp":0.5000000
  262. },
  263. "location":"location",
  264. "assignments":[
  265. {
  266. "ref":"q3",
  267. "value":0
  268. },
  269. {
  270. "ref":"q4",
  271. "value":1
  272. }
  273. ],
  274. "observables":[
  275. ]
  276. }
  277. ]
  278. }
  279. ]
  280. },
  281. {
  282. "name":"process4",
  283. "locations":[
  284. {
  285. "name":"location"
  286. }
  287. ],
  288. "initial-locations":[
  289. "location"
  290. ],
  291. "edges":[
  292. {
  293. "location":"location",
  294. "action":"tau__",
  295. "guard":{
  296. "exp":{
  297. "op":"=",
  298. "left":"q4",
  299. "right":1
  300. }
  301. },
  302. "destinations":[
  303. {
  304. "probability":{
  305. "exp":0.5000000
  306. },
  307. "location":"location",
  308. "assignments":[
  309. {
  310. "ref":"q4",
  311. "value":0
  312. },
  313. {
  314. "ref":"q3",
  315. "value":1
  316. }
  317. ],
  318. "observables":[
  319. ]
  320. },
  321. {
  322. "probability":{
  323. "exp":0.5000000
  324. },
  325. "location":"location",
  326. "assignments":[
  327. {
  328. "ref":"q4",
  329. "value":0
  330. },
  331. {
  332. "ref":"q5",
  333. "value":1
  334. }
  335. ],
  336. "observables":[
  337. ]
  338. }
  339. ]
  340. }
  341. ]
  342. },
  343. {
  344. "name":"process5",
  345. "locations":[
  346. {
  347. "name":"location"
  348. }
  349. ],
  350. "initial-locations":[
  351. "location"
  352. ],
  353. "edges":[
  354. {
  355. "location":"location",
  356. "action":"tau__",
  357. "guard":{
  358. "exp":{
  359. "op":"=",
  360. "left":"q5",
  361. "right":1
  362. }
  363. },
  364. "destinations":[
  365. {
  366. "probability":{
  367. "exp":0.5000000
  368. },
  369. "location":"location",
  370. "assignments":[
  371. {
  372. "ref":"q5",
  373. "value":0
  374. },
  375. {
  376. "ref":"q4",
  377. "value":1
  378. }
  379. ],
  380. "observables":[
  381. ]
  382. },
  383. {
  384. "probability":{
  385. "exp":0.5000000
  386. },
  387. "location":"location",
  388. "assignments":[
  389. {
  390. "ref":"q5",
  391. "value":0
  392. },
  393. {
  394. "ref":"q1",
  395. "value":1
  396. }
  397. ],
  398. "observables":[
  399. ]
  400. }
  401. ]
  402. }
  403. ]
  404. }
  405. ],
  406. "system":{
  407. "elements":[
  408. {
  409. "automaton":"process1"
  410. },
  411. {
  412. "automaton":"process2"
  413. },
  414. {
  415. "automaton":"process3"
  416. },
  417. {
  418. "automaton":"process4"
  419. },
  420. {
  421. "automaton":"process5"
  422. }
  423. ],
  424. "syncs":[
  425. {
  426. "synchronise":[
  427. "tau__",
  428. null,
  429. null,
  430. null,
  431. null
  432. ],
  433. "result":"tau__"
  434. },
  435. {
  436. "synchronise":[
  437. null,
  438. "tau__",
  439. null,
  440. null,
  441. null
  442. ],
  443. "result":"tau__"
  444. },
  445. {
  446. "synchronise":[
  447. null,
  448. null,
  449. "tau__",
  450. null,
  451. null
  452. ],
  453. "result":"tau__"
  454. },
  455. {
  456. "synchronise":[
  457. null,
  458. null,
  459. null,
  460. "tau__",
  461. null
  462. ],
  463. "result":"tau__"
  464. },
  465. {
  466. "synchronise":[
  467. null,
  468. null,
  469. null,
  470. null,
  471. "tau__"
  472. ],
  473. "result":"tau__"
  474. }
  475. ]
  476. }
  477. }