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.

3265 lines
117 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":"send1"
  11. },
  12. {
  13. "name":"send2"
  14. },
  15. {
  16. "name":"end1"
  17. },
  18. {
  19. "name":"end2"
  20. },
  21. {
  22. "name":"busy1"
  23. },
  24. {
  25. "name":"busy2"
  26. },
  27. {
  28. "name":"cd"
  29. },
  30. {
  31. "name":"time"
  32. },
  33. {
  34. "name":"tau__"
  35. }
  36. ],
  37. "variables":[
  38. {
  39. "name":"b",
  40. "type":{
  41. "kind":"bounded",
  42. "base":"int",
  43. "lower-bound":0,
  44. "upper-bound":2
  45. }
  46. },
  47. {
  48. "name":"y1",
  49. "type":{
  50. "kind":"bounded",
  51. "base":"int",
  52. "lower-bound":0,
  53. "upper-bound":{
  54. "op":"+",
  55. "left":1,
  56. "right":1
  57. }
  58. }
  59. },
  60. {
  61. "name":"y2",
  62. "type":{
  63. "kind":"bounded",
  64. "base":"int",
  65. "lower-bound":0,
  66. "upper-bound":{
  67. "op":"+",
  68. "left":1,
  69. "right":1
  70. }
  71. }
  72. },
  73. {
  74. "name":"s1",
  75. "type":{
  76. "kind":"bounded",
  77. "base":"int",
  78. "lower-bound":0,
  79. "upper-bound":5
  80. }
  81. },
  82. {
  83. "name":"x1",
  84. "type":{
  85. "kind":"bounded",
  86. "base":"int",
  87. "lower-bound":0,
  88. "upper-bound":{
  89. "op":"max",
  90. "left":30,
  91. "right":{
  92. "op":"*",
  93. "left":2,
  94. "right":1
  95. }
  96. }
  97. }
  98. },
  99. {
  100. "name":"bc1",
  101. "type":{
  102. "kind":"bounded",
  103. "base":"int",
  104. "lower-bound":0,
  105. "upper-bound":{
  106. "op":"-",
  107. "left":{
  108. "op":"⌊⌋",
  109. "exp":{
  110. "op":"pow",
  111. "left":2,
  112. "right":4
  113. }
  114. },
  115. "right":1
  116. }
  117. }
  118. },
  119. {
  120. "name":"cd1",
  121. "type":{
  122. "kind":"bounded",
  123. "base":"int",
  124. "lower-bound":0,
  125. "upper-bound":4
  126. }
  127. },
  128. {
  129. "name":"s2",
  130. "type":{
  131. "kind":"bounded",
  132. "base":"int",
  133. "lower-bound":0,
  134. "upper-bound":5
  135. }
  136. },
  137. {
  138. "name":"x2",
  139. "type":{
  140. "kind":"bounded",
  141. "base":"int",
  142. "lower-bound":0,
  143. "upper-bound":{
  144. "op":"max",
  145. "left":30,
  146. "right":{
  147. "op":"*",
  148. "left":2,
  149. "right":1
  150. }
  151. }
  152. }
  153. },
  154. {
  155. "name":"bc2",
  156. "type":{
  157. "kind":"bounded",
  158. "base":"int",
  159. "lower-bound":0,
  160. "upper-bound":{
  161. "op":"-",
  162. "left":{
  163. "op":"⌊⌋",
  164. "exp":{
  165. "op":"pow",
  166. "left":2,
  167. "right":4
  168. }
  169. },
  170. "right":1
  171. }
  172. }
  173. },
  174. {
  175. "name":"cd2",
  176. "type":{
  177. "kind":"bounded",
  178. "base":"int",
  179. "lower-bound":0,
  180. "upper-bound":4
  181. }
  182. }
  183. ],
  184. "observables":[
  185. {
  186. "name":"\"time\""
  187. }
  188. ],
  189. "initial-states":{
  190. "exp":{
  191. "op":"∧",
  192. "left":{
  193. "op":"∧",
  194. "left":{
  195. "op":"∧",
  196. "left":{
  197. "op":"∧",
  198. "left":{
  199. "op":"∧",
  200. "left":{
  201. "op":"∧",
  202. "left":{
  203. "op":"∧",
  204. "left":{
  205. "op":"∧",
  206. "left":{
  207. "op":"∧",
  208. "left":{
  209. "op":"∧",
  210. "left":{
  211. "op":"=",
  212. "left":"b",
  213. "right":0
  214. },
  215. "right":{
  216. "op":"=",
  217. "left":"y1",
  218. "right":0
  219. }
  220. },
  221. "right":{
  222. "op":"=",
  223. "left":"y2",
  224. "right":0
  225. }
  226. },
  227. "right":{
  228. "op":"=",
  229. "left":"s1",
  230. "right":0
  231. }
  232. },
  233. "right":{
  234. "op":"=",
  235. "left":"x1",
  236. "right":0
  237. }
  238. },
  239. "right":{
  240. "op":"=",
  241. "left":"bc1",
  242. "right":0
  243. }
  244. },
  245. "right":{
  246. "op":"=",
  247. "left":"cd1",
  248. "right":0
  249. }
  250. },
  251. "right":{
  252. "op":"=",
  253. "left":"s2",
  254. "right":0
  255. }
  256. },
  257. "right":{
  258. "op":"=",
  259. "left":"x2",
  260. "right":0
  261. }
  262. },
  263. "right":{
  264. "op":"=",
  265. "left":"bc2",
  266. "right":0
  267. }
  268. },
  269. "right":{
  270. "op":"=",
  271. "left":"cd2",
  272. "right":0
  273. }
  274. }
  275. },
  276. "automata":[
  277. {
  278. "name":"bus",
  279. "locations":[
  280. {
  281. "name":"location"
  282. }
  283. ],
  284. "initial-locations":[
  285. "location"
  286. ],
  287. "edges":[
  288. {
  289. "location":"location",
  290. "action":"send1",
  291. "guard":{
  292. "exp":{
  293. "op":"=",
  294. "left":"b",
  295. "right":0
  296. }
  297. },
  298. "destinations":[
  299. {
  300. "probability":{
  301. "exp":1
  302. },
  303. "location":"location",
  304. "assignments":[
  305. {
  306. "ref":"b",
  307. "value":1
  308. }
  309. ],
  310. "observables":[
  311. ]
  312. }
  313. ]
  314. },
  315. {
  316. "location":"location",
  317. "action":"send2",
  318. "guard":{
  319. "exp":{
  320. "op":"=",
  321. "left":"b",
  322. "right":0
  323. }
  324. },
  325. "destinations":[
  326. {
  327. "probability":{
  328. "exp":1
  329. },
  330. "location":"location",
  331. "assignments":[
  332. {
  333. "ref":"b",
  334. "value":1
  335. }
  336. ],
  337. "observables":[
  338. ]
  339. }
  340. ]
  341. },
  342. {
  343. "location":"location",
  344. "action":"send1",
  345. "guard":{
  346. "exp":{
  347. "op":"∧",
  348. "left":{
  349. "op":"∨",
  350. "left":{
  351. "op":"=",
  352. "left":"b",
  353. "right":1
  354. },
  355. "right":{
  356. "op":"=",
  357. "left":"b",
  358. "right":2
  359. }
  360. },
  361. "right":{
  362. "op":"<",
  363. "left":"y1",
  364. "right":1
  365. }
  366. }
  367. },
  368. "destinations":[
  369. {
  370. "probability":{
  371. "exp":1
  372. },
  373. "location":"location",
  374. "assignments":[
  375. {
  376. "ref":"b",
  377. "value":2
  378. }
  379. ],
  380. "observables":[
  381. ]
  382. }
  383. ]
  384. },
  385. {
  386. "location":"location",
  387. "action":"send2",
  388. "guard":{
  389. "exp":{
  390. "op":"∧",
  391. "left":{
  392. "op":"∨",
  393. "left":{
  394. "op":"=",
  395. "left":"b",
  396. "right":1
  397. },
  398. "right":{
  399. "op":"=",
  400. "left":"b",
  401. "right":2
  402. }
  403. },
  404. "right":{
  405. "op":"<",
  406. "left":"y1",
  407. "right":1
  408. }
  409. }
  410. },
  411. "destinations":[
  412. {
  413. "probability":{
  414. "exp":1
  415. },
  416. "location":"location",
  417. "assignments":[
  418. {
  419. "ref":"b",
  420. "value":2
  421. }
  422. ],
  423. "observables":[
  424. ]
  425. }
  426. ]
  427. },
  428. {
  429. "location":"location",
  430. "action":"end1",
  431. "guard":{
  432. "exp":{
  433. "op":"=",
  434. "left":"b",
  435. "right":1
  436. }
  437. },
  438. "destinations":[
  439. {
  440. "probability":{
  441. "exp":1
  442. },
  443. "location":"location",
  444. "assignments":[
  445. {
  446. "ref":"b",
  447. "value":0
  448. },
  449. {
  450. "ref":"y1",
  451. "value":0
  452. }
  453. ],
  454. "observables":[
  455. ]
  456. }
  457. ]
  458. },
  459. {
  460. "location":"location",
  461. "action":"end2",
  462. "guard":{
  463. "exp":{
  464. "op":"=",
  465. "left":"b",
  466. "right":1
  467. }
  468. },
  469. "destinations":[
  470. {
  471. "probability":{
  472. "exp":1
  473. },
  474. "location":"location",
  475. "assignments":[
  476. {
  477. "ref":"b",
  478. "value":0
  479. },
  480. {
  481. "ref":"y1",
  482. "value":0
  483. }
  484. ],
  485. "observables":[
  486. ]
  487. }
  488. ]
  489. },
  490. {
  491. "location":"location",
  492. "action":"busy1",
  493. "guard":{
  494. "exp":{
  495. "op":"∧",
  496. "left":{
  497. "op":"∨",
  498. "left":{
  499. "op":"=",
  500. "left":"b",
  501. "right":1
  502. },
  503. "right":{
  504. "op":"=",
  505. "left":"b",
  506. "right":2
  507. }
  508. },
  509. "right":{
  510. "op":"≥",
  511. "left":"y1",
  512. "right":1
  513. }
  514. }
  515. },
  516. "destinations":[
  517. {
  518. "probability":{
  519. "exp":1
  520. },
  521. "location":"location",
  522. "assignments":[
  523. {
  524. "ref":"b",
  525. "value":"b"
  526. }
  527. ],
  528. "observables":[
  529. ]
  530. }
  531. ]
  532. },
  533. {
  534. "location":"location",
  535. "action":"busy2",
  536. "guard":{
  537. "exp":{
  538. "op":"∧",
  539. "left":{
  540. "op":"∨",
  541. "left":{
  542. "op":"=",
  543. "left":"b",
  544. "right":1
  545. },
  546. "right":{
  547. "op":"=",
  548. "left":"b",
  549. "right":2
  550. }
  551. },
  552. "right":{
  553. "op":"≥",
  554. "left":"y1",
  555. "right":1
  556. }
  557. }
  558. },
  559. "destinations":[
  560. {
  561. "probability":{
  562. "exp":1
  563. },
  564. "location":"location",
  565. "assignments":[
  566. {
  567. "ref":"b",
  568. "value":"b"
  569. }
  570. ],
  571. "observables":[
  572. ]
  573. }
  574. ]
  575. },
  576. {
  577. "location":"location",
  578. "action":"cd",
  579. "guard":{
  580. "exp":{
  581. "op":"∧",
  582. "left":{
  583. "op":"=",
  584. "left":"b",
  585. "right":2
  586. },
  587. "right":{
  588. "op":"≤",
  589. "left":"y2",
  590. "right":1
  591. }
  592. }
  593. },
  594. "destinations":[
  595. {
  596. "probability":{
  597. "exp":1
  598. },
  599. "location":"location",
  600. "assignments":[
  601. {
  602. "ref":"b",
  603. "value":0
  604. },
  605. {
  606. "ref":"y1",
  607. "value":0
  608. },
  609. {
  610. "ref":"y2",
  611. "value":0
  612. }
  613. ],
  614. "observables":[
  615. ]
  616. }
  617. ]
  618. },
  619. {
  620. "location":"location",
  621. "action":"time",
  622. "guard":{
  623. "exp":{
  624. "op":"=",
  625. "left":"b",
  626. "right":0
  627. }
  628. },
  629. "destinations":[
  630. {
  631. "probability":{
  632. "exp":1
  633. },
  634. "location":"location",
  635. "assignments":[
  636. {
  637. "ref":"y1",
  638. "value":0
  639. }
  640. ],
  641. "observables":[
  642. {
  643. "ref":"\"time\"",
  644. "value":1
  645. }
  646. ]
  647. }
  648. ]
  649. },
  650. {
  651. "location":"location",
  652. "action":"time",
  653. "guard":{
  654. "exp":{
  655. "op":"=",
  656. "left":"b",
  657. "right":1
  658. }
  659. },
  660. "destinations":[
  661. {
  662. "probability":{
  663. "exp":1
  664. },
  665. "location":"location",
  666. "assignments":[
  667. {
  668. "ref":"y1",
  669. "value":{
  670. "op":"min",
  671. "left":{
  672. "op":"+",
  673. "left":"y1",
  674. "right":1
  675. },
  676. "right":{
  677. "op":"+",
  678. "left":1,
  679. "right":1
  680. }
  681. }
  682. }
  683. ],
  684. "observables":[
  685. {
  686. "ref":"\"time\"",
  687. "value":1
  688. }
  689. ]
  690. }
  691. ]
  692. },
  693. {
  694. "location":"location",
  695. "action":"time",
  696. "guard":{
  697. "exp":{
  698. "op":"∧",
  699. "left":{
  700. "op":"=",
  701. "left":"b",
  702. "right":2
  703. },
  704. "right":{
  705. "op":"<",
  706. "left":"y2",
  707. "right":1
  708. }
  709. }
  710. },
  711. "destinations":[
  712. {
  713. "probability":{
  714. "exp":1
  715. },
  716. "location":"location",
  717. "assignments":[
  718. {
  719. "ref":"y1",
  720. "value":{
  721. "op":"min",
  722. "left":{
  723. "op":"+",
  724. "left":"y1",
  725. "right":1
  726. },
  727. "right":{
  728. "op":"+",
  729. "left":1,
  730. "right":1
  731. }
  732. }
  733. },
  734. {
  735. "ref":"y2",
  736. "value":{
  737. "op":"min",
  738. "left":{
  739. "op":"+",
  740. "left":"y2",
  741. "right":1
  742. },
  743. "right":{
  744. "op":"+",
  745. "left":1,
  746. "right":1
  747. }
  748. }
  749. }
  750. ],
  751. "observables":[
  752. {
  753. "ref":"\"time\"",
  754. "value":1
  755. }
  756. ]
  757. }
  758. ]
  759. }
  760. ]
  761. },
  762. {
  763. "name":"station1",
  764. "locations":[
  765. {
  766. "name":"location"
  767. }
  768. ],
  769. "initial-locations":[
  770. "location"
  771. ],
  772. "edges":[
  773. {
  774. "location":"location",
  775. "action":"send1",
  776. "guard":{
  777. "exp":{
  778. "op":"=",
  779. "left":"s1",
  780. "right":0
  781. }
  782. },
  783. "destinations":[
  784. {
  785. "probability":{
  786. "exp":1
  787. },
  788. "location":"location",
  789. "assignments":[
  790. {
  791. "ref":"s1",
  792. "value":1
  793. },
  794. {
  795. "ref":"x1",
  796. "value":0
  797. }
  798. ]
  799. }
  800. ]
  801. },
  802. {
  803. "location":"location",
  804. "action":"busy1",
  805. "guard":{
  806. "exp":{
  807. "op":"=",
  808. "left":"s1",
  809. "right":0
  810. }
  811. },
  812. "destinations":[
  813. {
  814. "probability":{
  815. "exp":1
  816. },
  817. "location":"location",
  818. "assignments":[
  819. {
  820. "ref":"s1",
  821. "value":2
  822. },
  823. {
  824. "ref":"x1",
  825. "value":0
  826. },
  827. {
  828. "ref":"cd1",
  829. "value":{
  830. "op":"min",
  831. "left":4,
  832. "right":{
  833. "op":"+",
  834. "left":"cd1",
  835. "right":1
  836. }
  837. }
  838. }
  839. ]
  840. }
  841. ]
  842. },
  843. {
  844. "location":"location",
  845. "action":"time",
  846. "guard":{
  847. "exp":{
  848. "op":"∧",
  849. "left":{
  850. "op":"=",
  851. "left":"s1",
  852. "right":1
  853. },
  854. "right":{
  855. "op":"<",
  856. "left":"x1",
  857. "right":30
  858. }
  859. }
  860. },
  861. "destinations":[
  862. {
  863. "probability":{
  864. "exp":1
  865. },
  866. "location":"location",
  867. "assignments":[
  868. {
  869. "ref":"x1",
  870. "value":{
  871. "op":"min",
  872. "left":{
  873. "op":"+",
  874. "left":"x1",
  875. "right":1
  876. },
  877. "right":30
  878. }
  879. }
  880. ]
  881. }
  882. ]
  883. },
  884. {
  885. "location":"location",
  886. "action":"end1",
  887. "guard":{
  888. "exp":{
  889. "op":"∧",
  890. "left":{
  891. "op":"=",
  892. "left":"s1",
  893. "right":1
  894. },
  895. "right":{
  896. "op":"=",
  897. "left":"x1",
  898. "right":30
  899. }
  900. }
  901. },
  902. "destinations":[
  903. {
  904. "probability":{
  905. "exp":1
  906. },
  907. "location":"location",
  908. "assignments":[
  909. {
  910. "ref":"s1",
  911. "value":4
  912. },
  913. {
  914. "ref":"x1",
  915. "value":0
  916. }
  917. ]
  918. }
  919. ]
  920. },
  921. {
  922. "location":"location",
  923. "action":"cd",
  924. "guard":{
  925. "exp":{
  926. "op":"=",
  927. "left":"s1",
  928. "right":1
  929. }
  930. },
  931. "destinations":[
  932. {
  933. "probability":{
  934. "exp":1
  935. },
  936. "location":"location",
  937. "assignments":[
  938. {
  939. "ref":"s1",
  940. "value":2
  941. },
  942. {
  943. "ref":"x1",
  944. "value":0
  945. },
  946. {
  947. "ref":"cd1",
  948. "value":{
  949. "op":"min",
  950. "left":4,
  951. "right":{
  952. "op":"+",
  953. "left":"cd1",
  954. "right":1
  955. }
  956. }
  957. }
  958. ]
  959. }
  960. ]
  961. },
  962. {
  963. "location":"location",
  964. "action":"cd",
  965. "guard":{
  966. "exp":{
  967. "op":"¬",
  968. "exp":{
  969. "op":"=",
  970. "left":"s1",
  971. "right":1
  972. }
  973. }
  974. },
  975. "destinations":[
  976. {
  977. "probability":{
  978. "exp":1
  979. },
  980. "location":"location",
  981. "assignments":[
  982. {
  983. "ref":"s1",
  984. "value":"s1"
  985. }
  986. ]
  987. }
  988. ]
  989. },
  990. {
  991. "location":"location",
  992. "action":"tau__",
  993. "guard":{
  994. "exp":{
  995. "op":"∧",
  996. "left":{
  997. "op":"=",
  998. "left":"s1",
  999. "right":2
  1000. },
  1001. "right":{
  1002. "op":"=",
  1003. "left":"cd1",
  1004. "right":1
  1005. }
  1006. }
  1007. },
  1008. "destinations":[
  1009. {
  1010. "probability":{
  1011. "exp":{
  1012. "op":"/",
  1013. "left":1,
  1014. "right":2
  1015. }
  1016. },
  1017. "location":"location",
  1018. "assignments":[
  1019. {
  1020. "ref":"s1",
  1021. "value":3
  1022. },
  1023. {
  1024. "ref":"bc1",
  1025. "value":0
  1026. }
  1027. ],
  1028. "observables":[
  1029. ]
  1030. },
  1031. {
  1032. "probability":{
  1033. "exp":{
  1034. "op":"/",
  1035. "left":1,
  1036. "right":2
  1037. }
  1038. },
  1039. "location":"location",
  1040. "assignments":[
  1041. {
  1042. "ref":"s1",
  1043. "value":3
  1044. },
  1045. {
  1046. "ref":"bc1",
  1047. "value":1
  1048. }
  1049. ],
  1050. "observables":[
  1051. ]
  1052. }
  1053. ]
  1054. },
  1055. {
  1056. "location":"location",
  1057. "action":"tau__",
  1058. "guard":{
  1059. "exp":{
  1060. "op":"∧",
  1061. "left":{
  1062. "op":"=",
  1063. "left":"s1",
  1064. "right":2
  1065. },
  1066. "right":{
  1067. "op":"=",
  1068. "left":"cd1",
  1069. "right":2
  1070. }
  1071. }
  1072. },
  1073. "destinations":[
  1074. {
  1075. "probability":{
  1076. "exp":{
  1077. "op":"/",
  1078. "left":1,
  1079. "right":4
  1080. }
  1081. },
  1082. "location":"location",
  1083. "assignments":[
  1084. {
  1085. "ref":"s1",
  1086. "value":3
  1087. },
  1088. {
  1089. "ref":"bc1",
  1090. "value":0
  1091. }
  1092. ],
  1093. "observables":[
  1094. ]
  1095. },
  1096. {
  1097. "probability":{
  1098. "exp":{
  1099. "op":"/",
  1100. "left":1,
  1101. "right":4
  1102. }
  1103. },
  1104. "location":"location",
  1105. "assignments":[
  1106. {
  1107. "ref":"s1",
  1108. "value":3
  1109. },
  1110. {
  1111. "ref":"bc1",
  1112. "value":1
  1113. }
  1114. ],
  1115. "observables":[
  1116. ]
  1117. },
  1118. {
  1119. "probability":{
  1120. "exp":{
  1121. "op":"/",
  1122. "left":1,
  1123. "right":4
  1124. }
  1125. },
  1126. "location":"location",
  1127. "assignments":[
  1128. {
  1129. "ref":"s1",
  1130. "value":3
  1131. },
  1132. {
  1133. "ref":"bc1",
  1134. "value":2
  1135. }
  1136. ],
  1137. "observables":[
  1138. ]
  1139. },
  1140. {
  1141. "probability":{
  1142. "exp":{
  1143. "op":"/",
  1144. "left":1,
  1145. "right":4
  1146. }
  1147. },
  1148. "location":"location",
  1149. "assignments":[
  1150. {
  1151. "ref":"s1",
  1152. "value":3
  1153. },
  1154. {
  1155. "ref":"bc1",
  1156. "value":3
  1157. }
  1158. ],
  1159. "observables":[
  1160. ]
  1161. }
  1162. ]
  1163. },
  1164. {
  1165. "location":"location",
  1166. "action":"tau__",
  1167. "guard":{
  1168. "exp":{
  1169. "op":"∧",
  1170. "left":{
  1171. "op":"=",
  1172. "left":"s1",
  1173. "right":2
  1174. },
  1175. "right":{
  1176. "op":"=",
  1177. "left":"cd1",
  1178. "right":3
  1179. }
  1180. }
  1181. },
  1182. "destinations":[
  1183. {
  1184. "probability":{
  1185. "exp":{
  1186. "op":"/",
  1187. "left":1,
  1188. "right":8
  1189. }
  1190. },
  1191. "location":"location",
  1192. "assignments":[
  1193. {
  1194. "ref":"s1",
  1195. "value":3
  1196. },
  1197. {
  1198. "ref":"bc1",
  1199. "value":0
  1200. }
  1201. ],
  1202. "observables":[
  1203. ]
  1204. },
  1205. {
  1206. "probability":{
  1207. "exp":{
  1208. "op":"/",
  1209. "left":1,
  1210. "right":8
  1211. }
  1212. },
  1213. "location":"location",
  1214. "assignments":[
  1215. {
  1216. "ref":"s1",
  1217. "value":3
  1218. },
  1219. {
  1220. "ref":"bc1",
  1221. "value":1
  1222. }
  1223. ],
  1224. "observables":[
  1225. ]
  1226. },
  1227. {
  1228. "probability":{
  1229. "exp":{
  1230. "op":"/",
  1231. "left":1,
  1232. "right":8
  1233. }
  1234. },
  1235. "location":"location",
  1236. "assignments":[
  1237. {
  1238. "ref":"s1",
  1239. "value":3
  1240. },
  1241. {
  1242. "ref":"bc1",
  1243. "value":2
  1244. }
  1245. ],
  1246. "observables":[
  1247. ]
  1248. },
  1249. {
  1250. "probability":{
  1251. "exp":{
  1252. "op":"/",
  1253. "left":1,
  1254. "right":8
  1255. }
  1256. },
  1257. "location":"location",
  1258. "assignments":[
  1259. {
  1260. "ref":"s1",
  1261. "value":3
  1262. },
  1263. {
  1264. "ref":"bc1",
  1265. "value":3
  1266. }
  1267. ],
  1268. "observables":[
  1269. ]
  1270. },
  1271. {
  1272. "probability":{
  1273. "exp":{
  1274. "op":"/",
  1275. "left":1,
  1276. "right":8
  1277. }
  1278. },
  1279. "location":"location",
  1280. "assignments":[
  1281. {
  1282. "ref":"s1",
  1283. "value":3
  1284. },
  1285. {
  1286. "ref":"bc1",
  1287. "value":4
  1288. }
  1289. ],
  1290. "observables":[
  1291. ]
  1292. },
  1293. {
  1294. "probability":{
  1295. "exp":{
  1296. "op":"/",
  1297. "left":1,
  1298. "right":8
  1299. }
  1300. },
  1301. "location":"location",
  1302. "assignments":[
  1303. {
  1304. "ref":"s1",
  1305. "value":3
  1306. },
  1307. {
  1308. "ref":"bc1",
  1309. "value":5
  1310. }
  1311. ],
  1312. "observables":[
  1313. ]
  1314. },
  1315. {
  1316. "probability":{
  1317. "exp":{
  1318. "op":"/",
  1319. "left":1,
  1320. "right":8
  1321. }
  1322. },
  1323. "location":"location",
  1324. "assignments":[
  1325. {
  1326. "ref":"s1",
  1327. "value":3
  1328. },
  1329. {
  1330. "ref":"bc1",
  1331. "value":6
  1332. }
  1333. ],
  1334. "observables":[
  1335. ]
  1336. },
  1337. {
  1338. "probability":{
  1339. "exp":{
  1340. "op":"/",
  1341. "left":1,
  1342. "right":8
  1343. }
  1344. },
  1345. "location":"location",
  1346. "assignments":[
  1347. {
  1348. "ref":"s1",
  1349. "value":3
  1350. },
  1351. {
  1352. "ref":"bc1",
  1353. "value":7
  1354. }
  1355. ],
  1356. "observables":[
  1357. ]
  1358. }
  1359. ]
  1360. },
  1361. {
  1362. "location":"location",
  1363. "action":"tau__",
  1364. "guard":{
  1365. "exp":{
  1366. "op":"∧",
  1367. "left":{
  1368. "op":"=",
  1369. "left":"s1",
  1370. "right":2
  1371. },
  1372. "right":{
  1373. "op":"=",
  1374. "left":"cd1",
  1375. "right":4
  1376. }
  1377. }
  1378. },
  1379. "destinations":[
  1380. {
  1381. "probability":{
  1382. "exp":{
  1383. "op":"/",
  1384. "left":1,
  1385. "right":16
  1386. }
  1387. },
  1388. "location":"location",
  1389. "assignments":[
  1390. {
  1391. "ref":"s1",
  1392. "value":3
  1393. },
  1394. {
  1395. "ref":"bc1",
  1396. "value":0
  1397. }
  1398. ],
  1399. "observables":[
  1400. ]
  1401. },
  1402. {
  1403. "probability":{
  1404. "exp":{
  1405. "op":"/",
  1406. "left":1,
  1407. "right":16
  1408. }
  1409. },
  1410. "location":"location",
  1411. "assignments":[
  1412. {
  1413. "ref":"s1",
  1414. "value":3
  1415. },
  1416. {
  1417. "ref":"bc1",
  1418. "value":1
  1419. }
  1420. ],
  1421. "observables":[
  1422. ]
  1423. },
  1424. {
  1425. "probability":{
  1426. "exp":{
  1427. "op":"/",
  1428. "left":1,
  1429. "right":16
  1430. }
  1431. },
  1432. "location":"location",
  1433. "assignments":[
  1434. {
  1435. "ref":"s1",
  1436. "value":3
  1437. },
  1438. {
  1439. "ref":"bc1",
  1440. "value":2
  1441. }
  1442. ],
  1443. "observables":[
  1444. ]
  1445. },
  1446. {
  1447. "probability":{
  1448. "exp":{
  1449. "op":"/",
  1450. "left":1,
  1451. "right":16
  1452. }
  1453. },
  1454. "location":"location",
  1455. "assignments":[
  1456. {
  1457. "ref":"s1",
  1458. "value":3
  1459. },
  1460. {
  1461. "ref":"bc1",
  1462. "value":3
  1463. }
  1464. ],
  1465. "observables":[
  1466. ]
  1467. },
  1468. {
  1469. "probability":{
  1470. "exp":{
  1471. "op":"/",
  1472. "left":1,
  1473. "right":16
  1474. }
  1475. },
  1476. "location":"location",
  1477. "assignments":[
  1478. {
  1479. "ref":"s1",
  1480. "value":3
  1481. },
  1482. {
  1483. "ref":"bc1",
  1484. "value":4
  1485. }
  1486. ],
  1487. "observables":[
  1488. ]
  1489. },
  1490. {
  1491. "probability":{
  1492. "exp":{
  1493. "op":"/",
  1494. "left":1,
  1495. "right":16
  1496. }
  1497. },
  1498. "location":"location",
  1499. "assignments":[
  1500. {
  1501. "ref":"s1",
  1502. "value":3
  1503. },
  1504. {
  1505. "ref":"bc1",
  1506. "value":5
  1507. }
  1508. ],
  1509. "observables":[
  1510. ]
  1511. },
  1512. {
  1513. "probability":{
  1514. "exp":{
  1515. "op":"/",
  1516. "left":1,
  1517. "right":16
  1518. }
  1519. },
  1520. "location":"location",
  1521. "assignments":[
  1522. {
  1523. "ref":"s1",
  1524. "value":3
  1525. },
  1526. {
  1527. "ref":"bc1",
  1528. "value":6
  1529. }
  1530. ],
  1531. "observables":[
  1532. ]
  1533. },
  1534. {
  1535. "probability":{
  1536. "exp":{
  1537. "op":"/",
  1538. "left":1,
  1539. "right":16
  1540. }
  1541. },
  1542. "location":"location",
  1543. "assignments":[
  1544. {
  1545. "ref":"s1",
  1546. "value":3
  1547. },
  1548. {
  1549. "ref":"bc1",
  1550. "value":7
  1551. }
  1552. ],
  1553. "observables":[
  1554. ]
  1555. },
  1556. {
  1557. "probability":{
  1558. "exp":{
  1559. "op":"/",
  1560. "left":1,
  1561. "right":16
  1562. }
  1563. },
  1564. "location":"location",
  1565. "assignments":[
  1566. {
  1567. "ref":"s1",
  1568. "value":3
  1569. },
  1570. {
  1571. "ref":"bc1",
  1572. "value":8
  1573. }
  1574. ],
  1575. "observables":[
  1576. ]
  1577. },
  1578. {
  1579. "probability":{
  1580. "exp":{
  1581. "op":"/",
  1582. "left":1,
  1583. "right":16
  1584. }
  1585. },
  1586. "location":"location",
  1587. "assignments":[
  1588. {
  1589. "ref":"s1",
  1590. "value":3
  1591. },
  1592. {
  1593. "ref":"bc1",
  1594. "value":9
  1595. }
  1596. ],
  1597. "observables":[
  1598. ]
  1599. },
  1600. {
  1601. "probability":{
  1602. "exp":{
  1603. "op":"/",
  1604. "left":1,
  1605. "right":16
  1606. }
  1607. },
  1608. "location":"location",
  1609. "assignments":[
  1610. {
  1611. "ref":"s1",
  1612. "value":3
  1613. },
  1614. {
  1615. "ref":"bc1",
  1616. "value":10
  1617. }
  1618. ],
  1619. "observables":[
  1620. ]
  1621. },
  1622. {
  1623. "probability":{
  1624. "exp":{
  1625. "op":"/",
  1626. "left":1,
  1627. "right":16
  1628. }
  1629. },
  1630. "location":"location",
  1631. "assignments":[
  1632. {
  1633. "ref":"s1",
  1634. "value":3
  1635. },
  1636. {
  1637. "ref":"bc1",
  1638. "value":11
  1639. }
  1640. ],
  1641. "observables":[
  1642. ]
  1643. },
  1644. {
  1645. "probability":{
  1646. "exp":{
  1647. "op":"/",
  1648. "left":1,
  1649. "right":16
  1650. }
  1651. },
  1652. "location":"location",
  1653. "assignments":[
  1654. {
  1655. "ref":"s1",
  1656. "value":3
  1657. },
  1658. {
  1659. "ref":"bc1",
  1660. "value":12
  1661. }
  1662. ],
  1663. "observables":[
  1664. ]
  1665. },
  1666. {
  1667. "probability":{
  1668. "exp":{
  1669. "op":"/",
  1670. "left":1,
  1671. "right":16
  1672. }
  1673. },
  1674. "location":"location",
  1675. "assignments":[
  1676. {
  1677. "ref":"s1",
  1678. "value":3
  1679. },
  1680. {
  1681. "ref":"bc1",
  1682. "value":13
  1683. }
  1684. ],
  1685. "observables":[
  1686. ]
  1687. },
  1688. {
  1689. "probability":{
  1690. "exp":{
  1691. "op":"/",
  1692. "left":1,
  1693. "right":16
  1694. }
  1695. },
  1696. "location":"location",
  1697. "assignments":[
  1698. {
  1699. "ref":"s1",
  1700. "value":3
  1701. },
  1702. {
  1703. "ref":"bc1",
  1704. "value":14
  1705. }
  1706. ],
  1707. "observables":[
  1708. ]
  1709. },
  1710. {
  1711. "probability":{
  1712. "exp":{
  1713. "op":"/",
  1714. "left":1,
  1715. "right":16
  1716. }
  1717. },
  1718. "location":"location",
  1719. "assignments":[
  1720. {
  1721. "ref":"s1",
  1722. "value":3
  1723. },
  1724. {
  1725. "ref":"bc1",
  1726. "value":15
  1727. }
  1728. ],
  1729. "observables":[
  1730. ]
  1731. }
  1732. ]
  1733. },
  1734. {
  1735. "location":"location",
  1736. "action":"time",
  1737. "guard":{
  1738. "exp":{
  1739. "op":"∧",
  1740. "left":{
  1741. "op":"=",
  1742. "left":"s1",
  1743. "right":3
  1744. },
  1745. "right":{
  1746. "op":"<",
  1747. "left":"x1",
  1748. "right":{
  1749. "op":"*",
  1750. "left":2,
  1751. "right":1
  1752. }
  1753. }
  1754. }
  1755. },
  1756. "destinations":[
  1757. {
  1758. "probability":{
  1759. "exp":1
  1760. },
  1761. "location":"location",
  1762. "assignments":[
  1763. {
  1764. "ref":"x1",
  1765. "value":{
  1766. "op":"+",
  1767. "left":"x1",
  1768. "right":1
  1769. }
  1770. }
  1771. ]
  1772. }
  1773. ]
  1774. },
  1775. {
  1776. "location":"location",
  1777. "action":"time",
  1778. "guard":{
  1779. "exp":{
  1780. "op":"∧",
  1781. "left":{
  1782. "op":"∧",
  1783. "left":{
  1784. "op":"=",
  1785. "left":"s1",
  1786. "right":3
  1787. },
  1788. "right":{
  1789. "op":"=",
  1790. "left":"x1",
  1791. "right":{
  1792. "op":"*",
  1793. "left":2,
  1794. "right":1
  1795. }
  1796. }
  1797. },
  1798. "right":{
  1799. "op":">",
  1800. "left":"bc1",
  1801. "right":0
  1802. }
  1803. }
  1804. },
  1805. "destinations":[
  1806. {
  1807. "probability":{
  1808. "exp":1
  1809. },
  1810. "location":"location",
  1811. "assignments":[
  1812. {
  1813. "ref":"x1",
  1814. "value":1
  1815. },
  1816. {
  1817. "ref":"bc1",
  1818. "value":{
  1819. "op":"-",
  1820. "left":"bc1",
  1821. "right":1
  1822. }
  1823. }
  1824. ]
  1825. }
  1826. ]
  1827. },
  1828. {
  1829. "location":"location",
  1830. "action":"send1",
  1831. "guard":{
  1832. "exp":{
  1833. "op":"∧",
  1834. "left":{
  1835. "op":"∧",
  1836. "left":{
  1837. "op":"=",
  1838. "left":"s1",
  1839. "right":3
  1840. },
  1841. "right":{
  1842. "op":"=",
  1843. "left":"x1",
  1844. "right":{
  1845. "op":"*",
  1846. "left":2,
  1847. "right":1
  1848. }
  1849. }
  1850. },
  1851. "right":{
  1852. "op":"=",
  1853. "left":"bc1",
  1854. "right":0
  1855. }
  1856. }
  1857. },
  1858. "destinations":[
  1859. {
  1860. "probability":{
  1861. "exp":1
  1862. },
  1863. "location":"location",
  1864. "assignments":[
  1865. {
  1866. "ref":"s1",
  1867. "value":1
  1868. },
  1869. {
  1870. "ref":"x1",
  1871. "value":0
  1872. }
  1873. ]
  1874. }
  1875. ]
  1876. },
  1877. {
  1878. "location":"location",
  1879. "action":"busy1",
  1880. "guard":{
  1881. "exp":{
  1882. "op":"∧",
  1883. "left":{
  1884. "op":"∧",
  1885. "left":{
  1886. "op":"=",
  1887. "left":"s1",
  1888. "right":3
  1889. },
  1890. "right":{
  1891. "op":"=",
  1892. "left":"x1",
  1893. "right":{
  1894. "op":"*",
  1895. "left":2,
  1896. "right":1
  1897. }
  1898. }
  1899. },
  1900. "right":{
  1901. "op":"=",
  1902. "left":"bc1",
  1903. "right":0
  1904. }
  1905. }
  1906. },
  1907. "destinations":[
  1908. {
  1909. "probability":{
  1910. "exp":1
  1911. },
  1912. "location":"location",
  1913. "assignments":[
  1914. {
  1915. "ref":"s1",
  1916. "value":2
  1917. },
  1918. {
  1919. "ref":"x1",
  1920. "value":0
  1921. },
  1922. {
  1923. "ref":"cd1",
  1924. "value":{
  1925. "op":"min",
  1926. "left":4,
  1927. "right":{
  1928. "op":"+",
  1929. "left":"cd1",
  1930. "right":1
  1931. }
  1932. }
  1933. }
  1934. ]
  1935. }
  1936. ]
  1937. },
  1938. {
  1939. "location":"location",
  1940. "action":"time",
  1941. "guard":{
  1942. "exp":{
  1943. "op":"≥",
  1944. "left":"s1",
  1945. "right":4
  1946. }
  1947. },
  1948. "destinations":[
  1949. {
  1950. "probability":{
  1951. "exp":1
  1952. },
  1953. "location":"location",
  1954. "assignments":[
  1955. {
  1956. "ref":"x1",
  1957. "value":0
  1958. }
  1959. ]
  1960. }
  1961. ]
  1962. }
  1963. ]
  1964. },
  1965. {
  1966. "name":"station2",
  1967. "locations":[
  1968. {
  1969. "name":"location"
  1970. }
  1971. ],
  1972. "initial-locations":[
  1973. "location"
  1974. ],
  1975. "edges":[
  1976. {
  1977. "location":"location",
  1978. "action":"send2",
  1979. "guard":{
  1980. "exp":{
  1981. "op":"=",
  1982. "left":"s2",
  1983. "right":0
  1984. }
  1985. },
  1986. "destinations":[
  1987. {
  1988. "probability":{
  1989. "exp":1
  1990. },
  1991. "location":"location",
  1992. "assignments":[
  1993. {
  1994. "ref":"s2",
  1995. "value":1
  1996. },
  1997. {
  1998. "ref":"x2",
  1999. "value":0
  2000. }
  2001. ]
  2002. }
  2003. ]
  2004. },
  2005. {
  2006. "location":"location",
  2007. "action":"busy2",
  2008. "guard":{
  2009. "exp":{
  2010. "op":"=",
  2011. "left":"s2",
  2012. "right":0
  2013. }
  2014. },
  2015. "destinations":[
  2016. {
  2017. "probability":{
  2018. "exp":1
  2019. },
  2020. "location":"location",
  2021. "assignments":[
  2022. {
  2023. "ref":"s2",
  2024. "value":2
  2025. },
  2026. {
  2027. "ref":"x2",
  2028. "value":0
  2029. },
  2030. {
  2031. "ref":"cd2",
  2032. "value":{
  2033. "op":"min",
  2034. "left":4,
  2035. "right":{
  2036. "op":"+",
  2037. "left":"cd2",
  2038. "right":1
  2039. }
  2040. }
  2041. }
  2042. ]
  2043. }
  2044. ]
  2045. },
  2046. {
  2047. "location":"location",
  2048. "action":"time",
  2049. "guard":{
  2050. "exp":{
  2051. "op":"∧",
  2052. "left":{
  2053. "op":"=",
  2054. "left":"s2",
  2055. "right":1
  2056. },
  2057. "right":{
  2058. "op":"<",
  2059. "left":"x2",
  2060. "right":30
  2061. }
  2062. }
  2063. },
  2064. "destinations":[
  2065. {
  2066. "probability":{
  2067. "exp":1
  2068. },
  2069. "location":"location",
  2070. "assignments":[
  2071. {
  2072. "ref":"x2",
  2073. "value":{
  2074. "op":"min",
  2075. "left":{
  2076. "op":"+",
  2077. "left":"x2",
  2078. "right":1
  2079. },
  2080. "right":30
  2081. }
  2082. }
  2083. ]
  2084. }
  2085. ]
  2086. },
  2087. {
  2088. "location":"location",
  2089. "action":"end2",
  2090. "guard":{
  2091. "exp":{
  2092. "op":"∧",
  2093. "left":{
  2094. "op":"=",
  2095. "left":"s2",
  2096. "right":1
  2097. },
  2098. "right":{
  2099. "op":"=",
  2100. "left":"x2",
  2101. "right":30
  2102. }
  2103. }
  2104. },
  2105. "destinations":[
  2106. {
  2107. "probability":{
  2108. "exp":1
  2109. },
  2110. "location":"location",
  2111. "assignments":[
  2112. {
  2113. "ref":"s2",
  2114. "value":4
  2115. },
  2116. {
  2117. "ref":"x2",
  2118. "value":0
  2119. }
  2120. ]
  2121. }
  2122. ]
  2123. },
  2124. {
  2125. "location":"location",
  2126. "action":"cd",
  2127. "guard":{
  2128. "exp":{
  2129. "op":"=",
  2130. "left":"s2",
  2131. "right":1
  2132. }
  2133. },
  2134. "destinations":[
  2135. {
  2136. "probability":{
  2137. "exp":1
  2138. },
  2139. "location":"location",
  2140. "assignments":[
  2141. {
  2142. "ref":"s2",
  2143. "value":2
  2144. },
  2145. {
  2146. "ref":"x2",
  2147. "value":0
  2148. },
  2149. {
  2150. "ref":"cd2",
  2151. "value":{
  2152. "op":"min",
  2153. "left":4,
  2154. "right":{
  2155. "op":"+",
  2156. "left":"cd2",
  2157. "right":1
  2158. }
  2159. }
  2160. }
  2161. ]
  2162. }
  2163. ]
  2164. },
  2165. {
  2166. "location":"location",
  2167. "action":"cd",
  2168. "guard":{
  2169. "exp":{
  2170. "op":"¬",
  2171. "exp":{
  2172. "op":"=",
  2173. "left":"s2",
  2174. "right":1
  2175. }
  2176. }
  2177. },
  2178. "destinations":[
  2179. {
  2180. "probability":{
  2181. "exp":1
  2182. },
  2183. "location":"location",
  2184. "assignments":[
  2185. {
  2186. "ref":"s2",
  2187. "value":"s2"
  2188. }
  2189. ]
  2190. }
  2191. ]
  2192. },
  2193. {
  2194. "location":"location",
  2195. "action":"tau__",
  2196. "guard":{
  2197. "exp":{
  2198. "op":"∧",
  2199. "left":{
  2200. "op":"=",
  2201. "left":"s2",
  2202. "right":2
  2203. },
  2204. "right":{
  2205. "op":"=",
  2206. "left":"cd2",
  2207. "right":1
  2208. }
  2209. }
  2210. },
  2211. "destinations":[
  2212. {
  2213. "probability":{
  2214. "exp":{
  2215. "op":"/",
  2216. "left":1,
  2217. "right":2
  2218. }
  2219. },
  2220. "location":"location",
  2221. "assignments":[
  2222. {
  2223. "ref":"s2",
  2224. "value":3
  2225. },
  2226. {
  2227. "ref":"bc2",
  2228. "value":0
  2229. }
  2230. ],
  2231. "observables":[
  2232. ]
  2233. },
  2234. {
  2235. "probability":{
  2236. "exp":{
  2237. "op":"/",
  2238. "left":1,
  2239. "right":2
  2240. }
  2241. },
  2242. "location":"location",
  2243. "assignments":[
  2244. {
  2245. "ref":"s2",
  2246. "value":3
  2247. },
  2248. {
  2249. "ref":"bc2",
  2250. "value":1
  2251. }
  2252. ],
  2253. "observables":[
  2254. ]
  2255. }
  2256. ]
  2257. },
  2258. {
  2259. "location":"location",
  2260. "action":"tau__",
  2261. "guard":{
  2262. "exp":{
  2263. "op":"∧",
  2264. "left":{
  2265. "op":"=",
  2266. "left":"s2",
  2267. "right":2
  2268. },
  2269. "right":{
  2270. "op":"=",
  2271. "left":"cd2",
  2272. "right":2
  2273. }
  2274. }
  2275. },
  2276. "destinations":[
  2277. {
  2278. "probability":{
  2279. "exp":{
  2280. "op":"/",
  2281. "left":1,
  2282. "right":4
  2283. }
  2284. },
  2285. "location":"location",
  2286. "assignments":[
  2287. {
  2288. "ref":"s2",
  2289. "value":3
  2290. },
  2291. {
  2292. "ref":"bc2",
  2293. "value":0
  2294. }
  2295. ],
  2296. "observables":[
  2297. ]
  2298. },
  2299. {
  2300. "probability":{
  2301. "exp":{
  2302. "op":"/",
  2303. "left":1,
  2304. "right":4
  2305. }
  2306. },
  2307. "location":"location",
  2308. "assignments":[
  2309. {
  2310. "ref":"s2",
  2311. "value":3
  2312. },
  2313. {
  2314. "ref":"bc2",
  2315. "value":1
  2316. }
  2317. ],
  2318. "observables":[
  2319. ]
  2320. },
  2321. {
  2322. "probability":{
  2323. "exp":{
  2324. "op":"/",
  2325. "left":1,
  2326. "right":4
  2327. }
  2328. },
  2329. "location":"location",
  2330. "assignments":[
  2331. {
  2332. "ref":"s2",
  2333. "value":3
  2334. },
  2335. {
  2336. "ref":"bc2",
  2337. "value":2
  2338. }
  2339. ],
  2340. "observables":[
  2341. ]
  2342. },
  2343. {
  2344. "probability":{
  2345. "exp":{
  2346. "op":"/",
  2347. "left":1,
  2348. "right":4
  2349. }
  2350. },
  2351. "location":"location",
  2352. "assignments":[
  2353. {
  2354. "ref":"s2",
  2355. "value":3
  2356. },
  2357. {
  2358. "ref":"bc2",
  2359. "value":3
  2360. }
  2361. ],
  2362. "observables":[
  2363. ]
  2364. }
  2365. ]
  2366. },
  2367. {
  2368. "location":"location",
  2369. "action":"tau__",
  2370. "guard":{
  2371. "exp":{
  2372. "op":"∧",
  2373. "left":{
  2374. "op":"=",
  2375. "left":"s2",
  2376. "right":2
  2377. },
  2378. "right":{
  2379. "op":"=",
  2380. "left":"cd2",
  2381. "right":3
  2382. }
  2383. }
  2384. },
  2385. "destinations":[
  2386. {
  2387. "probability":{
  2388. "exp":{
  2389. "op":"/",
  2390. "left":1,
  2391. "right":8
  2392. }
  2393. },
  2394. "location":"location",
  2395. "assignments":[
  2396. {
  2397. "ref":"s2",
  2398. "value":3
  2399. },
  2400. {
  2401. "ref":"bc2",
  2402. "value":0
  2403. }
  2404. ],
  2405. "observables":[
  2406. ]
  2407. },
  2408. {
  2409. "probability":{
  2410. "exp":{
  2411. "op":"/",
  2412. "left":1,
  2413. "right":8
  2414. }
  2415. },
  2416. "location":"location",
  2417. "assignments":[
  2418. {
  2419. "ref":"s2",
  2420. "value":3
  2421. },
  2422. {
  2423. "ref":"bc2",
  2424. "value":1
  2425. }
  2426. ],
  2427. "observables":[
  2428. ]
  2429. },
  2430. {
  2431. "probability":{
  2432. "exp":{
  2433. "op":"/",
  2434. "left":1,
  2435. "right":8
  2436. }
  2437. },
  2438. "location":"location",
  2439. "assignments":[
  2440. {
  2441. "ref":"s2",
  2442. "value":3
  2443. },
  2444. {
  2445. "ref":"bc2",
  2446. "value":2
  2447. }
  2448. ],
  2449. "observables":[
  2450. ]
  2451. },
  2452. {
  2453. "probability":{
  2454. "exp":{
  2455. "op":"/",
  2456. "left":1,
  2457. "right":8
  2458. }
  2459. },
  2460. "location":"location",
  2461. "assignments":[
  2462. {
  2463. "ref":"s2",
  2464. "value":3
  2465. },
  2466. {
  2467. "ref":"bc2",
  2468. "value":3
  2469. }
  2470. ],
  2471. "observables":[
  2472. ]
  2473. },
  2474. {
  2475. "probability":{
  2476. "exp":{
  2477. "op":"/",
  2478. "left":1,
  2479. "right":8
  2480. }
  2481. },
  2482. "location":"location",
  2483. "assignments":[
  2484. {
  2485. "ref":"s2",
  2486. "value":3
  2487. },
  2488. {
  2489. "ref":"bc2",
  2490. "value":4
  2491. }
  2492. ],
  2493. "observables":[
  2494. ]
  2495. },
  2496. {
  2497. "probability":{
  2498. "exp":{
  2499. "op":"/",
  2500. "left":1,
  2501. "right":8
  2502. }
  2503. },
  2504. "location":"location",
  2505. "assignments":[
  2506. {
  2507. "ref":"s2",
  2508. "value":3
  2509. },
  2510. {
  2511. "ref":"bc2",
  2512. "value":5
  2513. }
  2514. ],
  2515. "observables":[
  2516. ]
  2517. },
  2518. {
  2519. "probability":{
  2520. "exp":{
  2521. "op":"/",
  2522. "left":1,
  2523. "right":8
  2524. }
  2525. },
  2526. "location":"location",
  2527. "assignments":[
  2528. {
  2529. "ref":"s2",
  2530. "value":3
  2531. },
  2532. {
  2533. "ref":"bc2",
  2534. "value":6
  2535. }
  2536. ],
  2537. "observables":[
  2538. ]
  2539. },
  2540. {
  2541. "probability":{
  2542. "exp":{
  2543. "op":"/",
  2544. "left":1,
  2545. "right":8
  2546. }
  2547. },
  2548. "location":"location",
  2549. "assignments":[
  2550. {
  2551. "ref":"s2",
  2552. "value":3
  2553. },
  2554. {
  2555. "ref":"bc2",
  2556. "value":7
  2557. }
  2558. ],
  2559. "observables":[
  2560. ]
  2561. }
  2562. ]
  2563. },
  2564. {
  2565. "location":"location",
  2566. "action":"tau__",
  2567. "guard":{
  2568. "exp":{
  2569. "op":"∧",
  2570. "left":{
  2571. "op":"=",
  2572. "left":"s2",
  2573. "right":2
  2574. },
  2575. "right":{
  2576. "op":"=",
  2577. "left":"cd2",
  2578. "right":4
  2579. }
  2580. }
  2581. },
  2582. "destinations":[
  2583. {
  2584. "probability":{
  2585. "exp":{
  2586. "op":"/",
  2587. "left":1,
  2588. "right":16
  2589. }
  2590. },
  2591. "location":"location",
  2592. "assignments":[
  2593. {
  2594. "ref":"s2",
  2595. "value":3
  2596. },
  2597. {
  2598. "ref":"bc2",
  2599. "value":0
  2600. }
  2601. ],
  2602. "observables":[
  2603. ]
  2604. },
  2605. {
  2606. "probability":{
  2607. "exp":{
  2608. "op":"/",
  2609. "left":1,
  2610. "right":16
  2611. }
  2612. },
  2613. "location":"location",
  2614. "assignments":[
  2615. {
  2616. "ref":"s2",
  2617. "value":3
  2618. },
  2619. {
  2620. "ref":"bc2",
  2621. "value":1
  2622. }
  2623. ],
  2624. "observables":[
  2625. ]
  2626. },
  2627. {
  2628. "probability":{
  2629. "exp":{
  2630. "op":"/",
  2631. "left":1,
  2632. "right":16
  2633. }
  2634. },
  2635. "location":"location",
  2636. "assignments":[
  2637. {
  2638. "ref":"s2",
  2639. "value":3
  2640. },
  2641. {
  2642. "ref":"bc2",
  2643. "value":2
  2644. }
  2645. ],
  2646. "observables":[
  2647. ]
  2648. },
  2649. {
  2650. "probability":{
  2651. "exp":{
  2652. "op":"/",
  2653. "left":1,
  2654. "right":16
  2655. }
  2656. },
  2657. "location":"location",
  2658. "assignments":[
  2659. {
  2660. "ref":"s2",
  2661. "value":3
  2662. },
  2663. {
  2664. "ref":"bc2",
  2665. "value":3
  2666. }
  2667. ],
  2668. "observables":[
  2669. ]
  2670. },
  2671. {
  2672. "probability":{
  2673. "exp":{
  2674. "op":"/",
  2675. "left":1,
  2676. "right":16
  2677. }
  2678. },
  2679. "location":"location",
  2680. "assignments":[
  2681. {
  2682. "ref":"s2",
  2683. "value":3
  2684. },
  2685. {
  2686. "ref":"bc2",
  2687. "value":4
  2688. }
  2689. ],
  2690. "observables":[
  2691. ]
  2692. },
  2693. {
  2694. "probability":{
  2695. "exp":{
  2696. "op":"/",
  2697. "left":1,
  2698. "right":16
  2699. }
  2700. },
  2701. "location":"location",
  2702. "assignments":[
  2703. {
  2704. "ref":"s2",
  2705. "value":3
  2706. },
  2707. {
  2708. "ref":"bc2",
  2709. "value":5
  2710. }
  2711. ],
  2712. "observables":[
  2713. ]
  2714. },
  2715. {
  2716. "probability":{
  2717. "exp":{
  2718. "op":"/",
  2719. "left":1,
  2720. "right":16
  2721. }
  2722. },
  2723. "location":"location",
  2724. "assignments":[
  2725. {
  2726. "ref":"s2",
  2727. "value":3
  2728. },
  2729. {
  2730. "ref":"bc2",
  2731. "value":6
  2732. }
  2733. ],
  2734. "observables":[
  2735. ]
  2736. },
  2737. {
  2738. "probability":{
  2739. "exp":{
  2740. "op":"/",
  2741. "left":1,
  2742. "right":16
  2743. }
  2744. },
  2745. "location":"location",
  2746. "assignments":[
  2747. {
  2748. "ref":"s2",
  2749. "value":3
  2750. },
  2751. {
  2752. "ref":"bc2",
  2753. "value":7
  2754. }
  2755. ],
  2756. "observables":[
  2757. ]
  2758. },
  2759. {
  2760. "probability":{
  2761. "exp":{
  2762. "op":"/",
  2763. "left":1,
  2764. "right":16
  2765. }
  2766. },
  2767. "location":"location",
  2768. "assignments":[
  2769. {
  2770. "ref":"s2",
  2771. "value":3
  2772. },
  2773. {
  2774. "ref":"bc2",
  2775. "value":8
  2776. }
  2777. ],
  2778. "observables":[
  2779. ]
  2780. },
  2781. {
  2782. "probability":{
  2783. "exp":{
  2784. "op":"/",
  2785. "left":1,
  2786. "right":16
  2787. }
  2788. },
  2789. "location":"location",
  2790. "assignments":[
  2791. {
  2792. "ref":"s2",
  2793. "value":3
  2794. },
  2795. {
  2796. "ref":"bc2",
  2797. "value":9
  2798. }
  2799. ],
  2800. "observables":[
  2801. ]
  2802. },
  2803. {
  2804. "probability":{
  2805. "exp":{
  2806. "op":"/",
  2807. "left":1,
  2808. "right":16
  2809. }
  2810. },
  2811. "location":"location",
  2812. "assignments":[
  2813. {
  2814. "ref":"s2",
  2815. "value":3
  2816. },
  2817. {
  2818. "ref":"bc2",
  2819. "value":10
  2820. }
  2821. ],
  2822. "observables":[
  2823. ]
  2824. },
  2825. {
  2826. "probability":{
  2827. "exp":{
  2828. "op":"/",
  2829. "left":1,
  2830. "right":16
  2831. }
  2832. },
  2833. "location":"location",
  2834. "assignments":[
  2835. {
  2836. "ref":"s2",
  2837. "value":3
  2838. },
  2839. {
  2840. "ref":"bc2",
  2841. "value":11
  2842. }
  2843. ],
  2844. "observables":[
  2845. ]
  2846. },
  2847. {
  2848. "probability":{
  2849. "exp":{
  2850. "op":"/",
  2851. "left":1,
  2852. "right":16
  2853. }
  2854. },
  2855. "location":"location",
  2856. "assignments":[
  2857. {
  2858. "ref":"s2",
  2859. "value":3
  2860. },
  2861. {
  2862. "ref":"bc2",
  2863. "value":12
  2864. }
  2865. ],
  2866. "observables":[
  2867. ]
  2868. },
  2869. {
  2870. "probability":{
  2871. "exp":{
  2872. "op":"/",
  2873. "left":1,
  2874. "right":16
  2875. }
  2876. },
  2877. "location":"location",
  2878. "assignments":[
  2879. {
  2880. "ref":"s2",
  2881. "value":3
  2882. },
  2883. {
  2884. "ref":"bc2",
  2885. "value":13
  2886. }
  2887. ],
  2888. "observables":[
  2889. ]
  2890. },
  2891. {
  2892. "probability":{
  2893. "exp":{
  2894. "op":"/",
  2895. "left":1,
  2896. "right":16
  2897. }
  2898. },
  2899. "location":"location",
  2900. "assignments":[
  2901. {
  2902. "ref":"s2",
  2903. "value":3
  2904. },
  2905. {
  2906. "ref":"bc2",
  2907. "value":14
  2908. }
  2909. ],
  2910. "observables":[
  2911. ]
  2912. },
  2913. {
  2914. "probability":{
  2915. "exp":{
  2916. "op":"/",
  2917. "left":1,
  2918. "right":16
  2919. }
  2920. },
  2921. "location":"location",
  2922. "assignments":[
  2923. {
  2924. "ref":"s2",
  2925. "value":3
  2926. },
  2927. {
  2928. "ref":"bc2",
  2929. "value":15
  2930. }
  2931. ],
  2932. "observables":[
  2933. ]
  2934. }
  2935. ]
  2936. },
  2937. {
  2938. "location":"location",
  2939. "action":"time",
  2940. "guard":{
  2941. "exp":{
  2942. "op":"∧",
  2943. "left":{
  2944. "op":"=",
  2945. "left":"s2",
  2946. "right":3
  2947. },
  2948. "right":{
  2949. "op":"<",
  2950. "left":"x2",
  2951. "right":{
  2952. "op":"*",
  2953. "left":2,
  2954. "right":1
  2955. }
  2956. }
  2957. }
  2958. },
  2959. "destinations":[
  2960. {
  2961. "probability":{
  2962. "exp":1
  2963. },
  2964. "location":"location",
  2965. "assignments":[
  2966. {
  2967. "ref":"x2",
  2968. "value":{
  2969. "op":"+",
  2970. "left":"x2",
  2971. "right":1
  2972. }
  2973. }
  2974. ]
  2975. }
  2976. ]
  2977. },
  2978. {
  2979. "location":"location",
  2980. "action":"time",
  2981. "guard":{
  2982. "exp":{
  2983. "op":"∧",
  2984. "left":{
  2985. "op":"∧",
  2986. "left":{
  2987. "op":"=",
  2988. "left":"s2",
  2989. "right":3
  2990. },
  2991. "right":{
  2992. "op":"=",
  2993. "left":"x2",
  2994. "right":{
  2995. "op":"*",
  2996. "left":2,
  2997. "right":1
  2998. }
  2999. }
  3000. },
  3001. "right":{
  3002. "op":">",
  3003. "left":"bc2",
  3004. "right":0
  3005. }
  3006. }
  3007. },
  3008. "destinations":[
  3009. {
  3010. "probability":{
  3011. "exp":1
  3012. },
  3013. "location":"location",
  3014. "assignments":[
  3015. {
  3016. "ref":"x2",
  3017. "value":1
  3018. },
  3019. {
  3020. "ref":"bc2",
  3021. "value":{
  3022. "op":"-",
  3023. "left":"bc2",
  3024. "right":1
  3025. }
  3026. }
  3027. ]
  3028. }
  3029. ]
  3030. },
  3031. {
  3032. "location":"location",
  3033. "action":"send2",
  3034. "guard":{
  3035. "exp":{
  3036. "op":"∧",
  3037. "left":{
  3038. "op":"∧",
  3039. "left":{
  3040. "op":"=",
  3041. "left":"s2",
  3042. "right":3
  3043. },
  3044. "right":{
  3045. "op":"=",
  3046. "left":"x2",
  3047. "right":{
  3048. "op":"*",
  3049. "left":2,
  3050. "right":1
  3051. }
  3052. }
  3053. },
  3054. "right":{
  3055. "op":"=",
  3056. "left":"bc2",
  3057. "right":0
  3058. }
  3059. }
  3060. },
  3061. "destinations":[
  3062. {
  3063. "probability":{
  3064. "exp":1
  3065. },
  3066. "location":"location",
  3067. "assignments":[
  3068. {
  3069. "ref":"s2",
  3070. "value":1
  3071. },
  3072. {
  3073. "ref":"x2",
  3074. "value":0
  3075. }
  3076. ]
  3077. }
  3078. ]
  3079. },
  3080. {
  3081. "location":"location",
  3082. "action":"busy2",
  3083. "guard":{
  3084. "exp":{
  3085. "op":"∧",
  3086. "left":{
  3087. "op":"∧",
  3088. "left":{
  3089. "op":"=",
  3090. "left":"s2",
  3091. "right":3
  3092. },
  3093. "right":{
  3094. "op":"=",
  3095. "left":"x2",
  3096. "right":{
  3097. "op":"*",
  3098. "left":2,
  3099. "right":1
  3100. }
  3101. }
  3102. },
  3103. "right":{
  3104. "op":"=",
  3105. "left":"bc2",
  3106. "right":0
  3107. }
  3108. }
  3109. },
  3110. "destinations":[
  3111. {
  3112. "probability":{
  3113. "exp":1
  3114. },
  3115. "location":"location",
  3116. "assignments":[
  3117. {
  3118. "ref":"s2",
  3119. "value":2
  3120. },
  3121. {
  3122. "ref":"x2",
  3123. "value":0
  3124. },
  3125. {
  3126. "ref":"cd2",
  3127. "value":{
  3128. "op":"min",
  3129. "left":4,
  3130. "right":{
  3131. "op":"+",
  3132. "left":"cd2",
  3133. "right":1
  3134. }
  3135. }
  3136. }
  3137. ]
  3138. }
  3139. ]
  3140. },
  3141. {
  3142. "location":"location",
  3143. "action":"time",
  3144. "guard":{
  3145. "exp":{
  3146. "op":"≥",
  3147. "left":"s2",
  3148. "right":4
  3149. }
  3150. },
  3151. "destinations":[
  3152. {
  3153. "probability":{
  3154. "exp":1
  3155. },
  3156. "location":"location",
  3157. "assignments":[
  3158. {
  3159. "ref":"x2",
  3160. "value":0
  3161. }
  3162. ]
  3163. }
  3164. ]
  3165. }
  3166. ]
  3167. }
  3168. ],
  3169. "system":{
  3170. "elements":[
  3171. {
  3172. "automaton":"bus"
  3173. },
  3174. {
  3175. "automaton":"station1"
  3176. },
  3177. {
  3178. "automaton":"station2"
  3179. }
  3180. ],
  3181. "syncs":[
  3182. {
  3183. "synchronise":[
  3184. "cd",
  3185. "cd",
  3186. "cd"
  3187. ],
  3188. "result":"cd"
  3189. },
  3190. {
  3191. "synchronise":[
  3192. "time",
  3193. "time",
  3194. "time"
  3195. ],
  3196. "result":"time"
  3197. },
  3198. {
  3199. "synchronise":[
  3200. "send2",
  3201. null,
  3202. "send2"
  3203. ],
  3204. "result":"send2"
  3205. },
  3206. {
  3207. "synchronise":[
  3208. "end2",
  3209. null,
  3210. "end2"
  3211. ],
  3212. "result":"end2"
  3213. },
  3214. {
  3215. "synchronise":[
  3216. "busy2",
  3217. null,
  3218. "busy2"
  3219. ],
  3220. "result":"busy2"
  3221. },
  3222. {
  3223. "synchronise":[
  3224. "send1",
  3225. "send1",
  3226. null
  3227. ],
  3228. "result":"send1"
  3229. },
  3230. {
  3231. "synchronise":[
  3232. "end1",
  3233. "end1",
  3234. null
  3235. ],
  3236. "result":"end1"
  3237. },
  3238. {
  3239. "synchronise":[
  3240. "busy1",
  3241. "busy1",
  3242. null
  3243. ],
  3244. "result":"busy1"
  3245. },
  3246. {
  3247. "synchronise":[
  3248. null,
  3249. "tau__",
  3250. null
  3251. ],
  3252. "result":"tau__"
  3253. },
  3254. {
  3255. "synchronise":[
  3256. null,
  3257. null,
  3258. "tau__"
  3259. ],
  3260. "result":"tau__"
  3261. }
  3262. ]
  3263. }
  3264. }