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.

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