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.

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