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.

766 lines
23 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. "name":"q7",
  70. "type":{
  71. "kind":"bounded",
  72. "base":"int",
  73. "lower-bound":0,
  74. "upper-bound":1
  75. }
  76. },
  77. {
  78. "name":"q8",
  79. "type":{
  80. "kind":"bounded",
  81. "base":"int",
  82. "lower-bound":0,
  83. "upper-bound":1
  84. }
  85. }
  86. ],
  87. "observables":[
  88. {
  89. "name":"\"steps\""
  90. }
  91. ],
  92. "initial-states":{
  93. "exp":{
  94. "op":"≥",
  95. "left":{
  96. "op":"+",
  97. "left":{
  98. "op":"+",
  99. "left":{
  100. "op":"+",
  101. "left":{
  102. "op":"+",
  103. "left":{
  104. "op":"+",
  105. "left":{
  106. "op":"+",
  107. "left":{
  108. "op":"+",
  109. "left":"q1",
  110. "right":"q2"
  111. },
  112. "right":"q3"
  113. },
  114. "right":"q4"
  115. },
  116. "right":"q5"
  117. },
  118. "right":"q6"
  119. },
  120. "right":"q7"
  121. },
  122. "right":"q8"
  123. },
  124. "right":1
  125. }
  126. },
  127. "automata":[
  128. {
  129. "name":"process1",
  130. "locations":[
  131. {
  132. "name":"location",
  133. "observables":[
  134. {
  135. "ref":"\"steps\"",
  136. "value":1
  137. }
  138. ]
  139. }
  140. ],
  141. "initial-locations":[
  142. "location"
  143. ],
  144. "edges":[
  145. {
  146. "location":"location",
  147. "action":"tau__",
  148. "guard":{
  149. "exp":{
  150. "op":"=",
  151. "left":"q1",
  152. "right":1
  153. }
  154. },
  155. "destinations":[
  156. {
  157. "probability":{
  158. "exp":0.5000000
  159. },
  160. "location":"location",
  161. "assignments":[
  162. {
  163. "ref":"q1",
  164. "value":0
  165. },
  166. {
  167. "ref":"q8",
  168. "value":1
  169. }
  170. ],
  171. "observables":[
  172. ]
  173. },
  174. {
  175. "probability":{
  176. "exp":0.5000000
  177. },
  178. "location":"location",
  179. "assignments":[
  180. {
  181. "ref":"q1",
  182. "value":0
  183. },
  184. {
  185. "ref":"q2",
  186. "value":1
  187. }
  188. ],
  189. "observables":[
  190. ]
  191. }
  192. ]
  193. }
  194. ]
  195. },
  196. {
  197. "name":"process2",
  198. "locations":[
  199. {
  200. "name":"location"
  201. }
  202. ],
  203. "initial-locations":[
  204. "location"
  205. ],
  206. "edges":[
  207. {
  208. "location":"location",
  209. "action":"tau__",
  210. "guard":{
  211. "exp":{
  212. "op":"=",
  213. "left":"q2",
  214. "right":1
  215. }
  216. },
  217. "destinations":[
  218. {
  219. "probability":{
  220. "exp":0.5000000
  221. },
  222. "location":"location",
  223. "assignments":[
  224. {
  225. "ref":"q2",
  226. "value":0
  227. },
  228. {
  229. "ref":"q1",
  230. "value":1
  231. }
  232. ],
  233. "observables":[
  234. ]
  235. },
  236. {
  237. "probability":{
  238. "exp":0.5000000
  239. },
  240. "location":"location",
  241. "assignments":[
  242. {
  243. "ref":"q2",
  244. "value":0
  245. },
  246. {
  247. "ref":"q3",
  248. "value":1
  249. }
  250. ],
  251. "observables":[
  252. ]
  253. }
  254. ]
  255. }
  256. ]
  257. },
  258. {
  259. "name":"process3",
  260. "locations":[
  261. {
  262. "name":"location"
  263. }
  264. ],
  265. "initial-locations":[
  266. "location"
  267. ],
  268. "edges":[
  269. {
  270. "location":"location",
  271. "action":"tau__",
  272. "guard":{
  273. "exp":{
  274. "op":"=",
  275. "left":"q3",
  276. "right":1
  277. }
  278. },
  279. "destinations":[
  280. {
  281. "probability":{
  282. "exp":0.5000000
  283. },
  284. "location":"location",
  285. "assignments":[
  286. {
  287. "ref":"q3",
  288. "value":0
  289. },
  290. {
  291. "ref":"q2",
  292. "value":1
  293. }
  294. ],
  295. "observables":[
  296. ]
  297. },
  298. {
  299. "probability":{
  300. "exp":0.5000000
  301. },
  302. "location":"location",
  303. "assignments":[
  304. {
  305. "ref":"q3",
  306. "value":0
  307. },
  308. {
  309. "ref":"q4",
  310. "value":1
  311. }
  312. ],
  313. "observables":[
  314. ]
  315. }
  316. ]
  317. }
  318. ]
  319. },
  320. {
  321. "name":"process4",
  322. "locations":[
  323. {
  324. "name":"location"
  325. }
  326. ],
  327. "initial-locations":[
  328. "location"
  329. ],
  330. "edges":[
  331. {
  332. "location":"location",
  333. "action":"tau__",
  334. "guard":{
  335. "exp":{
  336. "op":"=",
  337. "left":"q4",
  338. "right":1
  339. }
  340. },
  341. "destinations":[
  342. {
  343. "probability":{
  344. "exp":0.5000000
  345. },
  346. "location":"location",
  347. "assignments":[
  348. {
  349. "ref":"q4",
  350. "value":0
  351. },
  352. {
  353. "ref":"q3",
  354. "value":1
  355. }
  356. ],
  357. "observables":[
  358. ]
  359. },
  360. {
  361. "probability":{
  362. "exp":0.5000000
  363. },
  364. "location":"location",
  365. "assignments":[
  366. {
  367. "ref":"q4",
  368. "value":0
  369. },
  370. {
  371. "ref":"q5",
  372. "value":1
  373. }
  374. ],
  375. "observables":[
  376. ]
  377. }
  378. ]
  379. }
  380. ]
  381. },
  382. {
  383. "name":"process5",
  384. "locations":[
  385. {
  386. "name":"location"
  387. }
  388. ],
  389. "initial-locations":[
  390. "location"
  391. ],
  392. "edges":[
  393. {
  394. "location":"location",
  395. "action":"tau__",
  396. "guard":{
  397. "exp":{
  398. "op":"=",
  399. "left":"q5",
  400. "right":1
  401. }
  402. },
  403. "destinations":[
  404. {
  405. "probability":{
  406. "exp":0.5000000
  407. },
  408. "location":"location",
  409. "assignments":[
  410. {
  411. "ref":"q5",
  412. "value":0
  413. },
  414. {
  415. "ref":"q4",
  416. "value":1
  417. }
  418. ],
  419. "observables":[
  420. ]
  421. },
  422. {
  423. "probability":{
  424. "exp":0.5000000
  425. },
  426. "location":"location",
  427. "assignments":[
  428. {
  429. "ref":"q5",
  430. "value":0
  431. },
  432. {
  433. "ref":"q6",
  434. "value":1
  435. }
  436. ],
  437. "observables":[
  438. ]
  439. }
  440. ]
  441. }
  442. ]
  443. },
  444. {
  445. "name":"process6",
  446. "locations":[
  447. {
  448. "name":"location"
  449. }
  450. ],
  451. "initial-locations":[
  452. "location"
  453. ],
  454. "edges":[
  455. {
  456. "location":"location",
  457. "action":"tau__",
  458. "guard":{
  459. "exp":{
  460. "op":"=",
  461. "left":"q6",
  462. "right":1
  463. }
  464. },
  465. "destinations":[
  466. {
  467. "probability":{
  468. "exp":0.5000000
  469. },
  470. "location":"location",
  471. "assignments":[
  472. {
  473. "ref":"q6",
  474. "value":0
  475. },
  476. {
  477. "ref":"q5",
  478. "value":1
  479. }
  480. ],
  481. "observables":[
  482. ]
  483. },
  484. {
  485. "probability":{
  486. "exp":0.5000000
  487. },
  488. "location":"location",
  489. "assignments":[
  490. {
  491. "ref":"q6",
  492. "value":0
  493. },
  494. {
  495. "ref":"q7",
  496. "value":1
  497. }
  498. ],
  499. "observables":[
  500. ]
  501. }
  502. ]
  503. }
  504. ]
  505. },
  506. {
  507. "name":"process7",
  508. "locations":[
  509. {
  510. "name":"location"
  511. }
  512. ],
  513. "initial-locations":[
  514. "location"
  515. ],
  516. "edges":[
  517. {
  518. "location":"location",
  519. "action":"tau__",
  520. "guard":{
  521. "exp":{
  522. "op":"=",
  523. "left":"q7",
  524. "right":1
  525. }
  526. },
  527. "destinations":[
  528. {
  529. "probability":{
  530. "exp":0.5000000
  531. },
  532. "location":"location",
  533. "assignments":[
  534. {
  535. "ref":"q7",
  536. "value":0
  537. },
  538. {
  539. "ref":"q6",
  540. "value":1
  541. }
  542. ],
  543. "observables":[
  544. ]
  545. },
  546. {
  547. "probability":{
  548. "exp":0.5000000
  549. },
  550. "location":"location",
  551. "assignments":[
  552. {
  553. "ref":"q7",
  554. "value":0
  555. },
  556. {
  557. "ref":"q8",
  558. "value":1
  559. }
  560. ],
  561. "observables":[
  562. ]
  563. }
  564. ]
  565. }
  566. ]
  567. },
  568. {
  569. "name":"process8",
  570. "locations":[
  571. {
  572. "name":"location"
  573. }
  574. ],
  575. "initial-locations":[
  576. "location"
  577. ],
  578. "edges":[
  579. {
  580. "location":"location",
  581. "action":"tau__",
  582. "guard":{
  583. "exp":{
  584. "op":"=",
  585. "left":"q8",
  586. "right":1
  587. }
  588. },
  589. "destinations":[
  590. {
  591. "probability":{
  592. "exp":0.5000000
  593. },
  594. "location":"location",
  595. "assignments":[
  596. {
  597. "ref":"q8",
  598. "value":0
  599. },
  600. {
  601. "ref":"q7",
  602. "value":1
  603. }
  604. ],
  605. "observables":[
  606. ]
  607. },
  608. {
  609. "probability":{
  610. "exp":0.5000000
  611. },
  612. "location":"location",
  613. "assignments":[
  614. {
  615. "ref":"q8",
  616. "value":0
  617. },
  618. {
  619. "ref":"q1",
  620. "value":1
  621. }
  622. ],
  623. "observables":[
  624. ]
  625. }
  626. ]
  627. }
  628. ]
  629. }
  630. ],
  631. "system":{
  632. "elements":[
  633. {
  634. "automaton":"process1"
  635. },
  636. {
  637. "automaton":"process2"
  638. },
  639. {
  640. "automaton":"process3"
  641. },
  642. {
  643. "automaton":"process4"
  644. },
  645. {
  646. "automaton":"process5"
  647. },
  648. {
  649. "automaton":"process6"
  650. },
  651. {
  652. "automaton":"process7"
  653. },
  654. {
  655. "automaton":"process8"
  656. }
  657. ],
  658. "syncs":[
  659. {
  660. "synchronise":[
  661. "tau__",
  662. null,
  663. null,
  664. null,
  665. null,
  666. null,
  667. null,
  668. null
  669. ],
  670. "result":"tau__"
  671. },
  672. {
  673. "synchronise":[
  674. null,
  675. "tau__",
  676. null,
  677. null,
  678. null,
  679. null,
  680. null,
  681. null
  682. ],
  683. "result":"tau__"
  684. },
  685. {
  686. "synchronise":[
  687. null,
  688. null,
  689. "tau__",
  690. null,
  691. null,
  692. null,
  693. null,
  694. null
  695. ],
  696. "result":"tau__"
  697. },
  698. {
  699. "synchronise":[
  700. null,
  701. null,
  702. null,
  703. "tau__",
  704. null,
  705. null,
  706. null,
  707. null
  708. ],
  709. "result":"tau__"
  710. },
  711. {
  712. "synchronise":[
  713. null,
  714. null,
  715. null,
  716. null,
  717. "tau__",
  718. null,
  719. null,
  720. null
  721. ],
  722. "result":"tau__"
  723. },
  724. {
  725. "synchronise":[
  726. null,
  727. null,
  728. null,
  729. null,
  730. null,
  731. "tau__",
  732. null,
  733. null
  734. ],
  735. "result":"tau__"
  736. },
  737. {
  738. "synchronise":[
  739. null,
  740. null,
  741. null,
  742. null,
  743. null,
  744. null,
  745. "tau__",
  746. null
  747. ],
  748. "result":"tau__"
  749. },
  750. {
  751. "synchronise":[
  752. null,
  753. null,
  754. null,
  755. null,
  756. null,
  757. null,
  758. null,
  759. "tau__"
  760. ],
  761. "result":"tau__"
  762. }
  763. ]
  764. }
  765. }