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.

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