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.

1094 lines
34 KiB

  1. {
  2. "jani-version":1,
  3. "features":[
  4. "derived-operators"
  5. ],
  6. "name":"Converted from PRISM by IscasMC",
  7. "type":"dtmc",
  8. "actions":[
  9. {
  10. "name":"step"
  11. }
  12. ],
  13. "variables":[
  14. {
  15. "name":"x1",
  16. "type":{
  17. "kind":"bounded",
  18. "base":"int",
  19. "lower-bound":0,
  20. "upper-bound":1
  21. }
  22. },
  23. {
  24. "name":"x2",
  25. "type":{
  26. "kind":"bounded",
  27. "base":"int",
  28. "lower-bound":0,
  29. "upper-bound":1
  30. }
  31. },
  32. {
  33. "name":"x3",
  34. "type":{
  35. "kind":"bounded",
  36. "base":"int",
  37. "lower-bound":0,
  38. "upper-bound":1
  39. }
  40. },
  41. {
  42. "name":"x4",
  43. "type":{
  44. "kind":"bounded",
  45. "base":"int",
  46. "lower-bound":0,
  47. "upper-bound":1
  48. }
  49. },
  50. {
  51. "name":"x5",
  52. "type":{
  53. "kind":"bounded",
  54. "base":"int",
  55. "lower-bound":0,
  56. "upper-bound":1
  57. }
  58. },
  59. {
  60. "name":"x6",
  61. "type":{
  62. "kind":"bounded",
  63. "base":"int",
  64. "lower-bound":0,
  65. "upper-bound":1
  66. }
  67. },
  68. {
  69. "name":"x7",
  70. "type":{
  71. "kind":"bounded",
  72. "base":"int",
  73. "lower-bound":0,
  74. "upper-bound":1
  75. }
  76. },
  77. {
  78. "name":"x8",
  79. "type":{
  80. "kind":"bounded",
  81. "base":"int",
  82. "lower-bound":0,
  83. "upper-bound":1
  84. }
  85. },
  86. {
  87. "name":"x9",
  88. "type":{
  89. "kind":"bounded",
  90. "base":"int",
  91. "lower-bound":0,
  92. "upper-bound":1
  93. }
  94. },
  95. {
  96. "name":"x10",
  97. "type":{
  98. "kind":"bounded",
  99. "base":"int",
  100. "lower-bound":0,
  101. "upper-bound":1
  102. }
  103. },
  104. {
  105. "name":"x11",
  106. "type":{
  107. "kind":"bounded",
  108. "base":"int",
  109. "lower-bound":0,
  110. "upper-bound":1
  111. }
  112. }
  113. ],
  114. "observables":[
  115. {
  116. "name":"\"steps\""
  117. }
  118. ],
  119. "initial-states":{
  120. "exp":true
  121. },
  122. "automata":[
  123. {
  124. "name":"process1",
  125. "locations":[
  126. {
  127. "name":"location",
  128. "observables":[
  129. {
  130. "ref":"\"steps\"",
  131. "value":1
  132. }
  133. ]
  134. }
  135. ],
  136. "initial-locations":[
  137. "location"
  138. ],
  139. "edges":[
  140. {
  141. "location":"location",
  142. "action":"step",
  143. "guard":{
  144. "exp":{
  145. "op":"=",
  146. "left":"x1",
  147. "right":"x11"
  148. }
  149. },
  150. "destinations":[
  151. {
  152. "probability":{
  153. "exp":0.5000000
  154. },
  155. "location":"location",
  156. "assignments":[
  157. {
  158. "ref":"x1",
  159. "value":0
  160. }
  161. ],
  162. "observables":[
  163. ]
  164. },
  165. {
  166. "probability":{
  167. "exp":{
  168. "op":"-",
  169. "left":1,
  170. "right":0.5000000
  171. }
  172. },
  173. "location":"location",
  174. "assignments":[
  175. {
  176. "ref":"x1",
  177. "value":1
  178. }
  179. ],
  180. "observables":[
  181. ]
  182. }
  183. ]
  184. },
  185. {
  186. "location":"location",
  187. "action":"step",
  188. "guard":{
  189. "exp":{
  190. "op":"¬",
  191. "exp":{
  192. "op":"=",
  193. "left":"x1",
  194. "right":"x11"
  195. }
  196. }
  197. },
  198. "destinations":[
  199. {
  200. "probability":{
  201. "exp":1
  202. },
  203. "location":"location",
  204. "assignments":[
  205. {
  206. "ref":"x1",
  207. "value":"x11"
  208. }
  209. ],
  210. "observables":[
  211. ]
  212. }
  213. ]
  214. }
  215. ]
  216. },
  217. {
  218. "name":"process2",
  219. "locations":[
  220. {
  221. "name":"location"
  222. }
  223. ],
  224. "initial-locations":[
  225. "location"
  226. ],
  227. "edges":[
  228. {
  229. "location":"location",
  230. "action":"step",
  231. "guard":{
  232. "exp":{
  233. "op":"=",
  234. "left":"x2",
  235. "right":"x1"
  236. }
  237. },
  238. "destinations":[
  239. {
  240. "probability":{
  241. "exp":0.5000000
  242. },
  243. "location":"location",
  244. "assignments":[
  245. {
  246. "ref":"x2",
  247. "value":0
  248. }
  249. ]
  250. },
  251. {
  252. "probability":{
  253. "exp":{
  254. "op":"-",
  255. "left":1,
  256. "right":0.5000000
  257. }
  258. },
  259. "location":"location",
  260. "assignments":[
  261. {
  262. "ref":"x2",
  263. "value":1
  264. }
  265. ]
  266. }
  267. ]
  268. },
  269. {
  270. "location":"location",
  271. "action":"step",
  272. "guard":{
  273. "exp":{
  274. "op":"¬",
  275. "exp":{
  276. "op":"=",
  277. "left":"x2",
  278. "right":"x1"
  279. }
  280. }
  281. },
  282. "destinations":[
  283. {
  284. "probability":{
  285. "exp":1
  286. },
  287. "location":"location",
  288. "assignments":[
  289. {
  290. "ref":"x2",
  291. "value":"x1"
  292. }
  293. ]
  294. }
  295. ]
  296. }
  297. ]
  298. },
  299. {
  300. "name":"process3",
  301. "locations":[
  302. {
  303. "name":"location"
  304. }
  305. ],
  306. "initial-locations":[
  307. "location"
  308. ],
  309. "edges":[
  310. {
  311. "location":"location",
  312. "action":"step",
  313. "guard":{
  314. "exp":{
  315. "op":"=",
  316. "left":"x3",
  317. "right":"x2"
  318. }
  319. },
  320. "destinations":[
  321. {
  322. "probability":{
  323. "exp":0.5000000
  324. },
  325. "location":"location",
  326. "assignments":[
  327. {
  328. "ref":"x3",
  329. "value":0
  330. }
  331. ]
  332. },
  333. {
  334. "probability":{
  335. "exp":{
  336. "op":"-",
  337. "left":1,
  338. "right":0.5000000
  339. }
  340. },
  341. "location":"location",
  342. "assignments":[
  343. {
  344. "ref":"x3",
  345. "value":1
  346. }
  347. ]
  348. }
  349. ]
  350. },
  351. {
  352. "location":"location",
  353. "action":"step",
  354. "guard":{
  355. "exp":{
  356. "op":"¬",
  357. "exp":{
  358. "op":"=",
  359. "left":"x3",
  360. "right":"x2"
  361. }
  362. }
  363. },
  364. "destinations":[
  365. {
  366. "probability":{
  367. "exp":1
  368. },
  369. "location":"location",
  370. "assignments":[
  371. {
  372. "ref":"x3",
  373. "value":"x2"
  374. }
  375. ]
  376. }
  377. ]
  378. }
  379. ]
  380. },
  381. {
  382. "name":"process4",
  383. "locations":[
  384. {
  385. "name":"location"
  386. }
  387. ],
  388. "initial-locations":[
  389. "location"
  390. ],
  391. "edges":[
  392. {
  393. "location":"location",
  394. "action":"step",
  395. "guard":{
  396. "exp":{
  397. "op":"=",
  398. "left":"x4",
  399. "right":"x3"
  400. }
  401. },
  402. "destinations":[
  403. {
  404. "probability":{
  405. "exp":0.5000000
  406. },
  407. "location":"location",
  408. "assignments":[
  409. {
  410. "ref":"x4",
  411. "value":0
  412. }
  413. ]
  414. },
  415. {
  416. "probability":{
  417. "exp":{
  418. "op":"-",
  419. "left":1,
  420. "right":0.5000000
  421. }
  422. },
  423. "location":"location",
  424. "assignments":[
  425. {
  426. "ref":"x4",
  427. "value":1
  428. }
  429. ]
  430. }
  431. ]
  432. },
  433. {
  434. "location":"location",
  435. "action":"step",
  436. "guard":{
  437. "exp":{
  438. "op":"¬",
  439. "exp":{
  440. "op":"=",
  441. "left":"x4",
  442. "right":"x3"
  443. }
  444. }
  445. },
  446. "destinations":[
  447. {
  448. "probability":{
  449. "exp":1
  450. },
  451. "location":"location",
  452. "assignments":[
  453. {
  454. "ref":"x4",
  455. "value":"x3"
  456. }
  457. ]
  458. }
  459. ]
  460. }
  461. ]
  462. },
  463. {
  464. "name":"process5",
  465. "locations":[
  466. {
  467. "name":"location"
  468. }
  469. ],
  470. "initial-locations":[
  471. "location"
  472. ],
  473. "edges":[
  474. {
  475. "location":"location",
  476. "action":"step",
  477. "guard":{
  478. "exp":{
  479. "op":"=",
  480. "left":"x5",
  481. "right":"x4"
  482. }
  483. },
  484. "destinations":[
  485. {
  486. "probability":{
  487. "exp":0.5000000
  488. },
  489. "location":"location",
  490. "assignments":[
  491. {
  492. "ref":"x5",
  493. "value":0
  494. }
  495. ]
  496. },
  497. {
  498. "probability":{
  499. "exp":{
  500. "op":"-",
  501. "left":1,
  502. "right":0.5000000
  503. }
  504. },
  505. "location":"location",
  506. "assignments":[
  507. {
  508. "ref":"x5",
  509. "value":1
  510. }
  511. ]
  512. }
  513. ]
  514. },
  515. {
  516. "location":"location",
  517. "action":"step",
  518. "guard":{
  519. "exp":{
  520. "op":"¬",
  521. "exp":{
  522. "op":"=",
  523. "left":"x5",
  524. "right":"x4"
  525. }
  526. }
  527. },
  528. "destinations":[
  529. {
  530. "probability":{
  531. "exp":1
  532. },
  533. "location":"location",
  534. "assignments":[
  535. {
  536. "ref":"x5",
  537. "value":"x4"
  538. }
  539. ]
  540. }
  541. ]
  542. }
  543. ]
  544. },
  545. {
  546. "name":"process6",
  547. "locations":[
  548. {
  549. "name":"location"
  550. }
  551. ],
  552. "initial-locations":[
  553. "location"
  554. ],
  555. "edges":[
  556. {
  557. "location":"location",
  558. "action":"step",
  559. "guard":{
  560. "exp":{
  561. "op":"=",
  562. "left":"x6",
  563. "right":"x5"
  564. }
  565. },
  566. "destinations":[
  567. {
  568. "probability":{
  569. "exp":0.5000000
  570. },
  571. "location":"location",
  572. "assignments":[
  573. {
  574. "ref":"x6",
  575. "value":0
  576. }
  577. ]
  578. },
  579. {
  580. "probability":{
  581. "exp":{
  582. "op":"-",
  583. "left":1,
  584. "right":0.5000000
  585. }
  586. },
  587. "location":"location",
  588. "assignments":[
  589. {
  590. "ref":"x6",
  591. "value":1
  592. }
  593. ]
  594. }
  595. ]
  596. },
  597. {
  598. "location":"location",
  599. "action":"step",
  600. "guard":{
  601. "exp":{
  602. "op":"¬",
  603. "exp":{
  604. "op":"=",
  605. "left":"x6",
  606. "right":"x5"
  607. }
  608. }
  609. },
  610. "destinations":[
  611. {
  612. "probability":{
  613. "exp":1
  614. },
  615. "location":"location",
  616. "assignments":[
  617. {
  618. "ref":"x6",
  619. "value":"x5"
  620. }
  621. ]
  622. }
  623. ]
  624. }
  625. ]
  626. },
  627. {
  628. "name":"process7",
  629. "locations":[
  630. {
  631. "name":"location"
  632. }
  633. ],
  634. "initial-locations":[
  635. "location"
  636. ],
  637. "edges":[
  638. {
  639. "location":"location",
  640. "action":"step",
  641. "guard":{
  642. "exp":{
  643. "op":"=",
  644. "left":"x7",
  645. "right":"x6"
  646. }
  647. },
  648. "destinations":[
  649. {
  650. "probability":{
  651. "exp":0.5000000
  652. },
  653. "location":"location",
  654. "assignments":[
  655. {
  656. "ref":"x7",
  657. "value":0
  658. }
  659. ]
  660. },
  661. {
  662. "probability":{
  663. "exp":{
  664. "op":"-",
  665. "left":1,
  666. "right":0.5000000
  667. }
  668. },
  669. "location":"location",
  670. "assignments":[
  671. {
  672. "ref":"x7",
  673. "value":1
  674. }
  675. ]
  676. }
  677. ]
  678. },
  679. {
  680. "location":"location",
  681. "action":"step",
  682. "guard":{
  683. "exp":{
  684. "op":"¬",
  685. "exp":{
  686. "op":"=",
  687. "left":"x7",
  688. "right":"x6"
  689. }
  690. }
  691. },
  692. "destinations":[
  693. {
  694. "probability":{
  695. "exp":1
  696. },
  697. "location":"location",
  698. "assignments":[
  699. {
  700. "ref":"x7",
  701. "value":"x6"
  702. }
  703. ]
  704. }
  705. ]
  706. }
  707. ]
  708. },
  709. {
  710. "name":"process8",
  711. "locations":[
  712. {
  713. "name":"location"
  714. }
  715. ],
  716. "initial-locations":[
  717. "location"
  718. ],
  719. "edges":[
  720. {
  721. "location":"location",
  722. "action":"step",
  723. "guard":{
  724. "exp":{
  725. "op":"=",
  726. "left":"x8",
  727. "right":"x7"
  728. }
  729. },
  730. "destinations":[
  731. {
  732. "probability":{
  733. "exp":0.5000000
  734. },
  735. "location":"location",
  736. "assignments":[
  737. {
  738. "ref":"x8",
  739. "value":0
  740. }
  741. ]
  742. },
  743. {
  744. "probability":{
  745. "exp":{
  746. "op":"-",
  747. "left":1,
  748. "right":0.5000000
  749. }
  750. },
  751. "location":"location",
  752. "assignments":[
  753. {
  754. "ref":"x8",
  755. "value":1
  756. }
  757. ]
  758. }
  759. ]
  760. },
  761. {
  762. "location":"location",
  763. "action":"step",
  764. "guard":{
  765. "exp":{
  766. "op":"¬",
  767. "exp":{
  768. "op":"=",
  769. "left":"x8",
  770. "right":"x7"
  771. }
  772. }
  773. },
  774. "destinations":[
  775. {
  776. "probability":{
  777. "exp":1
  778. },
  779. "location":"location",
  780. "assignments":[
  781. {
  782. "ref":"x8",
  783. "value":"x7"
  784. }
  785. ]
  786. }
  787. ]
  788. }
  789. ]
  790. },
  791. {
  792. "name":"process9",
  793. "locations":[
  794. {
  795. "name":"location"
  796. }
  797. ],
  798. "initial-locations":[
  799. "location"
  800. ],
  801. "edges":[
  802. {
  803. "location":"location",
  804. "action":"step",
  805. "guard":{
  806. "exp":{
  807. "op":"=",
  808. "left":"x9",
  809. "right":"x8"
  810. }
  811. },
  812. "destinations":[
  813. {
  814. "probability":{
  815. "exp":0.5000000
  816. },
  817. "location":"location",
  818. "assignments":[
  819. {
  820. "ref":"x9",
  821. "value":0
  822. }
  823. ]
  824. },
  825. {
  826. "probability":{
  827. "exp":{
  828. "op":"-",
  829. "left":1,
  830. "right":0.5000000
  831. }
  832. },
  833. "location":"location",
  834. "assignments":[
  835. {
  836. "ref":"x9",
  837. "value":1
  838. }
  839. ]
  840. }
  841. ]
  842. },
  843. {
  844. "location":"location",
  845. "action":"step",
  846. "guard":{
  847. "exp":{
  848. "op":"¬",
  849. "exp":{
  850. "op":"=",
  851. "left":"x9",
  852. "right":"x8"
  853. }
  854. }
  855. },
  856. "destinations":[
  857. {
  858. "probability":{
  859. "exp":1
  860. },
  861. "location":"location",
  862. "assignments":[
  863. {
  864. "ref":"x9",
  865. "value":"x8"
  866. }
  867. ]
  868. }
  869. ]
  870. }
  871. ]
  872. },
  873. {
  874. "name":"process10",
  875. "locations":[
  876. {
  877. "name":"location"
  878. }
  879. ],
  880. "initial-locations":[
  881. "location"
  882. ],
  883. "edges":[
  884. {
  885. "location":"location",
  886. "action":"step",
  887. "guard":{
  888. "exp":{
  889. "op":"=",
  890. "left":"x10",
  891. "right":"x9"
  892. }
  893. },
  894. "destinations":[
  895. {
  896. "probability":{
  897. "exp":0.5000000
  898. },
  899. "location":"location",
  900. "assignments":[
  901. {
  902. "ref":"x10",
  903. "value":0
  904. }
  905. ]
  906. },
  907. {
  908. "probability":{
  909. "exp":{
  910. "op":"-",
  911. "left":1,
  912. "right":0.5000000
  913. }
  914. },
  915. "location":"location",
  916. "assignments":[
  917. {
  918. "ref":"x10",
  919. "value":1
  920. }
  921. ]
  922. }
  923. ]
  924. },
  925. {
  926. "location":"location",
  927. "action":"step",
  928. "guard":{
  929. "exp":{
  930. "op":"¬",
  931. "exp":{
  932. "op":"=",
  933. "left":"x10",
  934. "right":"x9"
  935. }
  936. }
  937. },
  938. "destinations":[
  939. {
  940. "probability":{
  941. "exp":1
  942. },
  943. "location":"location",
  944. "assignments":[
  945. {
  946. "ref":"x10",
  947. "value":"x9"
  948. }
  949. ]
  950. }
  951. ]
  952. }
  953. ]
  954. },
  955. {
  956. "name":"process11",
  957. "locations":[
  958. {
  959. "name":"location"
  960. }
  961. ],
  962. "initial-locations":[
  963. "location"
  964. ],
  965. "edges":[
  966. {
  967. "location":"location",
  968. "action":"step",
  969. "guard":{
  970. "exp":{
  971. "op":"=",
  972. "left":"x11",
  973. "right":"x10"
  974. }
  975. },
  976. "destinations":[
  977. {
  978. "probability":{
  979. "exp":0.5000000
  980. },
  981. "location":"location",
  982. "assignments":[
  983. {
  984. "ref":"x11",
  985. "value":0
  986. }
  987. ]
  988. },
  989. {
  990. "probability":{
  991. "exp":{
  992. "op":"-",
  993. "left":1,
  994. "right":0.5000000
  995. }
  996. },
  997. "location":"location",
  998. "assignments":[
  999. {
  1000. "ref":"x11",
  1001. "value":1
  1002. }
  1003. ]
  1004. }
  1005. ]
  1006. },
  1007. {
  1008. "location":"location",
  1009. "action":"step",
  1010. "guard":{
  1011. "exp":{
  1012. "op":"¬",
  1013. "exp":{
  1014. "op":"=",
  1015. "left":"x11",
  1016. "right":"x10"
  1017. }
  1018. }
  1019. },
  1020. "destinations":[
  1021. {
  1022. "probability":{
  1023. "exp":1
  1024. },
  1025. "location":"location",
  1026. "assignments":[
  1027. {
  1028. "ref":"x11",
  1029. "value":"x10"
  1030. }
  1031. ]
  1032. }
  1033. ]
  1034. }
  1035. ]
  1036. }
  1037. ],
  1038. "system":{
  1039. "elements":[
  1040. {
  1041. "automaton":"process1"
  1042. },
  1043. {
  1044. "automaton":"process2"
  1045. },
  1046. {
  1047. "automaton":"process3"
  1048. },
  1049. {
  1050. "automaton":"process4"
  1051. },
  1052. {
  1053. "automaton":"process5"
  1054. },
  1055. {
  1056. "automaton":"process6"
  1057. },
  1058. {
  1059. "automaton":"process7"
  1060. },
  1061. {
  1062. "automaton":"process8"
  1063. },
  1064. {
  1065. "automaton":"process9"
  1066. },
  1067. {
  1068. "automaton":"process10"
  1069. },
  1070. {
  1071. "automaton":"process11"
  1072. }
  1073. ],
  1074. "syncs":[
  1075. {
  1076. "synchronise":[
  1077. "step",
  1078. "step",
  1079. "step",
  1080. "step",
  1081. "step",
  1082. "step",
  1083. "step",
  1084. "step",
  1085. "step",
  1086. "step",
  1087. "step"
  1088. ],
  1089. "result":"step"
  1090. }
  1091. ]
  1092. }
  1093. }