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.

4208 lines
168 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":"s1"
  11. },
  12. {
  13. "name":"s2"
  14. },
  15. {
  16. "name":"s3"
  17. }
  18. ],
  19. "constants":[
  20. {
  21. "name":"K",
  22. "type":"int"
  23. }
  24. ],
  25. "variables":[
  26. {
  27. "name":"c1",
  28. "type":{
  29. "kind":"bounded",
  30. "base":"int",
  31. "lower-bound":0,
  32. "upper-bound":"K"
  33. }
  34. },
  35. {
  36. "name":"c2",
  37. "type":{
  38. "kind":"bounded",
  39. "base":"int",
  40. "lower-bound":0,
  41. "upper-bound":"K"
  42. }
  43. },
  44. {
  45. "name":"c3",
  46. "type":{
  47. "kind":"bounded",
  48. "base":"int",
  49. "lower-bound":0,
  50. "upper-bound":"K"
  51. }
  52. },
  53. {
  54. "name":"p1",
  55. "type":{
  56. "kind":"bounded",
  57. "base":"int",
  58. "lower-bound":0,
  59. "upper-bound":13
  60. }
  61. },
  62. {
  63. "name":"p2",
  64. "type":{
  65. "kind":"bounded",
  66. "base":"int",
  67. "lower-bound":0,
  68. "upper-bound":13
  69. }
  70. },
  71. {
  72. "name":"p3",
  73. "type":{
  74. "kind":"bounded",
  75. "base":"int",
  76. "lower-bound":0,
  77. "upper-bound":13
  78. }
  79. }
  80. ],
  81. "observables":[
  82. {
  83. "name":"\"steps\""
  84. }
  85. ],
  86. "initial-states":{
  87. "exp":{
  88. "op":"∧",
  89. "left":{
  90. "op":"∧",
  91. "left":{
  92. "op":"∧",
  93. "left":{
  94. "op":"∧",
  95. "left":{
  96. "op":"∧",
  97. "left":{
  98. "op":"=",
  99. "left":"c1",
  100. "right":0
  101. },
  102. "right":{
  103. "op":"=",
  104. "left":"c2",
  105. "right":0
  106. }
  107. },
  108. "right":{
  109. "op":"=",
  110. "left":"c3",
  111. "right":0
  112. }
  113. },
  114. "right":{
  115. "op":"=",
  116. "left":"p1",
  117. "right":0
  118. }
  119. },
  120. "right":{
  121. "op":"=",
  122. "left":"p2",
  123. "right":0
  124. }
  125. },
  126. "right":{
  127. "op":"=",
  128. "left":"p3",
  129. "right":0
  130. }
  131. }
  132. },
  133. "automata":[
  134. {
  135. "name":"counter",
  136. "locations":[
  137. {
  138. "name":"location"
  139. }
  140. ],
  141. "initial-locations":[
  142. "location"
  143. ],
  144. "edges":[
  145. {
  146. "location":"location",
  147. "action":"s1",
  148. "guard":{
  149. "exp":{
  150. "op":"∧",
  151. "left":{
  152. "op":"∧",
  153. "left":{
  154. "op":"∧",
  155. "left":{
  156. "op":"≠",
  157. "left":"p2",
  158. "right":13
  159. },
  160. "right":{
  161. "op":"≠",
  162. "left":"p2",
  163. "right":0
  164. }
  165. },
  166. "right":{
  167. "op":"∧",
  168. "left":{
  169. "op":"≠",
  170. "left":"p3",
  171. "right":13
  172. },
  173. "right":{
  174. "op":"≠",
  175. "left":"p3",
  176. "right":0
  177. }
  178. }
  179. },
  180. "right":{
  181. "op":"¬",
  182. "exp":{
  183. "op":"∨",
  184. "left":{
  185. "op":"∨",
  186. "left":{
  187. "op":"=",
  188. "left":"c2",
  189. "right":"K"
  190. },
  191. "right":{
  192. "op":"=",
  193. "left":"c3",
  194. "right":"K"
  195. }
  196. },
  197. "right":{
  198. "op":"∧",
  199. "left":{
  200. "op":"=",
  201. "left":"c2",
  202. "right":{
  203. "op":"-",
  204. "left":"K",
  205. "right":1
  206. }
  207. },
  208. "right":{
  209. "op":"=",
  210. "left":"c3",
  211. "right":{
  212. "op":"-",
  213. "left":"K",
  214. "right":1
  215. }
  216. }
  217. }
  218. }
  219. }
  220. }
  221. },
  222. "destinations":[
  223. {
  224. "probability":{
  225. "exp":1
  226. },
  227. "location":"location",
  228. "assignments":[
  229. {
  230. "ref":"c1",
  231. "value":0
  232. },
  233. {
  234. "ref":"c2",
  235. "value":{
  236. "op":"+",
  237. "left":"c2",
  238. "right":1
  239. }
  240. },
  241. {
  242. "ref":"c3",
  243. "value":{
  244. "op":"+",
  245. "left":"c3",
  246. "right":1
  247. }
  248. }
  249. ],
  250. "observables":[
  251. {
  252. "ref":"\"steps\"",
  253. "value":1
  254. }
  255. ]
  256. }
  257. ]
  258. },
  259. {
  260. "location":"location",
  261. "action":"s1",
  262. "guard":{
  263. "exp":{
  264. "op":"∧",
  265. "left":{
  266. "op":"∧",
  267. "left":{
  268. "op":"∨",
  269. "left":{
  270. "op":"=",
  271. "left":"p2",
  272. "right":13
  273. },
  274. "right":{
  275. "op":"=",
  276. "left":"p2",
  277. "right":0
  278. }
  279. },
  280. "right":{
  281. "op":"∧",
  282. "left":{
  283. "op":"≠",
  284. "left":"p3",
  285. "right":13
  286. },
  287. "right":{
  288. "op":"≠",
  289. "left":"p3",
  290. "right":0
  291. }
  292. }
  293. },
  294. "right":{
  295. "op":"¬",
  296. "exp":{
  297. "op":"∨",
  298. "left":{
  299. "op":"∨",
  300. "left":{
  301. "op":"=",
  302. "left":"c2",
  303. "right":"K"
  304. },
  305. "right":{
  306. "op":"=",
  307. "left":"c3",
  308. "right":"K"
  309. }
  310. },
  311. "right":{
  312. "op":"∧",
  313. "left":{
  314. "op":"=",
  315. "left":"c2",
  316. "right":{
  317. "op":"-",
  318. "left":"K",
  319. "right":1
  320. }
  321. },
  322. "right":{
  323. "op":"=",
  324. "left":"c3",
  325. "right":{
  326. "op":"-",
  327. "left":"K",
  328. "right":1
  329. }
  330. }
  331. }
  332. }
  333. }
  334. }
  335. },
  336. "destinations":[
  337. {
  338. "probability":{
  339. "exp":1
  340. },
  341. "location":"location",
  342. "assignments":[
  343. {
  344. "ref":"c1",
  345. "value":0
  346. },
  347. {
  348. "ref":"c3",
  349. "value":{
  350. "op":"+",
  351. "left":"c3",
  352. "right":1
  353. }
  354. }
  355. ],
  356. "observables":[
  357. {
  358. "ref":"\"steps\"",
  359. "value":1
  360. }
  361. ]
  362. }
  363. ]
  364. },
  365. {
  366. "location":"location",
  367. "action":"s1",
  368. "guard":{
  369. "exp":{
  370. "op":"∧",
  371. "left":{
  372. "op":"∧",
  373. "left":{
  374. "op":"∧",
  375. "left":{
  376. "op":"≠",
  377. "left":"p2",
  378. "right":13
  379. },
  380. "right":{
  381. "op":"≠",
  382. "left":"p2",
  383. "right":0
  384. }
  385. },
  386. "right":{
  387. "op":"∨",
  388. "left":{
  389. "op":"=",
  390. "left":"p3",
  391. "right":13
  392. },
  393. "right":{
  394. "op":"=",
  395. "left":"p3",
  396. "right":0
  397. }
  398. }
  399. },
  400. "right":{
  401. "op":"¬",
  402. "exp":{
  403. "op":"∨",
  404. "left":{
  405. "op":"∨",
  406. "left":{
  407. "op":"=",
  408. "left":"c2",
  409. "right":"K"
  410. },
  411. "right":{
  412. "op":"=",
  413. "left":"c3",
  414. "right":"K"
  415. }
  416. },
  417. "right":{
  418. "op":"∧",
  419. "left":{
  420. "op":"=",
  421. "left":"c2",
  422. "right":{
  423. "op":"-",
  424. "left":"K",
  425. "right":1
  426. }
  427. },
  428. "right":{
  429. "op":"=",
  430. "left":"c3",
  431. "right":{
  432. "op":"-",
  433. "left":"K",
  434. "right":1
  435. }
  436. }
  437. }
  438. }
  439. }
  440. }
  441. },
  442. "destinations":[
  443. {
  444. "probability":{
  445. "exp":1
  446. },
  447. "location":"location",
  448. "assignments":[
  449. {
  450. "ref":"c1",
  451. "value":0
  452. },
  453. {
  454. "ref":"c2",
  455. "value":{
  456. "op":"+",
  457. "left":"c2",
  458. "right":1
  459. }
  460. }
  461. ],
  462. "observables":[
  463. {
  464. "ref":"\"steps\"",
  465. "value":1
  466. }
  467. ]
  468. }
  469. ]
  470. },
  471. {
  472. "location":"location",
  473. "action":"s1",
  474. "guard":{
  475. "exp":{
  476. "op":"∧",
  477. "left":{
  478. "op":"∧",
  479. "left":{
  480. "op":"∨",
  481. "left":{
  482. "op":"=",
  483. "left":"p2",
  484. "right":13
  485. },
  486. "right":{
  487. "op":"=",
  488. "left":"p2",
  489. "right":0
  490. }
  491. },
  492. "right":{
  493. "op":"∨",
  494. "left":{
  495. "op":"=",
  496. "left":"p3",
  497. "right":13
  498. },
  499. "right":{
  500. "op":"=",
  501. "left":"p3",
  502. "right":0
  503. }
  504. }
  505. },
  506. "right":{
  507. "op":"¬",
  508. "exp":{
  509. "op":"∨",
  510. "left":{
  511. "op":"∨",
  512. "left":{
  513. "op":"=",
  514. "left":"c2",
  515. "right":"K"
  516. },
  517. "right":{
  518. "op":"=",
  519. "left":"c3",
  520. "right":"K"
  521. }
  522. },
  523. "right":{
  524. "op":"∧",
  525. "left":{
  526. "op":"=",
  527. "left":"c2",
  528. "right":{
  529. "op":"-",
  530. "left":"K",
  531. "right":1
  532. }
  533. },
  534. "right":{
  535. "op":"=",
  536. "left":"c3",
  537. "right":{
  538. "op":"-",
  539. "left":"K",
  540. "right":1
  541. }
  542. }
  543. }
  544. }
  545. }
  546. }
  547. },
  548. "destinations":[
  549. {
  550. "probability":{
  551. "exp":1
  552. },
  553. "location":"location",
  554. "assignments":[
  555. {
  556. "ref":"c1",
  557. "value":0
  558. }
  559. ],
  560. "observables":[
  561. {
  562. "ref":"\"steps\"",
  563. "value":1
  564. }
  565. ]
  566. }
  567. ]
  568. },
  569. {
  570. "location":"location",
  571. "action":"s2",
  572. "guard":{
  573. "exp":{
  574. "op":"∧",
  575. "left":{
  576. "op":"∧",
  577. "left":{
  578. "op":"∧",
  579. "left":{
  580. "op":"≠",
  581. "left":"p1",
  582. "right":13
  583. },
  584. "right":{
  585. "op":"≠",
  586. "left":"p1",
  587. "right":0
  588. }
  589. },
  590. "right":{
  591. "op":"∧",
  592. "left":{
  593. "op":"≠",
  594. "left":"p3",
  595. "right":13
  596. },
  597. "right":{
  598. "op":"≠",
  599. "left":"p3",
  600. "right":0
  601. }
  602. }
  603. },
  604. "right":{
  605. "op":"¬",
  606. "exp":{
  607. "op":"∨",
  608. "left":{
  609. "op":"∨",
  610. "left":{
  611. "op":"=",
  612. "left":"c1",
  613. "right":"K"
  614. },
  615. "right":{
  616. "op":"=",
  617. "left":"c3",
  618. "right":"K"
  619. }
  620. },
  621. "right":{
  622. "op":"∧",
  623. "left":{
  624. "op":"=",
  625. "left":"c1",
  626. "right":{
  627. "op":"-",
  628. "left":"K",
  629. "right":1
  630. }
  631. },
  632. "right":{
  633. "op":"=",
  634. "left":"c3",
  635. "right":{
  636. "op":"-",
  637. "left":"K",
  638. "right":1
  639. }
  640. }
  641. }
  642. }
  643. }
  644. }
  645. },
  646. "destinations":[
  647. {
  648. "probability":{
  649. "exp":1
  650. },
  651. "location":"location",
  652. "assignments":[
  653. {
  654. "ref":"c2",
  655. "value":0
  656. },
  657. {
  658. "ref":"c1",
  659. "value":{
  660. "op":"+",
  661. "left":"c1",
  662. "right":1
  663. }
  664. },
  665. {
  666. "ref":"c3",
  667. "value":{
  668. "op":"+",
  669. "left":"c3",
  670. "right":1
  671. }
  672. }
  673. ],
  674. "observables":[
  675. {
  676. "ref":"\"steps\"",
  677. "value":1
  678. }
  679. ]
  680. }
  681. ]
  682. },
  683. {
  684. "location":"location",
  685. "action":"s2",
  686. "guard":{
  687. "exp":{
  688. "op":"∧",
  689. "left":{
  690. "op":"∧",
  691. "left":{
  692. "op":"∨",
  693. "left":{
  694. "op":"=",
  695. "left":"p1",
  696. "right":13
  697. },
  698. "right":{
  699. "op":"=",
  700. "left":"p1",
  701. "right":0
  702. }
  703. },
  704. "right":{
  705. "op":"∧",
  706. "left":{
  707. "op":"≠",
  708. "left":"p3",
  709. "right":13
  710. },
  711. "right":{
  712. "op":"≠",
  713. "left":"p3",
  714. "right":0
  715. }
  716. }
  717. },
  718. "right":{
  719. "op":"¬",
  720. "exp":{
  721. "op":"∨",
  722. "left":{
  723. "op":"∨",
  724. "left":{
  725. "op":"=",
  726. "left":"c1",
  727. "right":"K"
  728. },
  729. "right":{
  730. "op":"=",
  731. "left":"c3",
  732. "right":"K"
  733. }
  734. },
  735. "right":{
  736. "op":"∧",
  737. "left":{
  738. "op":"=",
  739. "left":"c1",
  740. "right":{
  741. "op":"-",
  742. "left":"K",
  743. "right":1
  744. }
  745. },
  746. "right":{
  747. "op":"=",
  748. "left":"c3",
  749. "right":{
  750. "op":"-",
  751. "left":"K",
  752. "right":1
  753. }
  754. }
  755. }
  756. }
  757. }
  758. }
  759. },
  760. "destinations":[
  761. {
  762. "probability":{
  763. "exp":1
  764. },
  765. "location":"location",
  766. "assignments":[
  767. {
  768. "ref":"c2",
  769. "value":0
  770. },
  771. {
  772. "ref":"c3",
  773. "value":{
  774. "op":"+",
  775. "left":"c3",
  776. "right":1
  777. }
  778. }
  779. ],
  780. "observables":[
  781. {
  782. "ref":"\"steps\"",
  783. "value":1
  784. }
  785. ]
  786. }
  787. ]
  788. },
  789. {
  790. "location":"location",
  791. "action":"s2",
  792. "guard":{
  793. "exp":{
  794. "op":"∧",
  795. "left":{
  796. "op":"∧",
  797. "left":{
  798. "op":"∧",
  799. "left":{
  800. "op":"≠",
  801. "left":"p1",
  802. "right":13
  803. },
  804. "right":{
  805. "op":"≠",
  806. "left":"p1",
  807. "right":0
  808. }
  809. },
  810. "right":{
  811. "op":"∨",
  812. "left":{
  813. "op":"=",
  814. "left":"p3",
  815. "right":13
  816. },
  817. "right":{
  818. "op":"=",
  819. "left":"p3",
  820. "right":0
  821. }
  822. }
  823. },
  824. "right":{
  825. "op":"¬",
  826. "exp":{
  827. "op":"∨",
  828. "left":{
  829. "op":"∨",
  830. "left":{
  831. "op":"=",
  832. "left":"c1",
  833. "right":"K"
  834. },
  835. "right":{
  836. "op":"=",
  837. "left":"c3",
  838. "right":"K"
  839. }
  840. },
  841. "right":{
  842. "op":"∧",
  843. "left":{
  844. "op":"=",
  845. "left":"c1",
  846. "right":{
  847. "op":"-",
  848. "left":"K",
  849. "right":1
  850. }
  851. },
  852. "right":{
  853. "op":"=",
  854. "left":"c3",
  855. "right":{
  856. "op":"-",
  857. "left":"K",
  858. "right":1
  859. }
  860. }
  861. }
  862. }
  863. }
  864. }
  865. },
  866. "destinations":[
  867. {
  868. "probability":{
  869. "exp":1
  870. },
  871. "location":"location",
  872. "assignments":[
  873. {
  874. "ref":"c2",
  875. "value":0
  876. },
  877. {
  878. "ref":"c1",
  879. "value":{
  880. "op":"+",
  881. "left":"c1",
  882. "right":1
  883. }
  884. }
  885. ],
  886. "observables":[
  887. {
  888. "ref":"\"steps\"",
  889. "value":1
  890. }
  891. ]
  892. }
  893. ]
  894. },
  895. {
  896. "location":"location",
  897. "action":"s2",
  898. "guard":{
  899. "exp":{
  900. "op":"∧",
  901. "left":{
  902. "op":"∧",
  903. "left":{
  904. "op":"∨",
  905. "left":{
  906. "op":"=",
  907. "left":"p1",
  908. "right":13
  909. },
  910. "right":{
  911. "op":"=",
  912. "left":"p1",
  913. "right":0
  914. }
  915. },
  916. "right":{
  917. "op":"∨",
  918. "left":{
  919. "op":"=",
  920. "left":"p3",
  921. "right":13
  922. },
  923. "right":{
  924. "op":"=",
  925. "left":"p3",
  926. "right":0
  927. }
  928. }
  929. },
  930. "right":{
  931. "op":"¬",
  932. "exp":{
  933. "op":"∨",
  934. "left":{
  935. "op":"∨",
  936. "left":{
  937. "op":"=",
  938. "left":"c1",
  939. "right":"K"
  940. },
  941. "right":{
  942. "op":"=",
  943. "left":"c3",
  944. "right":"K"
  945. }
  946. },
  947. "right":{
  948. "op":"∧",
  949. "left":{
  950. "op":"=",
  951. "left":"c1",
  952. "right":{
  953. "op":"-",
  954. "left":"K",
  955. "right":1
  956. }
  957. },
  958. "right":{
  959. "op":"=",
  960. "left":"c3",
  961. "right":{
  962. "op":"-",
  963. "left":"K",
  964. "right":1
  965. }
  966. }
  967. }
  968. }
  969. }
  970. }
  971. },
  972. "destinations":[
  973. {
  974. "probability":{
  975. "exp":1
  976. },
  977. "location":"location",
  978. "assignments":[
  979. {
  980. "ref":"c2",
  981. "value":0
  982. }
  983. ],
  984. "observables":[
  985. {
  986. "ref":"\"steps\"",
  987. "value":1
  988. }
  989. ]
  990. }
  991. ]
  992. },
  993. {
  994. "location":"location",
  995. "action":"s3",
  996. "guard":{
  997. "exp":{
  998. "op":"∧",
  999. "left":{
  1000. "op":"∧",
  1001. "left":{
  1002. "op":"∧",
  1003. "left":{
  1004. "op":"≠",
  1005. "left":"p1",
  1006. "right":13
  1007. },
  1008. "right":{
  1009. "op":"≠",
  1010. "left":"p1",
  1011. "right":0
  1012. }
  1013. },
  1014. "right":{
  1015. "op":"∧",
  1016. "left":{
  1017. "op":"≠",
  1018. "left":"p2",
  1019. "right":13
  1020. },
  1021. "right":{
  1022. "op":"≠",
  1023. "left":"p2",
  1024. "right":0
  1025. }
  1026. }
  1027. },
  1028. "right":{
  1029. "op":"¬",
  1030. "exp":{
  1031. "op":"∨",
  1032. "left":{
  1033. "op":"∨",
  1034. "left":{
  1035. "op":"=",
  1036. "left":"c1",
  1037. "right":"K"
  1038. },
  1039. "right":{
  1040. "op":"=",
  1041. "left":"c2",
  1042. "right":"K"
  1043. }
  1044. },
  1045. "right":{
  1046. "op":"∧",
  1047. "left":{
  1048. "op":"=",
  1049. "left":"c1",
  1050. "right":{
  1051. "op":"-",
  1052. "left":"K",
  1053. "right":1
  1054. }
  1055. },
  1056. "right":{
  1057. "op":"=",
  1058. "left":"c2",
  1059. "right":{
  1060. "op":"-",
  1061. "left":"K",
  1062. "right":1
  1063. }
  1064. }
  1065. }
  1066. }
  1067. }
  1068. }
  1069. },
  1070. "destinations":[
  1071. {
  1072. "probability":{
  1073. "exp":1
  1074. },
  1075. "location":"location",
  1076. "assignments":[
  1077. {
  1078. "ref":"c3",
  1079. "value":0
  1080. },
  1081. {
  1082. "ref":"c1",
  1083. "value":{
  1084. "op":"+",
  1085. "left":"c1",
  1086. "right":1
  1087. }
  1088. },
  1089. {
  1090. "ref":"c2",
  1091. "value":{
  1092. "op":"+",
  1093. "left":"c2",
  1094. "right":1
  1095. }
  1096. }
  1097. ],
  1098. "observables":[
  1099. {
  1100. "ref":"\"steps\"",
  1101. "value":1
  1102. }
  1103. ]
  1104. }
  1105. ]
  1106. },
  1107. {
  1108. "location":"location",
  1109. "action":"s3",
  1110. "guard":{
  1111. "exp":{
  1112. "op":"∧",
  1113. "left":{
  1114. "op":"∧",
  1115. "left":{
  1116. "op":"∨",
  1117. "left":{
  1118. "op":"=",
  1119. "left":"p1",
  1120. "right":13
  1121. },
  1122. "right":{
  1123. "op":"=",
  1124. "left":"p1",
  1125. "right":0
  1126. }
  1127. },
  1128. "right":{
  1129. "op":"∧",
  1130. "left":{
  1131. "op":"≠",
  1132. "left":"p2",
  1133. "right":13
  1134. },
  1135. "right":{
  1136. "op":"≠",
  1137. "left":"p2",
  1138. "right":0
  1139. }
  1140. }
  1141. },
  1142. "right":{
  1143. "op":"¬",
  1144. "exp":{
  1145. "op":"∨",
  1146. "left":{
  1147. "op":"∨",
  1148. "left":{
  1149. "op":"=",
  1150. "left":"c1",
  1151. "right":"K"
  1152. },
  1153. "right":{
  1154. "op":"=",
  1155. "left":"c2",
  1156. "right":"K"
  1157. }
  1158. },
  1159. "right":{
  1160. "op":"∧",
  1161. "left":{
  1162. "op":"=",
  1163. "left":"c1",
  1164. "right":{
  1165. "op":"-",
  1166. "left":"K",
  1167. "right":1
  1168. }
  1169. },
  1170. "right":{
  1171. "op":"=",
  1172. "left":"c2",
  1173. "right":{
  1174. "op":"-",
  1175. "left":"K",
  1176. "right":1
  1177. }
  1178. }
  1179. }
  1180. }
  1181. }
  1182. }
  1183. },
  1184. "destinations":[
  1185. {
  1186. "probability":{
  1187. "exp":1
  1188. },
  1189. "location":"location",
  1190. "assignments":[
  1191. {
  1192. "ref":"c3",
  1193. "value":0
  1194. },
  1195. {
  1196. "ref":"c2",
  1197. "value":{
  1198. "op":"+",
  1199. "left":"c2",
  1200. "right":1
  1201. }
  1202. }
  1203. ],
  1204. "observables":[
  1205. {
  1206. "ref":"\"steps\"",
  1207. "value":1
  1208. }
  1209. ]
  1210. }
  1211. ]
  1212. },
  1213. {
  1214. "location":"location",
  1215. "action":"s3",
  1216. "guard":{
  1217. "exp":{
  1218. "op":"∧",
  1219. "left":{
  1220. "op":"∧",
  1221. "left":{
  1222. "op":"∧",
  1223. "left":{
  1224. "op":"≠",
  1225. "left":"p1",
  1226. "right":13
  1227. },
  1228. "right":{
  1229. "op":"≠",
  1230. "left":"p1",
  1231. "right":0
  1232. }
  1233. },
  1234. "right":{
  1235. "op":"∨",
  1236. "left":{
  1237. "op":"=",
  1238. "left":"p2",
  1239. "right":13
  1240. },
  1241. "right":{
  1242. "op":"=",
  1243. "left":"p2",
  1244. "right":0
  1245. }
  1246. }
  1247. },
  1248. "right":{
  1249. "op":"¬",
  1250. "exp":{
  1251. "op":"∨",
  1252. "left":{
  1253. "op":"∨",
  1254. "left":{
  1255. "op":"=",
  1256. "left":"c1",
  1257. "right":"K"
  1258. },
  1259. "right":{
  1260. "op":"=",
  1261. "left":"c2",
  1262. "right":"K"
  1263. }
  1264. },
  1265. "right":{
  1266. "op":"∧",
  1267. "left":{
  1268. "op":"=",
  1269. "left":"c1",
  1270. "right":{
  1271. "op":"-",
  1272. "left":"K",
  1273. "right":1
  1274. }
  1275. },
  1276. "right":{
  1277. "op":"=",
  1278. "left":"c2",
  1279. "right":{
  1280. "op":"-",
  1281. "left":"K",
  1282. "right":1
  1283. }
  1284. }
  1285. }
  1286. }
  1287. }
  1288. }
  1289. },
  1290. "destinations":[
  1291. {
  1292. "probability":{
  1293. "exp":1
  1294. },
  1295. "location":"location",
  1296. "assignments":[
  1297. {
  1298. "ref":"c3",
  1299. "value":0
  1300. },
  1301. {
  1302. "ref":"c1",
  1303. "value":{
  1304. "op":"+",
  1305. "left":"c1",
  1306. "right":1
  1307. }
  1308. }
  1309. ],
  1310. "observables":[
  1311. {
  1312. "ref":"\"steps\"",
  1313. "value":1
  1314. }
  1315. ]
  1316. }
  1317. ]
  1318. },
  1319. {
  1320. "location":"location",
  1321. "action":"s3",
  1322. "guard":{
  1323. "exp":{
  1324. "op":"∧",
  1325. "left":{
  1326. "op":"∧",
  1327. "left":{
  1328. "op":"∨",
  1329. "left":{
  1330. "op":"=",
  1331. "left":"p1",
  1332. "right":13
  1333. },
  1334. "right":{
  1335. "op":"=",
  1336. "left":"p1",
  1337. "right":0
  1338. }
  1339. },
  1340. "right":{
  1341. "op":"∨",
  1342. "left":{
  1343. "op":"=",
  1344. "left":"p2",
  1345. "right":13
  1346. },
  1347. "right":{
  1348. "op":"=",
  1349. "left":"p2",
  1350. "right":0
  1351. }
  1352. }
  1353. },
  1354. "right":{
  1355. "op":"¬",
  1356. "exp":{
  1357. "op":"∨",
  1358. "left":{
  1359. "op":"∨",
  1360. "left":{
  1361. "op":"=",
  1362. "left":"c1",
  1363. "right":"K"
  1364. },
  1365. "right":{
  1366. "op":"=",
  1367. "left":"c2",
  1368. "right":"K"
  1369. }
  1370. },
  1371. "right":{
  1372. "op":"∧",
  1373. "left":{
  1374. "op":"=",
  1375. "left":"c1",
  1376. "right":{
  1377. "op":"-",
  1378. "left":"K",
  1379. "right":1
  1380. }
  1381. },
  1382. "right":{
  1383. "op":"=",
  1384. "left":"c2",
  1385. "right":{
  1386. "op":"-",
  1387. "left":"K",
  1388. "right":1
  1389. }
  1390. }
  1391. }
  1392. }
  1393. }
  1394. }
  1395. },
  1396. "destinations":[
  1397. {
  1398. "probability":{
  1399. "exp":1
  1400. },
  1401. "location":"location",
  1402. "assignments":[
  1403. {
  1404. "ref":"c3",
  1405. "value":0
  1406. }
  1407. ],
  1408. "observables":[
  1409. {
  1410. "ref":"\"steps\"",
  1411. "value":1
  1412. }
  1413. ]
  1414. }
  1415. ]
  1416. }
  1417. ]
  1418. },
  1419. {
  1420. "name":"phil1",
  1421. "locations":[
  1422. {
  1423. "name":"location"
  1424. }
  1425. ],
  1426. "initial-locations":[
  1427. "location"
  1428. ],
  1429. "edges":[
  1430. {
  1431. "location":"location",
  1432. "action":"s1",
  1433. "guard":{
  1434. "exp":{
  1435. "op":"=",
  1436. "left":"p1",
  1437. "right":0
  1438. }
  1439. },
  1440. "destinations":[
  1441. {
  1442. "probability":{
  1443. "exp":1
  1444. },
  1445. "location":"location",
  1446. "assignments":[
  1447. {
  1448. "ref":"p1",
  1449. "value":0
  1450. }
  1451. ]
  1452. }
  1453. ]
  1454. },
  1455. {
  1456. "location":"location",
  1457. "action":"s1",
  1458. "guard":{
  1459. "exp":{
  1460. "op":"=",
  1461. "left":"p1",
  1462. "right":0
  1463. }
  1464. },
  1465. "destinations":[
  1466. {
  1467. "probability":{
  1468. "exp":1
  1469. },
  1470. "location":"location",
  1471. "assignments":[
  1472. {
  1473. "ref":"p1",
  1474. "value":1
  1475. }
  1476. ]
  1477. }
  1478. ]
  1479. },
  1480. {
  1481. "location":"location",
  1482. "action":"s1",
  1483. "guard":{
  1484. "exp":{
  1485. "op":"=",
  1486. "left":"p1",
  1487. "right":1
  1488. }
  1489. },
  1490. "destinations":[
  1491. {
  1492. "probability":{
  1493. "exp":0.5000000
  1494. },
  1495. "location":"location",
  1496. "assignments":[
  1497. {
  1498. "ref":"p1",
  1499. "value":2
  1500. }
  1501. ]
  1502. },
  1503. {
  1504. "probability":{
  1505. "exp":0.5000000
  1506. },
  1507. "location":"location",
  1508. "assignments":[
  1509. {
  1510. "ref":"p1",
  1511. "value":3
  1512. }
  1513. ]
  1514. }
  1515. ]
  1516. },
  1517. {
  1518. "location":"location",
  1519. "action":"s1",
  1520. "guard":{
  1521. "exp":{
  1522. "op":"∧",
  1523. "left":{
  1524. "op":"=",
  1525. "left":"p1",
  1526. "right":2
  1527. },
  1528. "right":{
  1529. "op":"∨",
  1530. "left":{
  1531. "op":"∨",
  1532. "left":{
  1533. "op":"∨",
  1534. "left":{
  1535. "op":"∧",
  1536. "left":{
  1537. "op":"≥",
  1538. "left":"p2",
  1539. "right":0
  1540. },
  1541. "right":{
  1542. "op":"≤",
  1543. "left":"p2",
  1544. "right":4
  1545. }
  1546. },
  1547. "right":{
  1548. "op":"=",
  1549. "left":"p2",
  1550. "right":6
  1551. }
  1552. },
  1553. "right":{
  1554. "op":"=",
  1555. "left":"p2",
  1556. "right":11
  1557. }
  1558. },
  1559. "right":{
  1560. "op":"=",
  1561. "left":"p2",
  1562. "right":13
  1563. }
  1564. }
  1565. }
  1566. },
  1567. "destinations":[
  1568. {
  1569. "probability":{
  1570. "exp":1
  1571. },
  1572. "location":"location",
  1573. "assignments":[
  1574. {
  1575. "ref":"p1",
  1576. "value":4
  1577. }
  1578. ]
  1579. }
  1580. ]
  1581. },
  1582. {
  1583. "location":"location",
  1584. "action":"s1",
  1585. "guard":{
  1586. "exp":{
  1587. "op":"∧",
  1588. "left":{
  1589. "op":"=",
  1590. "left":"p1",
  1591. "right":2
  1592. },
  1593. "right":{
  1594. "op":"¬",
  1595. "exp":{
  1596. "op":"∨",
  1597. "left":{
  1598. "op":"∨",
  1599. "left":{
  1600. "op":"∨",
  1601. "left":{
  1602. "op":"∧",
  1603. "left":{
  1604. "op":"≥",
  1605. "left":"p2",
  1606. "right":0
  1607. },
  1608. "right":{
  1609. "op":"≤",
  1610. "left":"p2",
  1611. "right":4
  1612. }
  1613. },
  1614. "right":{
  1615. "op":"=",
  1616. "left":"p2",
  1617. "right":6
  1618. }
  1619. },
  1620. "right":{
  1621. "op":"=",
  1622. "left":"p2",
  1623. "right":11
  1624. }
  1625. },
  1626. "right":{
  1627. "op":"=",
  1628. "left":"p2",
  1629. "right":13
  1630. }
  1631. }
  1632. }
  1633. }
  1634. },
  1635. "destinations":[
  1636. {
  1637. "probability":{
  1638. "exp":1
  1639. },
  1640. "location":"location",
  1641. "assignments":[
  1642. {
  1643. "ref":"p1",
  1644. "value":2
  1645. }
  1646. ]
  1647. }
  1648. ]
  1649. },
  1650. {
  1651. "location":"location",
  1652. "action":"s1",
  1653. "guard":{
  1654. "exp":{
  1655. "op":"∧",
  1656. "left":{
  1657. "op":"=",
  1658. "left":"p1",
  1659. "right":3
  1660. },
  1661. "right":{
  1662. "op":"∨",
  1663. "left":{
  1664. "op":"∨",
  1665. "left":{
  1666. "op":"∨",
  1667. "left":{
  1668. "op":"∨",
  1669. "left":{
  1670. "op":"∧",
  1671. "left":{
  1672. "op":"≥",
  1673. "left":"p3",
  1674. "right":0
  1675. },
  1676. "right":{
  1677. "op":"≤",
  1678. "left":"p3",
  1679. "right":3
  1680. }
  1681. },
  1682. "right":{
  1683. "op":"=",
  1684. "left":"p3",
  1685. "right":5
  1686. }
  1687. },
  1688. "right":{
  1689. "op":"=",
  1690. "left":"p3",
  1691. "right":7
  1692. }
  1693. },
  1694. "right":{
  1695. "op":"=",
  1696. "left":"p3",
  1697. "right":12
  1698. }
  1699. },
  1700. "right":{
  1701. "op":"=",
  1702. "left":"p3",
  1703. "right":13
  1704. }
  1705. }
  1706. }
  1707. },
  1708. "destinations":[
  1709. {
  1710. "probability":{
  1711. "exp":1
  1712. },
  1713. "location":"location",
  1714. "assignments":[
  1715. {
  1716. "ref":"p1",
  1717. "value":5
  1718. }
  1719. ]
  1720. }
  1721. ]
  1722. },
  1723. {
  1724. "location":"location",
  1725. "action":"s1",
  1726. "guard":{
  1727. "exp":{
  1728. "op":"∧",
  1729. "left":{
  1730. "op":"=",
  1731. "left":"p1",
  1732. "right":3
  1733. },
  1734. "right":{
  1735. "op":"¬",
  1736. "exp":{
  1737. "op":"∨",
  1738. "left":{
  1739. "op":"∨",
  1740. "left":{
  1741. "op":"∨",
  1742. "left":{
  1743. "op":"∨",
  1744. "left":{
  1745. "op":"∧",
  1746. "left":{
  1747. "op":"≥",
  1748. "left":"p3",
  1749. "right":0
  1750. },
  1751. "right":{
  1752. "op":"≤",
  1753. "left":"p3",
  1754. "right":3
  1755. }
  1756. },
  1757. "right":{
  1758. "op":"=",
  1759. "left":"p3",
  1760. "right":5
  1761. }
  1762. },
  1763. "right":{
  1764. "op":"=",
  1765. "left":"p3",
  1766. "right":7
  1767. }
  1768. },
  1769. "right":{
  1770. "op":"=",
  1771. "left":"p3",
  1772. "right":12
  1773. }
  1774. },
  1775. "right":{
  1776. "op":"=",
  1777. "left":"p3",
  1778. "right":13
  1779. }
  1780. }
  1781. }
  1782. }
  1783. },
  1784. "destinations":[
  1785. {
  1786. "probability":{
  1787. "exp":1
  1788. },
  1789. "location":"location",
  1790. "assignments":[
  1791. {
  1792. "ref":"p1",
  1793. "value":3
  1794. }
  1795. ]
  1796. }
  1797. ]
  1798. },
  1799. {
  1800. "location":"location",
  1801. "action":"s1",
  1802. "guard":{
  1803. "exp":{
  1804. "op":"∧",
  1805. "left":{
  1806. "op":"=",
  1807. "left":"p1",
  1808. "right":4
  1809. },
  1810. "right":{
  1811. "op":"∨",
  1812. "left":{
  1813. "op":"∨",
  1814. "left":{
  1815. "op":"∨",
  1816. "left":{
  1817. "op":"∨",
  1818. "left":{
  1819. "op":"∧",
  1820. "left":{
  1821. "op":"≥",
  1822. "left":"p3",
  1823. "right":0
  1824. },
  1825. "right":{
  1826. "op":"≤",
  1827. "left":"p3",
  1828. "right":3
  1829. }
  1830. },
  1831. "right":{
  1832. "op":"=",
  1833. "left":"p3",
  1834. "right":5
  1835. }
  1836. },
  1837. "right":{
  1838. "op":"=",
  1839. "left":"p3",
  1840. "right":7
  1841. }
  1842. },
  1843. "right":{
  1844. "op":"=",
  1845. "left":"p3",
  1846. "right":12
  1847. }
  1848. },
  1849. "right":{
  1850. "op":"=",
  1851. "left":"p3",
  1852. "right":13
  1853. }
  1854. }
  1855. }
  1856. },
  1857. "destinations":[
  1858. {
  1859. "probability":{
  1860. "exp":1
  1861. },
  1862. "location":"location",
  1863. "assignments":[
  1864. {
  1865. "ref":"p1",
  1866. "value":8
  1867. }
  1868. ]
  1869. }
  1870. ]
  1871. },
  1872. {
  1873. "location":"location",
  1874. "action":"s1",
  1875. "guard":{
  1876. "exp":{
  1877. "op":"∧",
  1878. "left":{
  1879. "op":"=",
  1880. "left":"p1",
  1881. "right":4
  1882. },
  1883. "right":{
  1884. "op":"¬",
  1885. "exp":{
  1886. "op":"∨",
  1887. "left":{
  1888. "op":"∨",
  1889. "left":{
  1890. "op":"∨",
  1891. "left":{
  1892. "op":"∨",
  1893. "left":{
  1894. "op":"∧",
  1895. "left":{
  1896. "op":"≥",
  1897. "left":"p3",
  1898. "right":0
  1899. },
  1900. "right":{
  1901. "op":"≤",
  1902. "left":"p3",
  1903. "right":3
  1904. }
  1905. },
  1906. "right":{
  1907. "op":"=",
  1908. "left":"p3",
  1909. "right":5
  1910. }
  1911. },
  1912. "right":{
  1913. "op":"=",
  1914. "left":"p3",
  1915. "right":7
  1916. }
  1917. },
  1918. "right":{
  1919. "op":"=",
  1920. "left":"p3",
  1921. "right":12
  1922. }
  1923. },
  1924. "right":{
  1925. "op":"=",
  1926. "left":"p3",
  1927. "right":13
  1928. }
  1929. }
  1930. }
  1931. }
  1932. },
  1933. "destinations":[
  1934. {
  1935. "probability":{
  1936. "exp":1
  1937. },
  1938. "location":"location",
  1939. "assignments":[
  1940. {
  1941. "ref":"p1",
  1942. "value":6
  1943. }
  1944. ]
  1945. }
  1946. ]
  1947. },
  1948. {
  1949. "location":"location",
  1950. "action":"s1",
  1951. "guard":{
  1952. "exp":{
  1953. "op":"∧",
  1954. "left":{
  1955. "op":"=",
  1956. "left":"p1",
  1957. "right":5
  1958. },
  1959. "right":{
  1960. "op":"∨",
  1961. "left":{
  1962. "op":"∨",
  1963. "left":{
  1964. "op":"∨",
  1965. "left":{
  1966. "op":"∧",
  1967. "left":{
  1968. "op":"≥",
  1969. "left":"p2",
  1970. "right":0
  1971. },
  1972. "right":{
  1973. "op":"≤",
  1974. "left":"p2",
  1975. "right":4
  1976. }
  1977. },
  1978. "right":{
  1979. "op":"=",
  1980. "left":"p2",
  1981. "right":6
  1982. }
  1983. },
  1984. "right":{
  1985. "op":"=",
  1986. "left":"p2",
  1987. "right":11
  1988. }
  1989. },
  1990. "right":{
  1991. "op":"=",
  1992. "left":"p2",
  1993. "right":13
  1994. }
  1995. }
  1996. }
  1997. },
  1998. "destinations":[
  1999. {
  2000. "probability":{
  2001. "exp":1
  2002. },
  2003. "location":"location",
  2004. "assignments":[
  2005. {
  2006. "ref":"p1",
  2007. "value":8
  2008. }
  2009. ]
  2010. }
  2011. ]
  2012. },
  2013. {
  2014. "location":"location",
  2015. "action":"s1",
  2016. "guard":{
  2017. "exp":{
  2018. "op":"∧",
  2019. "left":{
  2020. "op":"=",
  2021. "left":"p1",
  2022. "right":5
  2023. },
  2024. "right":{
  2025. "op":"¬",
  2026. "exp":{
  2027. "op":"∨",
  2028. "left":{
  2029. "op":"∨",
  2030. "left":{
  2031. "op":"∨",
  2032. "left":{
  2033. "op":"∧",
  2034. "left":{
  2035. "op":"≥",
  2036. "left":"p2",
  2037. "right":0
  2038. },
  2039. "right":{
  2040. "op":"≤",
  2041. "left":"p2",
  2042. "right":4
  2043. }
  2044. },
  2045. "right":{
  2046. "op":"=",
  2047. "left":"p2",
  2048. "right":6
  2049. }
  2050. },
  2051. "right":{
  2052. "op":"=",
  2053. "left":"p2",
  2054. "right":11
  2055. }
  2056. },
  2057. "right":{
  2058. "op":"=",
  2059. "left":"p2",
  2060. "right":13
  2061. }
  2062. }
  2063. }
  2064. }
  2065. },
  2066. "destinations":[
  2067. {
  2068. "probability":{
  2069. "exp":1
  2070. },
  2071. "location":"location",
  2072. "assignments":[
  2073. {
  2074. "ref":"p1",
  2075. "value":7
  2076. }
  2077. ]
  2078. }
  2079. ]
  2080. },
  2081. {
  2082. "location":"location",
  2083. "action":"s1",
  2084. "guard":{
  2085. "exp":{
  2086. "op":"=",
  2087. "left":"p1",
  2088. "right":6
  2089. }
  2090. },
  2091. "destinations":[
  2092. {
  2093. "probability":{
  2094. "exp":1
  2095. },
  2096. "location":"location",
  2097. "assignments":[
  2098. {
  2099. "ref":"p1",
  2100. "value":1
  2101. }
  2102. ]
  2103. }
  2104. ]
  2105. },
  2106. {
  2107. "location":"location",
  2108. "action":"s1",
  2109. "guard":{
  2110. "exp":{
  2111. "op":"=",
  2112. "left":"p1",
  2113. "right":7
  2114. }
  2115. },
  2116. "destinations":[
  2117. {
  2118. "probability":{
  2119. "exp":1
  2120. },
  2121. "location":"location",
  2122. "assignments":[
  2123. {
  2124. "ref":"p1",
  2125. "value":1
  2126. }
  2127. ]
  2128. }
  2129. ]
  2130. },
  2131. {
  2132. "location":"location",
  2133. "action":"s1",
  2134. "guard":{
  2135. "exp":{
  2136. "op":"=",
  2137. "left":"p1",
  2138. "right":8
  2139. }
  2140. },
  2141. "destinations":[
  2142. {
  2143. "probability":{
  2144. "exp":1
  2145. },
  2146. "location":"location",
  2147. "assignments":[
  2148. {
  2149. "ref":"p1",
  2150. "value":9
  2151. }
  2152. ]
  2153. }
  2154. ]
  2155. },
  2156. {
  2157. "location":"location",
  2158. "action":"s1",
  2159. "guard":{
  2160. "exp":{
  2161. "op":"=",
  2162. "left":"p1",
  2163. "right":9
  2164. }
  2165. },
  2166. "destinations":[
  2167. {
  2168. "probability":{
  2169. "exp":1
  2170. },
  2171. "location":"location",
  2172. "assignments":[
  2173. {
  2174. "ref":"p1",
  2175. "value":10
  2176. }
  2177. ]
  2178. }
  2179. ]
  2180. },
  2181. {
  2182. "location":"location",
  2183. "action":"s1",
  2184. "guard":{
  2185. "exp":{
  2186. "op":"=",
  2187. "left":"p1",
  2188. "right":10
  2189. }
  2190. },
  2191. "destinations":[
  2192. {
  2193. "probability":{
  2194. "exp":1
  2195. },
  2196. "location":"location",
  2197. "assignments":[
  2198. {
  2199. "ref":"p1",
  2200. "value":11
  2201. }
  2202. ]
  2203. }
  2204. ]
  2205. },
  2206. {
  2207. "location":"location",
  2208. "action":"s1",
  2209. "guard":{
  2210. "exp":{
  2211. "op":"=",
  2212. "left":"p1",
  2213. "right":10
  2214. }
  2215. },
  2216. "destinations":[
  2217. {
  2218. "probability":{
  2219. "exp":1
  2220. },
  2221. "location":"location",
  2222. "assignments":[
  2223. {
  2224. "ref":"p1",
  2225. "value":12
  2226. }
  2227. ]
  2228. }
  2229. ]
  2230. },
  2231. {
  2232. "location":"location",
  2233. "action":"s1",
  2234. "guard":{
  2235. "exp":{
  2236. "op":"=",
  2237. "left":"p1",
  2238. "right":11
  2239. }
  2240. },
  2241. "destinations":[
  2242. {
  2243. "probability":{
  2244. "exp":1
  2245. },
  2246. "location":"location",
  2247. "assignments":[
  2248. {
  2249. "ref":"p1",
  2250. "value":13
  2251. }
  2252. ]
  2253. }
  2254. ]
  2255. },
  2256. {
  2257. "location":"location",
  2258. "action":"s1",
  2259. "guard":{
  2260. "exp":{
  2261. "op":"=",
  2262. "left":"p1",
  2263. "right":12
  2264. }
  2265. },
  2266. "destinations":[
  2267. {
  2268. "probability":{
  2269. "exp":1
  2270. },
  2271. "location":"location",
  2272. "assignments":[
  2273. {
  2274. "ref":"p1",
  2275. "value":13
  2276. }
  2277. ]
  2278. }
  2279. ]
  2280. },
  2281. {
  2282. "location":"location",
  2283. "action":"s1",
  2284. "guard":{
  2285. "exp":{
  2286. "op":"=",
  2287. "left":"p1",
  2288. "right":13
  2289. }
  2290. },
  2291. "destinations":[
  2292. {
  2293. "probability":{
  2294. "exp":1
  2295. },
  2296. "location":"location",
  2297. "assignments":[
  2298. {
  2299. "ref":"p1",
  2300. "value":0
  2301. }
  2302. ]
  2303. }
  2304. ]
  2305. },
  2306. {
  2307. "location":"location",
  2308. "action":"s1",
  2309. "guard":{
  2310. "exp":{
  2311. "op":"=",
  2312. "left":"p1",
  2313. "right":13
  2314. }
  2315. },
  2316. "destinations":[
  2317. {
  2318. "probability":{
  2319. "exp":1
  2320. },
  2321. "location":"location",
  2322. "assignments":[
  2323. {
  2324. "ref":"p1",
  2325. "value":13
  2326. }
  2327. ]
  2328. }
  2329. ]
  2330. }
  2331. ]
  2332. },
  2333. {
  2334. "name":"phil2",
  2335. "locations":[
  2336. {
  2337. "name":"location"
  2338. }
  2339. ],
  2340. "initial-locations":[
  2341. "location"
  2342. ],
  2343. "edges":[
  2344. {
  2345. "location":"location",
  2346. "action":"s2",
  2347. "guard":{
  2348. "exp":{
  2349. "op":"=",
  2350. "left":"p2",
  2351. "right":0
  2352. }
  2353. },
  2354. "destinations":[
  2355. {
  2356. "probability":{
  2357. "exp":1
  2358. },
  2359. "location":"location",
  2360. "assignments":[
  2361. {
  2362. "ref":"p2",
  2363. "value":0
  2364. }
  2365. ]
  2366. }
  2367. ]
  2368. },
  2369. {
  2370. "location":"location",
  2371. "action":"s2",
  2372. "guard":{
  2373. "exp":{
  2374. "op":"=",
  2375. "left":"p2",
  2376. "right":0
  2377. }
  2378. },
  2379. "destinations":[
  2380. {
  2381. "probability":{
  2382. "exp":1
  2383. },
  2384. "location":"location",
  2385. "assignments":[
  2386. {
  2387. "ref":"p2",
  2388. "value":1
  2389. }
  2390. ]
  2391. }
  2392. ]
  2393. },
  2394. {
  2395. "location":"location",
  2396. "action":"s2",
  2397. "guard":{
  2398. "exp":{
  2399. "op":"=",
  2400. "left":"p2",
  2401. "right":1
  2402. }
  2403. },
  2404. "destinations":[
  2405. {
  2406. "probability":{
  2407. "exp":0.5000000
  2408. },
  2409. "location":"location",
  2410. "assignments":[
  2411. {
  2412. "ref":"p2",
  2413. "value":2
  2414. }
  2415. ]
  2416. },
  2417. {
  2418. "probability":{
  2419. "exp":0.5000000
  2420. },
  2421. "location":"location",
  2422. "assignments":[
  2423. {
  2424. "ref":"p2",
  2425. "value":3
  2426. }
  2427. ]
  2428. }
  2429. ]
  2430. },
  2431. {
  2432. "location":"location",
  2433. "action":"s2",
  2434. "guard":{
  2435. "exp":{
  2436. "op":"∧",
  2437. "left":{
  2438. "op":"=",
  2439. "left":"p2",
  2440. "right":2
  2441. },
  2442. "right":{
  2443. "op":"∨",
  2444. "left":{
  2445. "op":"∨",
  2446. "left":{
  2447. "op":"∨",
  2448. "left":{
  2449. "op":"∧",
  2450. "left":{
  2451. "op":"≥",
  2452. "left":"p3",
  2453. "right":0
  2454. },
  2455. "right":{
  2456. "op":"≤",
  2457. "left":"p3",
  2458. "right":4
  2459. }
  2460. },
  2461. "right":{
  2462. "op":"=",
  2463. "left":"p3",
  2464. "right":6
  2465. }
  2466. },
  2467. "right":{
  2468. "op":"=",
  2469. "left":"p3",
  2470. "right":11
  2471. }
  2472. },
  2473. "right":{
  2474. "op":"=",
  2475. "left":"p3",
  2476. "right":13
  2477. }
  2478. }
  2479. }
  2480. },
  2481. "destinations":[
  2482. {
  2483. "probability":{
  2484. "exp":1
  2485. },
  2486. "location":"location",
  2487. "assignments":[
  2488. {
  2489. "ref":"p2",
  2490. "value":4
  2491. }
  2492. ]
  2493. }
  2494. ]
  2495. },
  2496. {
  2497. "location":"location",
  2498. "action":"s2",
  2499. "guard":{
  2500. "exp":{
  2501. "op":"∧",
  2502. "left":{
  2503. "op":"=",
  2504. "left":"p2",
  2505. "right":2
  2506. },
  2507. "right":{
  2508. "op":"¬",
  2509. "exp":{
  2510. "op":"∨",
  2511. "left":{
  2512. "op":"∨",
  2513. "left":{
  2514. "op":"∨",
  2515. "left":{
  2516. "op":"∧",
  2517. "left":{
  2518. "op":"≥",
  2519. "left":"p3",
  2520. "right":0
  2521. },
  2522. "right":{
  2523. "op":"≤",
  2524. "left":"p3",
  2525. "right":4
  2526. }
  2527. },
  2528. "right":{
  2529. "op":"=",
  2530. "left":"p3",
  2531. "right":6
  2532. }
  2533. },
  2534. "right":{
  2535. "op":"=",
  2536. "left":"p3",
  2537. "right":11
  2538. }
  2539. },
  2540. "right":{
  2541. "op":"=",
  2542. "left":"p3",
  2543. "right":13
  2544. }
  2545. }
  2546. }
  2547. }
  2548. },
  2549. "destinations":[
  2550. {
  2551. "probability":{
  2552. "exp":1
  2553. },
  2554. "location":"location",
  2555. "assignments":[
  2556. {
  2557. "ref":"p2",
  2558. "value":2
  2559. }
  2560. ]
  2561. }
  2562. ]
  2563. },
  2564. {
  2565. "location":"location",
  2566. "action":"s2",
  2567. "guard":{
  2568. "exp":{
  2569. "op":"∧",
  2570. "left":{
  2571. "op":"=",
  2572. "left":"p2",
  2573. "right":3
  2574. },
  2575. "right":{
  2576. "op":"∨",
  2577. "left":{
  2578. "op":"∨",
  2579. "left":{
  2580. "op":"∨",
  2581. "left":{
  2582. "op":"∨",
  2583. "left":{
  2584. "op":"∧",
  2585. "left":{
  2586. "op":"≥",
  2587. "left":"p1",
  2588. "right":0
  2589. },
  2590. "right":{
  2591. "op":"≤",
  2592. "left":"p1",
  2593. "right":3
  2594. }
  2595. },
  2596. "right":{
  2597. "op":"=",
  2598. "left":"p1",
  2599. "right":5
  2600. }
  2601. },
  2602. "right":{
  2603. "op":"=",
  2604. "left":"p1",
  2605. "right":7
  2606. }
  2607. },
  2608. "right":{
  2609. "op":"=",
  2610. "left":"p1",
  2611. "right":12
  2612. }
  2613. },
  2614. "right":{
  2615. "op":"=",
  2616. "left":"p1",
  2617. "right":13
  2618. }
  2619. }
  2620. }
  2621. },
  2622. "destinations":[
  2623. {
  2624. "probability":{
  2625. "exp":1
  2626. },
  2627. "location":"location",
  2628. "assignments":[
  2629. {
  2630. "ref":"p2",
  2631. "value":5
  2632. }
  2633. ]
  2634. }
  2635. ]
  2636. },
  2637. {
  2638. "location":"location",
  2639. "action":"s2",
  2640. "guard":{
  2641. "exp":{
  2642. "op":"∧",
  2643. "left":{
  2644. "op":"=",
  2645. "left":"p2",
  2646. "right":3
  2647. },
  2648. "right":{
  2649. "op":"¬",
  2650. "exp":{
  2651. "op":"∨",
  2652. "left":{
  2653. "op":"∨",
  2654. "left":{
  2655. "op":"∨",
  2656. "left":{
  2657. "op":"∨",
  2658. "left":{
  2659. "op":"∧",
  2660. "left":{
  2661. "op":"≥",
  2662. "left":"p1",
  2663. "right":0
  2664. },
  2665. "right":{
  2666. "op":"≤",
  2667. "left":"p1",
  2668. "right":3
  2669. }
  2670. },
  2671. "right":{
  2672. "op":"=",
  2673. "left":"p1",
  2674. "right":5
  2675. }
  2676. },
  2677. "right":{
  2678. "op":"=",
  2679. "left":"p1",
  2680. "right":7
  2681. }
  2682. },
  2683. "right":{
  2684. "op":"=",
  2685. "left":"p1",
  2686. "right":12
  2687. }
  2688. },
  2689. "right":{
  2690. "op":"=",
  2691. "left":"p1",
  2692. "right":13
  2693. }
  2694. }
  2695. }
  2696. }
  2697. },
  2698. "destinations":[
  2699. {
  2700. "probability":{
  2701. "exp":1
  2702. },
  2703. "location":"location",
  2704. "assignments":[
  2705. {
  2706. "ref":"p2",
  2707. "value":3
  2708. }
  2709. ]
  2710. }
  2711. ]
  2712. },
  2713. {
  2714. "location":"location",
  2715. "action":"s2",
  2716. "guard":{
  2717. "exp":{
  2718. "op":"∧",
  2719. "left":{
  2720. "op":"=",
  2721. "left":"p2",
  2722. "right":4
  2723. },
  2724. "right":{
  2725. "op":"∨",
  2726. "left":{
  2727. "op":"∨",
  2728. "left":{
  2729. "op":"∨",
  2730. "left":{
  2731. "op":"∨",
  2732. "left":{
  2733. "op":"∧",
  2734. "left":{
  2735. "op":"≥",
  2736. "left":"p1",
  2737. "right":0
  2738. },
  2739. "right":{
  2740. "op":"≤",
  2741. "left":"p1",
  2742. "right":3
  2743. }
  2744. },
  2745. "right":{
  2746. "op":"=",
  2747. "left":"p1",
  2748. "right":5
  2749. }
  2750. },
  2751. "right":{
  2752. "op":"=",
  2753. "left":"p1",
  2754. "right":7
  2755. }
  2756. },
  2757. "right":{
  2758. "op":"=",
  2759. "left":"p1",
  2760. "right":12
  2761. }
  2762. },
  2763. "right":{
  2764. "op":"=",
  2765. "left":"p1",
  2766. "right":13
  2767. }
  2768. }
  2769. }
  2770. },
  2771. "destinations":[
  2772. {
  2773. "probability":{
  2774. "exp":1
  2775. },
  2776. "location":"location",
  2777. "assignments":[
  2778. {
  2779. "ref":"p2",
  2780. "value":8
  2781. }
  2782. ]
  2783. }
  2784. ]
  2785. },
  2786. {
  2787. "location":"location",
  2788. "action":"s2",
  2789. "guard":{
  2790. "exp":{
  2791. "op":"∧",
  2792. "left":{
  2793. "op":"=",
  2794. "left":"p2",
  2795. "right":4
  2796. },
  2797. "right":{
  2798. "op":"¬",
  2799. "exp":{
  2800. "op":"∨",
  2801. "left":{
  2802. "op":"∨",
  2803. "left":{
  2804. "op":"∨",
  2805. "left":{
  2806. "op":"∨",
  2807. "left":{
  2808. "op":"∧",
  2809. "left":{
  2810. "op":"≥",
  2811. "left":"p1",
  2812. "right":0
  2813. },
  2814. "right":{
  2815. "op":"≤",
  2816. "left":"p1",
  2817. "right":3
  2818. }
  2819. },
  2820. "right":{
  2821. "op":"=",
  2822. "left":"p1",
  2823. "right":5
  2824. }
  2825. },
  2826. "right":{
  2827. "op":"=",
  2828. "left":"p1",
  2829. "right":7
  2830. }
  2831. },
  2832. "right":{
  2833. "op":"=",
  2834. "left":"p1",
  2835. "right":12
  2836. }
  2837. },
  2838. "right":{
  2839. "op":"=",
  2840. "left":"p1",
  2841. "right":13
  2842. }
  2843. }
  2844. }
  2845. }
  2846. },
  2847. "destinations":[
  2848. {
  2849. "probability":{
  2850. "exp":1
  2851. },
  2852. "location":"location",
  2853. "assignments":[
  2854. {
  2855. "ref":"p2",
  2856. "value":6
  2857. }
  2858. ]
  2859. }
  2860. ]
  2861. },
  2862. {
  2863. "location":"location",
  2864. "action":"s2",
  2865. "guard":{
  2866. "exp":{
  2867. "op":"∧",
  2868. "left":{
  2869. "op":"=",
  2870. "left":"p2",
  2871. "right":5
  2872. },
  2873. "right":{
  2874. "op":"∨",
  2875. "left":{
  2876. "op":"∨",
  2877. "left":{
  2878. "op":"∨",
  2879. "left":{
  2880. "op":"∧",
  2881. "left":{
  2882. "op":"≥",
  2883. "left":"p3",
  2884. "right":0
  2885. },
  2886. "right":{
  2887. "op":"≤",
  2888. "left":"p3",
  2889. "right":4
  2890. }
  2891. },
  2892. "right":{
  2893. "op":"=",
  2894. "left":"p3",
  2895. "right":6
  2896. }
  2897. },
  2898. "right":{
  2899. "op":"=",
  2900. "left":"p3",
  2901. "right":11
  2902. }
  2903. },
  2904. "right":{
  2905. "op":"=",
  2906. "left":"p3",
  2907. "right":13
  2908. }
  2909. }
  2910. }
  2911. },
  2912. "destinations":[
  2913. {
  2914. "probability":{
  2915. "exp":1
  2916. },
  2917. "location":"location",
  2918. "assignments":[
  2919. {
  2920. "ref":"p2",
  2921. "value":8
  2922. }
  2923. ]
  2924. }
  2925. ]
  2926. },
  2927. {
  2928. "location":"location",
  2929. "action":"s2",
  2930. "guard":{
  2931. "exp":{
  2932. "op":"∧",
  2933. "left":{
  2934. "op":"=",
  2935. "left":"p2",
  2936. "right":5
  2937. },
  2938. "right":{
  2939. "op":"¬",
  2940. "exp":{
  2941. "op":"∨",
  2942. "left":{
  2943. "op":"∨",
  2944. "left":{
  2945. "op":"∨",
  2946. "left":{
  2947. "op":"∧",
  2948. "left":{
  2949. "op":"≥",
  2950. "left":"p3",
  2951. "right":0
  2952. },
  2953. "right":{
  2954. "op":"≤",
  2955. "left":"p3",
  2956. "right":4
  2957. }
  2958. },
  2959. "right":{
  2960. "op":"=",
  2961. "left":"p3",
  2962. "right":6
  2963. }
  2964. },
  2965. "right":{
  2966. "op":"=",
  2967. "left":"p3",
  2968. "right":11
  2969. }
  2970. },
  2971. "right":{
  2972. "op":"=",
  2973. "left":"p3",
  2974. "right":13
  2975. }
  2976. }
  2977. }
  2978. }
  2979. },
  2980. "destinations":[
  2981. {
  2982. "probability":{
  2983. "exp":1
  2984. },
  2985. "location":"location",
  2986. "assignments":[
  2987. {
  2988. "ref":"p2",
  2989. "value":7
  2990. }
  2991. ]
  2992. }
  2993. ]
  2994. },
  2995. {
  2996. "location":"location",
  2997. "action":"s2",
  2998. "guard":{
  2999. "exp":{
  3000. "op":"=",
  3001. "left":"p2",
  3002. "right":6
  3003. }
  3004. },
  3005. "destinations":[
  3006. {
  3007. "probability":{
  3008. "exp":1
  3009. },
  3010. "location":"location",
  3011. "assignments":[
  3012. {
  3013. "ref":"p2",
  3014. "value":1
  3015. }
  3016. ]
  3017. }
  3018. ]
  3019. },
  3020. {
  3021. "location":"location",
  3022. "action":"s2",
  3023. "guard":{
  3024. "exp":{
  3025. "op":"=",
  3026. "left":"p2",
  3027. "right":7
  3028. }
  3029. },
  3030. "destinations":[
  3031. {
  3032. "probability":{
  3033. "exp":1
  3034. },
  3035. "location":"location",
  3036. "assignments":[
  3037. {
  3038. "ref":"p2",
  3039. "value":1
  3040. }
  3041. ]
  3042. }
  3043. ]
  3044. },
  3045. {
  3046. "location":"location",
  3047. "action":"s2",
  3048. "guard":{
  3049. "exp":{
  3050. "op":"=",
  3051. "left":"p2",
  3052. "right":8
  3053. }
  3054. },
  3055. "destinations":[
  3056. {
  3057. "probability":{
  3058. "exp":1
  3059. },
  3060. "location":"location",
  3061. "assignments":[
  3062. {
  3063. "ref":"p2",
  3064. "value":9
  3065. }
  3066. ]
  3067. }
  3068. ]
  3069. },
  3070. {
  3071. "location":"location",
  3072. "action":"s2",
  3073. "guard":{
  3074. "exp":{
  3075. "op":"=",
  3076. "left":"p2",
  3077. "right":9
  3078. }
  3079. },
  3080. "destinations":[
  3081. {
  3082. "probability":{
  3083. "exp":1
  3084. },
  3085. "location":"location",
  3086. "assignments":[
  3087. {
  3088. "ref":"p2",
  3089. "value":10
  3090. }
  3091. ]
  3092. }
  3093. ]
  3094. },
  3095. {
  3096. "location":"location",
  3097. "action":"s2",
  3098. "guard":{
  3099. "exp":{
  3100. "op":"=",
  3101. "left":"p2",
  3102. "right":10
  3103. }
  3104. },
  3105. "destinations":[
  3106. {
  3107. "probability":{
  3108. "exp":1
  3109. },
  3110. "location":"location",
  3111. "assignments":[
  3112. {
  3113. "ref":"p2",
  3114. "value":11
  3115. }
  3116. ]
  3117. }
  3118. ]
  3119. },
  3120. {
  3121. "location":"location",
  3122. "action":"s2",
  3123. "guard":{
  3124. "exp":{
  3125. "op":"=",
  3126. "left":"p2",
  3127. "right":10
  3128. }
  3129. },
  3130. "destinations":[
  3131. {
  3132. "probability":{
  3133. "exp":1
  3134. },
  3135. "location":"location",
  3136. "assignments":[
  3137. {
  3138. "ref":"p2",
  3139. "value":12
  3140. }
  3141. ]
  3142. }
  3143. ]
  3144. },
  3145. {
  3146. "location":"location",
  3147. "action":"s2",
  3148. "guard":{
  3149. "exp":{
  3150. "op":"=",
  3151. "left":"p2",
  3152. "right":11
  3153. }
  3154. },
  3155. "destinations":[
  3156. {
  3157. "probability":{
  3158. "exp":1
  3159. },
  3160. "location":"location",
  3161. "assignments":[
  3162. {
  3163. "ref":"p2",
  3164. "value":13
  3165. }
  3166. ]
  3167. }
  3168. ]
  3169. },
  3170. {
  3171. "location":"location",
  3172. "action":"s2",
  3173. "guard":{
  3174. "exp":{
  3175. "op":"=",
  3176. "left":"p2",
  3177. "right":12
  3178. }
  3179. },
  3180. "destinations":[
  3181. {
  3182. "probability":{
  3183. "exp":1
  3184. },
  3185. "location":"location",
  3186. "assignments":[
  3187. {
  3188. "ref":"p2",
  3189. "value":13
  3190. }
  3191. ]
  3192. }
  3193. ]
  3194. },
  3195. {
  3196. "location":"location",
  3197. "action":"s2",
  3198. "guard":{
  3199. "exp":{
  3200. "op":"=",
  3201. "left":"p2",
  3202. "right":13
  3203. }
  3204. },
  3205. "destinations":[
  3206. {
  3207. "probability":{
  3208. "exp":1
  3209. },
  3210. "location":"location",
  3211. "assignments":[
  3212. {
  3213. "ref":"p2",
  3214. "value":0
  3215. }
  3216. ]
  3217. }
  3218. ]
  3219. },
  3220. {
  3221. "location":"location",
  3222. "action":"s2",
  3223. "guard":{
  3224. "exp":{
  3225. "op":"=",
  3226. "left":"p2",
  3227. "right":13
  3228. }
  3229. },
  3230. "destinations":[
  3231. {
  3232. "probability":{
  3233. "exp":1
  3234. },
  3235. "location":"location",
  3236. "assignments":[
  3237. {
  3238. "ref":"p2",
  3239. "value":13
  3240. }
  3241. ]
  3242. }
  3243. ]
  3244. }
  3245. ]
  3246. },
  3247. {
  3248. "name":"phil3",
  3249. "locations":[
  3250. {
  3251. "name":"location"
  3252. }
  3253. ],
  3254. "initial-locations":[
  3255. "location"
  3256. ],
  3257. "edges":[
  3258. {
  3259. "location":"location",
  3260. "action":"s3",
  3261. "guard":{
  3262. "exp":{
  3263. "op":"=",
  3264. "left":"p3",
  3265. "right":0
  3266. }
  3267. },
  3268. "destinations":[
  3269. {
  3270. "probability":{
  3271. "exp":1
  3272. },
  3273. "location":"location",
  3274. "assignments":[
  3275. {
  3276. "ref":"p3",
  3277. "value":0
  3278. }
  3279. ]
  3280. }
  3281. ]
  3282. },
  3283. {
  3284. "location":"location",
  3285. "action":"s3",
  3286. "guard":{
  3287. "exp":{
  3288. "op":"=",
  3289. "left":"p3",
  3290. "right":0
  3291. }
  3292. },
  3293. "destinations":[
  3294. {
  3295. "probability":{
  3296. "exp":1
  3297. },
  3298. "location":"location",
  3299. "assignments":[
  3300. {
  3301. "ref":"p3",
  3302. "value":1
  3303. }
  3304. ]
  3305. }
  3306. ]
  3307. },
  3308. {
  3309. "location":"location",
  3310. "action":"s3",
  3311. "guard":{
  3312. "exp":{
  3313. "op":"=",
  3314. "left":"p3",
  3315. "right":1
  3316. }
  3317. },
  3318. "destinations":[
  3319. {
  3320. "probability":{
  3321. "exp":0.5000000
  3322. },
  3323. "location":"location",
  3324. "assignments":[
  3325. {
  3326. "ref":"p3",
  3327. "value":2
  3328. }
  3329. ]
  3330. },
  3331. {
  3332. "probability":{
  3333. "exp":0.5000000
  3334. },
  3335. "location":"location",
  3336. "assignments":[
  3337. {
  3338. "ref":"p3",
  3339. "value":3
  3340. }
  3341. ]
  3342. }
  3343. ]
  3344. },
  3345. {
  3346. "location":"location",
  3347. "action":"s3",
  3348. "guard":{
  3349. "exp":{
  3350. "op":"∧",
  3351. "left":{
  3352. "op":"=",
  3353. "left":"p3",
  3354. "right":2
  3355. },
  3356. "right":{
  3357. "op":"∨",
  3358. "left":{
  3359. "op":"∨",
  3360. "left":{
  3361. "op":"∨",
  3362. "left":{
  3363. "op":"∧",
  3364. "left":{
  3365. "op":"≥",
  3366. "left":"p1",
  3367. "right":0
  3368. },
  3369. "right":{
  3370. "op":"≤",
  3371. "left":"p1",
  3372. "right":4
  3373. }
  3374. },
  3375. "right":{
  3376. "op":"=",
  3377. "left":"p1",
  3378. "right":6
  3379. }
  3380. },
  3381. "right":{
  3382. "op":"=",
  3383. "left":"p1",
  3384. "right":11
  3385. }
  3386. },
  3387. "right":{
  3388. "op":"=",
  3389. "left":"p1",
  3390. "right":13
  3391. }
  3392. }
  3393. }
  3394. },
  3395. "destinations":[
  3396. {
  3397. "probability":{
  3398. "exp":1
  3399. },
  3400. "location":"location",
  3401. "assignments":[
  3402. {
  3403. "ref":"p3",
  3404. "value":4
  3405. }
  3406. ]
  3407. }
  3408. ]
  3409. },
  3410. {
  3411. "location":"location",
  3412. "action":"s3",
  3413. "guard":{
  3414. "exp":{
  3415. "op":"∧",
  3416. "left":{
  3417. "op":"=",
  3418. "left":"p3",
  3419. "right":2
  3420. },
  3421. "right":{
  3422. "op":"¬",
  3423. "exp":{
  3424. "op":"∨",
  3425. "left":{
  3426. "op":"∨",
  3427. "left":{
  3428. "op":"∨",
  3429. "left":{
  3430. "op":"∧",
  3431. "left":{
  3432. "op":"≥",
  3433. "left":"p1",
  3434. "right":0
  3435. },
  3436. "right":{
  3437. "op":"≤",
  3438. "left":"p1",
  3439. "right":4
  3440. }
  3441. },
  3442. "right":{
  3443. "op":"=",
  3444. "left":"p1",
  3445. "right":6
  3446. }
  3447. },
  3448. "right":{
  3449. "op":"=",
  3450. "left":"p1",
  3451. "right":11
  3452. }
  3453. },
  3454. "right":{
  3455. "op":"=",
  3456. "left":"p1",
  3457. "right":13
  3458. }
  3459. }
  3460. }
  3461. }
  3462. },
  3463. "destinations":[
  3464. {
  3465. "probability":{
  3466. "exp":1
  3467. },
  3468. "location":"location",
  3469. "assignments":[
  3470. {
  3471. "ref":"p3",
  3472. "value":2
  3473. }
  3474. ]
  3475. }
  3476. ]
  3477. },
  3478. {
  3479. "location":"location",
  3480. "action":"s3",
  3481. "guard":{
  3482. "exp":{
  3483. "op":"∧",
  3484. "left":{
  3485. "op":"=",
  3486. "left":"p3",
  3487. "right":3
  3488. },
  3489. "right":{
  3490. "op":"∨",
  3491. "left":{
  3492. "op":"∨",
  3493. "left":{
  3494. "op":"∨",
  3495. "left":{
  3496. "op":"∨",
  3497. "left":{
  3498. "op":"∧",
  3499. "left":{
  3500. "op":"≥",
  3501. "left":"p2",
  3502. "right":0
  3503. },
  3504. "right":{
  3505. "op":"≤",
  3506. "left":"p2",
  3507. "right":3
  3508. }
  3509. },
  3510. "right":{
  3511. "op":"=",
  3512. "left":"p2",
  3513. "right":5
  3514. }
  3515. },
  3516. "right":{
  3517. "op":"=",
  3518. "left":"p2",
  3519. "right":7
  3520. }
  3521. },
  3522. "right":{
  3523. "op":"=",
  3524. "left":"p2",
  3525. "right":12
  3526. }
  3527. },
  3528. "right":{
  3529. "op":"=",
  3530. "left":"p2",
  3531. "right":13
  3532. }
  3533. }
  3534. }
  3535. },
  3536. "destinations":[
  3537. {
  3538. "probability":{
  3539. "exp":1
  3540. },
  3541. "location":"location",
  3542. "assignments":[
  3543. {
  3544. "ref":"p3",
  3545. "value":5
  3546. }
  3547. ]
  3548. }
  3549. ]
  3550. },
  3551. {
  3552. "location":"location",
  3553. "action":"s3",
  3554. "guard":{
  3555. "exp":{
  3556. "op":"∧",
  3557. "left":{
  3558. "op":"=",
  3559. "left":"p3",
  3560. "right":3
  3561. },
  3562. "right":{
  3563. "op":"¬",
  3564. "exp":{
  3565. "op":"∨",
  3566. "left":{
  3567. "op":"∨",
  3568. "left":{
  3569. "op":"∨",
  3570. "left":{
  3571. "op":"∨",
  3572. "left":{
  3573. "op":"∧",
  3574. "left":{
  3575. "op":"≥",
  3576. "left":"p2",
  3577. "right":0
  3578. },
  3579. "right":{
  3580. "op":"≤",
  3581. "left":"p2",
  3582. "right":3
  3583. }
  3584. },
  3585. "right":{
  3586. "op":"=",
  3587. "left":"p2",
  3588. "right":5
  3589. }
  3590. },
  3591. "right":{
  3592. "op":"=",
  3593. "left":"p2",
  3594. "right":7
  3595. }
  3596. },
  3597. "right":{
  3598. "op":"=",
  3599. "left":"p2",
  3600. "right":12
  3601. }
  3602. },
  3603. "right":{
  3604. "op":"=",
  3605. "left":"p2",
  3606. "right":13
  3607. }
  3608. }
  3609. }
  3610. }
  3611. },
  3612. "destinations":[
  3613. {
  3614. "probability":{
  3615. "exp":1
  3616. },
  3617. "location":"location",
  3618. "assignments":[
  3619. {
  3620. "ref":"p3",
  3621. "value":3
  3622. }
  3623. ]
  3624. }
  3625. ]
  3626. },
  3627. {
  3628. "location":"location",
  3629. "action":"s3",
  3630. "guard":{
  3631. "exp":{
  3632. "op":"∧",
  3633. "left":{
  3634. "op":"=",
  3635. "left":"p3",
  3636. "right":4
  3637. },
  3638. "right":{
  3639. "op":"∨",
  3640. "left":{
  3641. "op":"∨",
  3642. "left":{
  3643. "op":"∨",
  3644. "left":{
  3645. "op":"∨",
  3646. "left":{
  3647. "op":"∧",
  3648. "left":{
  3649. "op":"≥",
  3650. "left":"p2",
  3651. "right":0
  3652. },
  3653. "right":{
  3654. "op":"≤",
  3655. "left":"p2",
  3656. "right":3
  3657. }
  3658. },
  3659. "right":{
  3660. "op":"=",
  3661. "left":"p2",
  3662. "right":5
  3663. }
  3664. },
  3665. "right":{
  3666. "op":"=",
  3667. "left":"p2",
  3668. "right":7
  3669. }
  3670. },
  3671. "right":{
  3672. "op":"=",
  3673. "left":"p2",
  3674. "right":12
  3675. }
  3676. },
  3677. "right":{
  3678. "op":"=",
  3679. "left":"p2",
  3680. "right":13
  3681. }
  3682. }
  3683. }
  3684. },
  3685. "destinations":[
  3686. {
  3687. "probability":{
  3688. "exp":1
  3689. },
  3690. "location":"location",
  3691. "assignments":[
  3692. {
  3693. "ref":"p3",
  3694. "value":8
  3695. }
  3696. ]
  3697. }
  3698. ]
  3699. },
  3700. {
  3701. "location":"location",
  3702. "action":"s3",
  3703. "guard":{
  3704. "exp":{
  3705. "op":"∧",
  3706. "left":{
  3707. "op":"=",
  3708. "left":"p3",
  3709. "right":4
  3710. },
  3711. "right":{
  3712. "op":"¬",
  3713. "exp":{
  3714. "op":"∨",
  3715. "left":{
  3716. "op":"∨",
  3717. "left":{
  3718. "op":"∨",
  3719. "left":{
  3720. "op":"∨",
  3721. "left":{
  3722. "op":"∧",
  3723. "left":{
  3724. "op":"≥",
  3725. "left":"p2",
  3726. "right":0
  3727. },
  3728. "right":{
  3729. "op":"≤",
  3730. "left":"p2",
  3731. "right":3
  3732. }
  3733. },
  3734. "right":{
  3735. "op":"=",
  3736. "left":"p2",
  3737. "right":5
  3738. }
  3739. },
  3740. "right":{
  3741. "op":"=",
  3742. "left":"p2",
  3743. "right":7
  3744. }
  3745. },
  3746. "right":{
  3747. "op":"=",
  3748. "left":"p2",
  3749. "right":12
  3750. }
  3751. },
  3752. "right":{
  3753. "op":"=",
  3754. "left":"p2",
  3755. "right":13
  3756. }
  3757. }
  3758. }
  3759. }
  3760. },
  3761. "destinations":[
  3762. {
  3763. "probability":{
  3764. "exp":1
  3765. },
  3766. "location":"location",
  3767. "assignments":[
  3768. {
  3769. "ref":"p3",
  3770. "value":6
  3771. }
  3772. ]
  3773. }
  3774. ]
  3775. },
  3776. {
  3777. "location":"location",
  3778. "action":"s3",
  3779. "guard":{
  3780. "exp":{
  3781. "op":"∧",
  3782. "left":{
  3783. "op":"=",
  3784. "left":"p3",
  3785. "right":5
  3786. },
  3787. "right":{
  3788. "op":"∨",
  3789. "left":{
  3790. "op":"∨",
  3791. "left":{
  3792. "op":"∨",
  3793. "left":{
  3794. "op":"∧",
  3795. "left":{
  3796. "op":"≥",
  3797. "left":"p1",
  3798. "right":0
  3799. },
  3800. "right":{
  3801. "op":"≤",
  3802. "left":"p1",
  3803. "right":4
  3804. }
  3805. },
  3806. "right":{
  3807. "op":"=",
  3808. "left":"p1",
  3809. "right":6
  3810. }
  3811. },
  3812. "right":{
  3813. "op":"=",
  3814. "left":"p1",
  3815. "right":11
  3816. }
  3817. },
  3818. "right":{
  3819. "op":"=",
  3820. "left":"p1",
  3821. "right":13
  3822. }
  3823. }
  3824. }
  3825. },
  3826. "destinations":[
  3827. {
  3828. "probability":{
  3829. "exp":1
  3830. },
  3831. "location":"location",
  3832. "assignments":[
  3833. {
  3834. "ref":"p3",
  3835. "value":8
  3836. }
  3837. ]
  3838. }
  3839. ]
  3840. },
  3841. {
  3842. "location":"location",
  3843. "action":"s3",
  3844. "guard":{
  3845. "exp":{
  3846. "op":"∧",
  3847. "left":{
  3848. "op":"=",
  3849. "left":"p3",
  3850. "right":5
  3851. },
  3852. "right":{
  3853. "op":"¬",
  3854. "exp":{
  3855. "op":"∨",
  3856. "left":{
  3857. "op":"∨",
  3858. "left":{
  3859. "op":"∨",
  3860. "left":{
  3861. "op":"∧",
  3862. "left":{
  3863. "op":"≥",
  3864. "left":"p1",
  3865. "right":0
  3866. },
  3867. "right":{
  3868. "op":"≤",
  3869. "left":"p1",
  3870. "right":4
  3871. }
  3872. },
  3873. "right":{
  3874. "op":"=",
  3875. "left":"p1",
  3876. "right":6
  3877. }
  3878. },
  3879. "right":{
  3880. "op":"=",
  3881. "left":"p1",
  3882. "right":11
  3883. }
  3884. },
  3885. "right":{
  3886. "op":"=",
  3887. "left":"p1",
  3888. "right":13
  3889. }
  3890. }
  3891. }
  3892. }
  3893. },
  3894. "destinations":[
  3895. {
  3896. "probability":{
  3897. "exp":1
  3898. },
  3899. "location":"location",
  3900. "assignments":[
  3901. {
  3902. "ref":"p3",
  3903. "value":7
  3904. }
  3905. ]
  3906. }
  3907. ]
  3908. },
  3909. {
  3910. "location":"location",
  3911. "action":"s3",
  3912. "guard":{
  3913. "exp":{
  3914. "op":"=",
  3915. "left":"p3",
  3916. "right":6
  3917. }
  3918. },
  3919. "destinations":[
  3920. {
  3921. "probability":{
  3922. "exp":1
  3923. },
  3924. "location":"location",
  3925. "assignments":[
  3926. {
  3927. "ref":"p3",
  3928. "value":1
  3929. }
  3930. ]
  3931. }
  3932. ]
  3933. },
  3934. {
  3935. "location":"location",
  3936. "action":"s3",
  3937. "guard":{
  3938. "exp":{
  3939. "op":"=",
  3940. "left":"p3",
  3941. "right":7
  3942. }
  3943. },
  3944. "destinations":[
  3945. {
  3946. "probability":{
  3947. "exp":1
  3948. },
  3949. "location":"location",
  3950. "assignments":[
  3951. {
  3952. "ref":"p3",
  3953. "value":1
  3954. }
  3955. ]
  3956. }
  3957. ]
  3958. },
  3959. {
  3960. "location":"location",
  3961. "action":"s3",
  3962. "guard":{
  3963. "exp":{
  3964. "op":"=",
  3965. "left":"p3",
  3966. "right":8
  3967. }
  3968. },
  3969. "destinations":[
  3970. {
  3971. "probability":{
  3972. "exp":1
  3973. },
  3974. "location":"location",
  3975. "assignments":[
  3976. {
  3977. "ref":"p3",
  3978. "value":9
  3979. }
  3980. ]
  3981. }
  3982. ]
  3983. },
  3984. {
  3985. "location":"location",
  3986. "action":"s3",
  3987. "guard":{
  3988. "exp":{
  3989. "op":"=",
  3990. "left":"p3",
  3991. "right":9
  3992. }
  3993. },
  3994. "destinations":[
  3995. {
  3996. "probability":{
  3997. "exp":1
  3998. },
  3999. "location":"location",
  4000. "assignments":[
  4001. {
  4002. "ref":"p3",
  4003. "value":10
  4004. }
  4005. ]
  4006. }
  4007. ]
  4008. },
  4009. {
  4010. "location":"location",
  4011. "action":"s3",
  4012. "guard":{
  4013. "exp":{
  4014. "op":"=",
  4015. "left":"p3",
  4016. "right":10
  4017. }
  4018. },
  4019. "destinations":[
  4020. {
  4021. "probability":{
  4022. "exp":1
  4023. },
  4024. "location":"location",
  4025. "assignments":[
  4026. {
  4027. "ref":"p3",
  4028. "value":11
  4029. }
  4030. ]
  4031. }
  4032. ]
  4033. },
  4034. {
  4035. "location":"location",
  4036. "action":"s3",
  4037. "guard":{
  4038. "exp":{
  4039. "op":"=",
  4040. "left":"p3",
  4041. "right":10
  4042. }
  4043. },
  4044. "destinations":[
  4045. {
  4046. "probability":{
  4047. "exp":1
  4048. },
  4049. "location":"location",
  4050. "assignments":[
  4051. {
  4052. "ref":"p3",
  4053. "value":12
  4054. }
  4055. ]
  4056. }
  4057. ]
  4058. },
  4059. {
  4060. "location":"location",
  4061. "action":"s3",
  4062. "guard":{
  4063. "exp":{
  4064. "op":"=",
  4065. "left":"p3",
  4066. "right":11
  4067. }
  4068. },
  4069. "destinations":[
  4070. {
  4071. "probability":{
  4072. "exp":1
  4073. },
  4074. "location":"location",
  4075. "assignments":[
  4076. {
  4077. "ref":"p3",
  4078. "value":13
  4079. }
  4080. ]
  4081. }
  4082. ]
  4083. },
  4084. {
  4085. "location":"location",
  4086. "action":"s3",
  4087. "guard":{
  4088. "exp":{
  4089. "op":"=",
  4090. "left":"p3",
  4091. "right":12
  4092. }
  4093. },
  4094. "destinations":[
  4095. {
  4096. "probability":{
  4097. "exp":1
  4098. },
  4099. "location":"location",
  4100. "assignments":[
  4101. {
  4102. "ref":"p3",
  4103. "value":13
  4104. }
  4105. ]
  4106. }
  4107. ]
  4108. },
  4109. {
  4110. "location":"location",
  4111. "action":"s3",
  4112. "guard":{
  4113. "exp":{
  4114. "op":"=",
  4115. "left":"p3",
  4116. "right":13
  4117. }
  4118. },
  4119. "destinations":[
  4120. {
  4121. "probability":{
  4122. "exp":1
  4123. },
  4124. "location":"location",
  4125. "assignments":[
  4126. {
  4127. "ref":"p3",
  4128. "value":0
  4129. }
  4130. ]
  4131. }
  4132. ]
  4133. },
  4134. {
  4135. "location":"location",
  4136. "action":"s3",
  4137. "guard":{
  4138. "exp":{
  4139. "op":"=",
  4140. "left":"p3",
  4141. "right":13
  4142. }
  4143. },
  4144. "destinations":[
  4145. {
  4146. "probability":{
  4147. "exp":1
  4148. },
  4149. "location":"location",
  4150. "assignments":[
  4151. {
  4152. "ref":"p3",
  4153. "value":13
  4154. }
  4155. ]
  4156. }
  4157. ]
  4158. }
  4159. ]
  4160. }
  4161. ],
  4162. "system":{
  4163. "elements":[
  4164. {
  4165. "automaton":"counter"
  4166. },
  4167. {
  4168. "automaton":"phil1"
  4169. },
  4170. {
  4171. "automaton":"phil2"
  4172. },
  4173. {
  4174. "automaton":"phil3"
  4175. }
  4176. ],
  4177. "syncs":[
  4178. {
  4179. "synchronise":[
  4180. "s3",
  4181. null,
  4182. null,
  4183. "s3"
  4184. ],
  4185. "result":"s3"
  4186. },
  4187. {
  4188. "synchronise":[
  4189. "s2",
  4190. null,
  4191. "s2",
  4192. null
  4193. ],
  4194. "result":"s2"
  4195. },
  4196. {
  4197. "synchronise":[
  4198. "s1",
  4199. "s1",
  4200. null,
  4201. null
  4202. ],
  4203. "result":"s1"
  4204. }
  4205. ]
  4206. }
  4207. }