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.

1412 lines
66 KiB

  1. {
  2. "jani-version":1,
  3. "features":[
  4. "derived-operators"
  5. ],
  6. "name":"Converted from PRISM by IscasMC",
  7. "type":"ctmc",
  8. "actions":[
  9. {
  10. "name":"tau__"
  11. }
  12. ],
  13. "constants":[
  14. {
  15. "name":"n",
  16. "type":"int"
  17. }
  18. ],
  19. "variables":[
  20. {
  21. "name":"x1",
  22. "type":{
  23. "kind":"bounded",
  24. "base":"int",
  25. "lower-bound":1,
  26. "upper-bound":"n"
  27. }
  28. },
  29. {
  30. "name":"y1",
  31. "type":{
  32. "kind":"bounded",
  33. "base":"int",
  34. "lower-bound":1,
  35. "upper-bound":"n"
  36. }
  37. },
  38. {
  39. "name":"c",
  40. "type":{
  41. "kind":"bounded",
  42. "base":"int",
  43. "lower-bound":0,
  44. "upper-bound":1
  45. }
  46. },
  47. {
  48. "name":"x2",
  49. "type":{
  50. "kind":"bounded",
  51. "base":"int",
  52. "lower-bound":1,
  53. "upper-bound":"n"
  54. }
  55. },
  56. {
  57. "name":"y2",
  58. "type":{
  59. "kind":"bounded",
  60. "base":"int",
  61. "lower-bound":1,
  62. "upper-bound":"n"
  63. }
  64. }
  65. ],
  66. "observables":[
  67. ],
  68. "initial-states":{
  69. "exp":{
  70. "op":"∧",
  71. "left":{
  72. "op":"∧",
  73. "left":{
  74. "op":"∧",
  75. "left":{
  76. "op":"∧",
  77. "left":{
  78. "op":"=",
  79. "left":"x1",
  80. "right":1
  81. },
  82. "right":{
  83. "op":"=",
  84. "left":"y1",
  85. "right":1
  86. }
  87. },
  88. "right":{
  89. "op":"=",
  90. "left":"c",
  91. "right":0
  92. }
  93. },
  94. "right":{
  95. "op":"=",
  96. "left":"x2",
  97. "right":"n"
  98. }
  99. },
  100. "right":{
  101. "op":"=",
  102. "left":"y2",
  103. "right":"n"
  104. }
  105. }
  106. },
  107. "automata":[
  108. {
  109. "name":"robot",
  110. "locations":[
  111. {
  112. "name":"location"
  113. }
  114. ],
  115. "initial-locations":[
  116. "location"
  117. ],
  118. "edges":[
  119. {
  120. "location":"location",
  121. "action":"tau__",
  122. "rate":{
  123. "exp":1
  124. },
  125. "guard":{
  126. "exp":{
  127. "op":"∧",
  128. "left":{
  129. "op":"∧",
  130. "left":{
  131. "op":"<",
  132. "left":"x1",
  133. "right":"n"
  134. },
  135. "right":{
  136. "op":"=",
  137. "left":"c",
  138. "right":0
  139. }
  140. },
  141. "right":{
  142. "op":"¬",
  143. "exp":{
  144. "op":"∧",
  145. "left":{
  146. "op":"=",
  147. "left":{
  148. "op":"+",
  149. "left":"x1",
  150. "right":1
  151. },
  152. "right":"x2"
  153. },
  154. "right":{
  155. "op":"=",
  156. "left":"y1",
  157. "right":"y2"
  158. }
  159. }
  160. }
  161. }
  162. },
  163. "destinations":[
  164. {
  165. "probability":{
  166. "exp":{
  167. "op":"/",
  168. "left":1,
  169. "right":1
  170. }
  171. },
  172. "location":"location",
  173. "assignments":[
  174. {
  175. "ref":"x1",
  176. "value":{
  177. "op":"+",
  178. "left":"x1",
  179. "right":1
  180. }
  181. }
  182. ],
  183. "observables":[
  184. ]
  185. }
  186. ]
  187. },
  188. {
  189. "location":"location",
  190. "action":"tau__",
  191. "rate":{
  192. "exp":1
  193. },
  194. "guard":{
  195. "exp":{
  196. "op":"∧",
  197. "left":{
  198. "op":"∧",
  199. "left":{
  200. "op":"∧",
  201. "left":{
  202. "op":"=",
  203. "left":"x1",
  204. "right":"n"
  205. },
  206. "right":{
  207. "op":"<",
  208. "left":"y1",
  209. "right":"n"
  210. }
  211. },
  212. "right":{
  213. "op":"=",
  214. "left":"c",
  215. "right":0
  216. }
  217. },
  218. "right":{
  219. "op":"¬",
  220. "exp":{
  221. "op":"∧",
  222. "left":{
  223. "op":"=",
  224. "left":"x1",
  225. "right":"x2"
  226. },
  227. "right":{
  228. "op":"=",
  229. "left":{
  230. "op":"+",
  231. "left":"y1",
  232. "right":1
  233. },
  234. "right":"y2"
  235. }
  236. }
  237. }
  238. }
  239. },
  240. "destinations":[
  241. {
  242. "probability":{
  243. "exp":{
  244. "op":"/",
  245. "left":1,
  246. "right":1
  247. }
  248. },
  249. "location":"location",
  250. "assignments":[
  251. {
  252. "ref":"y1",
  253. "value":{
  254. "op":"+",
  255. "left":"y1",
  256. "right":1
  257. }
  258. }
  259. ],
  260. "observables":[
  261. ]
  262. }
  263. ]
  264. },
  265. {
  266. "location":"location",
  267. "action":"tau__",
  268. "rate":{
  269. "exp":{
  270. "op":"/",
  271. "left":1,
  272. "right":10
  273. }
  274. },
  275. "guard":{
  276. "exp":{
  277. "op":"=",
  278. "left":"c",
  279. "right":0
  280. }
  281. },
  282. "destinations":[
  283. {
  284. "probability":{
  285. "exp":{
  286. "op":"/",
  287. "left":{
  288. "op":"/",
  289. "left":1,
  290. "right":10
  291. },
  292. "right":{
  293. "op":"/",
  294. "left":1,
  295. "right":10
  296. }
  297. }
  298. },
  299. "location":"location",
  300. "assignments":[
  301. {
  302. "ref":"c",
  303. "value":1
  304. }
  305. ],
  306. "observables":[
  307. ]
  308. }
  309. ]
  310. },
  311. {
  312. "location":"location",
  313. "action":"tau__",
  314. "rate":{
  315. "exp":{
  316. "op":"/",
  317. "left":1,
  318. "right":2
  319. }
  320. },
  321. "guard":{
  322. "exp":{
  323. "op":"=",
  324. "left":"c",
  325. "right":1
  326. }
  327. },
  328. "destinations":[
  329. {
  330. "probability":{
  331. "exp":{
  332. "op":"/",
  333. "left":{
  334. "op":"/",
  335. "left":1,
  336. "right":2
  337. },
  338. "right":{
  339. "op":"/",
  340. "left":1,
  341. "right":2
  342. }
  343. }
  344. },
  345. "location":"location",
  346. "assignments":[
  347. {
  348. "ref":"c",
  349. "value":0
  350. }
  351. ],
  352. "observables":[
  353. ]
  354. }
  355. ]
  356. }
  357. ]
  358. },
  359. {
  360. "name":"janitor",
  361. "locations":[
  362. {
  363. "name":"location"
  364. }
  365. ],
  366. "initial-locations":[
  367. "location"
  368. ],
  369. "edges":[
  370. {
  371. "location":"location",
  372. "action":"tau__",
  373. "rate":{
  374. "exp":{
  375. "op":"/",
  376. "left":2,
  377. "right":{
  378. "op":"+",
  379. "left":{
  380. "op":"+",
  381. "left":{
  382. "op":"+",
  383. "left":{
  384. "op":"min",
  385. "left":1,
  386. "right":{
  387. "op":"max",
  388. "left":{
  389. "op":"-",
  390. "left":"n",
  391. "right":"x2"
  392. },
  393. "right":0
  394. }
  395. },
  396. "right":{
  397. "op":"min",
  398. "left":1,
  399. "right":{
  400. "op":"max",
  401. "left":{
  402. "op":"-",
  403. "left":"x2",
  404. "right":1
  405. },
  406. "right":0
  407. }
  408. }
  409. },
  410. "right":{
  411. "op":"min",
  412. "left":1,
  413. "right":{
  414. "op":"max",
  415. "left":{
  416. "op":"-",
  417. "left":"n",
  418. "right":"y2"
  419. },
  420. "right":0
  421. }
  422. }
  423. },
  424. "right":{
  425. "op":"min",
  426. "left":1,
  427. "right":{
  428. "op":"max",
  429. "left":{
  430. "op":"-",
  431. "left":"y2",
  432. "right":1
  433. },
  434. "right":0
  435. }
  436. }
  437. }
  438. }
  439. },
  440. "guard":{
  441. "exp":{
  442. "op":"¬",
  443. "exp":{
  444. "op":"∨",
  445. "left":{
  446. "op":"=",
  447. "left":"y2",
  448. "right":"n"
  449. },
  450. "right":{
  451. "op":"∧",
  452. "left":{
  453. "op":"=",
  454. "left":{
  455. "op":"+",
  456. "left":"y2",
  457. "right":1
  458. },
  459. "right":"y1"
  460. },
  461. "right":{
  462. "op":"=",
  463. "left":"x2",
  464. "right":"x1"
  465. }
  466. }
  467. }
  468. }
  469. },
  470. "destinations":[
  471. {
  472. "probability":{
  473. "exp":{
  474. "op":"/",
  475. "left":{
  476. "op":"/",
  477. "left":2,
  478. "right":{
  479. "op":"+",
  480. "left":{
  481. "op":"+",
  482. "left":{
  483. "op":"+",
  484. "left":{
  485. "op":"min",
  486. "left":1,
  487. "right":{
  488. "op":"max",
  489. "left":{
  490. "op":"-",
  491. "left":"n",
  492. "right":"x2"
  493. },
  494. "right":0
  495. }
  496. },
  497. "right":{
  498. "op":"min",
  499. "left":1,
  500. "right":{
  501. "op":"max",
  502. "left":{
  503. "op":"-",
  504. "left":"x2",
  505. "right":1
  506. },
  507. "right":0
  508. }
  509. }
  510. },
  511. "right":{
  512. "op":"min",
  513. "left":1,
  514. "right":{
  515. "op":"max",
  516. "left":{
  517. "op":"-",
  518. "left":"n",
  519. "right":"y2"
  520. },
  521. "right":0
  522. }
  523. }
  524. },
  525. "right":{
  526. "op":"min",
  527. "left":1,
  528. "right":{
  529. "op":"max",
  530. "left":{
  531. "op":"-",
  532. "left":"y2",
  533. "right":1
  534. },
  535. "right":0
  536. }
  537. }
  538. }
  539. },
  540. "right":{
  541. "op":"/",
  542. "left":2,
  543. "right":{
  544. "op":"+",
  545. "left":{
  546. "op":"+",
  547. "left":{
  548. "op":"+",
  549. "left":{
  550. "op":"min",
  551. "left":1,
  552. "right":{
  553. "op":"max",
  554. "left":{
  555. "op":"-",
  556. "left":"n",
  557. "right":"x2"
  558. },
  559. "right":0
  560. }
  561. },
  562. "right":{
  563. "op":"min",
  564. "left":1,
  565. "right":{
  566. "op":"max",
  567. "left":{
  568. "op":"-",
  569. "left":"x2",
  570. "right":1
  571. },
  572. "right":0
  573. }
  574. }
  575. },
  576. "right":{
  577. "op":"min",
  578. "left":1,
  579. "right":{
  580. "op":"max",
  581. "left":{
  582. "op":"-",
  583. "left":"n",
  584. "right":"y2"
  585. },
  586. "right":0
  587. }
  588. }
  589. },
  590. "right":{
  591. "op":"min",
  592. "left":1,
  593. "right":{
  594. "op":"max",
  595. "left":{
  596. "op":"-",
  597. "left":"y2",
  598. "right":1
  599. },
  600. "right":0
  601. }
  602. }
  603. }
  604. }
  605. }
  606. },
  607. "location":"location",
  608. "assignments":[
  609. {
  610. "ref":"y2",
  611. "value":{
  612. "op":"+",
  613. "left":"y2",
  614. "right":1
  615. }
  616. }
  617. ],
  618. "observables":[
  619. ]
  620. }
  621. ]
  622. },
  623. {
  624. "location":"location",
  625. "action":"tau__",
  626. "rate":{
  627. "exp":{
  628. "op":"/",
  629. "left":2,
  630. "right":{
  631. "op":"+",
  632. "left":{
  633. "op":"+",
  634. "left":{
  635. "op":"+",
  636. "left":{
  637. "op":"min",
  638. "left":1,
  639. "right":{
  640. "op":"max",
  641. "left":{
  642. "op":"-",
  643. "left":"n",
  644. "right":"x2"
  645. },
  646. "right":0
  647. }
  648. },
  649. "right":{
  650. "op":"min",
  651. "left":1,
  652. "right":{
  653. "op":"max",
  654. "left":{
  655. "op":"-",
  656. "left":"x2",
  657. "right":1
  658. },
  659. "right":0
  660. }
  661. }
  662. },
  663. "right":{
  664. "op":"min",
  665. "left":1,
  666. "right":{
  667. "op":"max",
  668. "left":{
  669. "op":"-",
  670. "left":"n",
  671. "right":"y2"
  672. },
  673. "right":0
  674. }
  675. }
  676. },
  677. "right":{
  678. "op":"min",
  679. "left":1,
  680. "right":{
  681. "op":"max",
  682. "left":{
  683. "op":"-",
  684. "left":"y2",
  685. "right":1
  686. },
  687. "right":0
  688. }
  689. }
  690. }
  691. }
  692. },
  693. "guard":{
  694. "exp":{
  695. "op":"¬",
  696. "exp":{
  697. "op":"∨",
  698. "left":{
  699. "op":"=",
  700. "left":"y2",
  701. "right":1
  702. },
  703. "right":{
  704. "op":"∧",
  705. "left":{
  706. "op":"=",
  707. "left":{
  708. "op":"-",
  709. "left":"y2",
  710. "right":1
  711. },
  712. "right":"y1"
  713. },
  714. "right":{
  715. "op":"=",
  716. "left":"x2",
  717. "right":"x1"
  718. }
  719. }
  720. }
  721. }
  722. },
  723. "destinations":[
  724. {
  725. "probability":{
  726. "exp":{
  727. "op":"/",
  728. "left":{
  729. "op":"/",
  730. "left":2,
  731. "right":{
  732. "op":"+",
  733. "left":{
  734. "op":"+",
  735. "left":{
  736. "op":"+",
  737. "left":{
  738. "op":"min",
  739. "left":1,
  740. "right":{
  741. "op":"max",
  742. "left":{
  743. "op":"-",
  744. "left":"n",
  745. "right":"x2"
  746. },
  747. "right":0
  748. }
  749. },
  750. "right":{
  751. "op":"min",
  752. "left":1,
  753. "right":{
  754. "op":"max",
  755. "left":{
  756. "op":"-",
  757. "left":"x2",
  758. "right":1
  759. },
  760. "right":0
  761. }
  762. }
  763. },
  764. "right":{
  765. "op":"min",
  766. "left":1,
  767. "right":{
  768. "op":"max",
  769. "left":{
  770. "op":"-",
  771. "left":"n",
  772. "right":"y2"
  773. },
  774. "right":0
  775. }
  776. }
  777. },
  778. "right":{
  779. "op":"min",
  780. "left":1,
  781. "right":{
  782. "op":"max",
  783. "left":{
  784. "op":"-",
  785. "left":"y2",
  786. "right":1
  787. },
  788. "right":0
  789. }
  790. }
  791. }
  792. },
  793. "right":{
  794. "op":"/",
  795. "left":2,
  796. "right":{
  797. "op":"+",
  798. "left":{
  799. "op":"+",
  800. "left":{
  801. "op":"+",
  802. "left":{
  803. "op":"min",
  804. "left":1,
  805. "right":{
  806. "op":"max",
  807. "left":{
  808. "op":"-",
  809. "left":"n",
  810. "right":"x2"
  811. },
  812. "right":0
  813. }
  814. },
  815. "right":{
  816. "op":"min",
  817. "left":1,
  818. "right":{
  819. "op":"max",
  820. "left":{
  821. "op":"-",
  822. "left":"x2",
  823. "right":1
  824. },
  825. "right":0
  826. }
  827. }
  828. },
  829. "right":{
  830. "op":"min",
  831. "left":1,
  832. "right":{
  833. "op":"max",
  834. "left":{
  835. "op":"-",
  836. "left":"n",
  837. "right":"y2"
  838. },
  839. "right":0
  840. }
  841. }
  842. },
  843. "right":{
  844. "op":"min",
  845. "left":1,
  846. "right":{
  847. "op":"max",
  848. "left":{
  849. "op":"-",
  850. "left":"y2",
  851. "right":1
  852. },
  853. "right":0
  854. }
  855. }
  856. }
  857. }
  858. }
  859. },
  860. "location":"location",
  861. "assignments":[
  862. {
  863. "ref":"y2",
  864. "value":{
  865. "op":"-",
  866. "left":"y2",
  867. "right":1
  868. }
  869. }
  870. ],
  871. "observables":[
  872. ]
  873. }
  874. ]
  875. },
  876. {
  877. "location":"location",
  878. "action":"tau__",
  879. "rate":{
  880. "exp":{
  881. "op":"/",
  882. "left":2,
  883. "right":{
  884. "op":"+",
  885. "left":{
  886. "op":"+",
  887. "left":{
  888. "op":"+",
  889. "left":{
  890. "op":"min",
  891. "left":1,
  892. "right":{
  893. "op":"max",
  894. "left":{
  895. "op":"-",
  896. "left":"n",
  897. "right":"x2"
  898. },
  899. "right":0
  900. }
  901. },
  902. "right":{
  903. "op":"min",
  904. "left":1,
  905. "right":{
  906. "op":"max",
  907. "left":{
  908. "op":"-",
  909. "left":"x2",
  910. "right":1
  911. },
  912. "right":0
  913. }
  914. }
  915. },
  916. "right":{
  917. "op":"min",
  918. "left":1,
  919. "right":{
  920. "op":"max",
  921. "left":{
  922. "op":"-",
  923. "left":"n",
  924. "right":"y2"
  925. },
  926. "right":0
  927. }
  928. }
  929. },
  930. "right":{
  931. "op":"min",
  932. "left":1,
  933. "right":{
  934. "op":"max",
  935. "left":{
  936. "op":"-",
  937. "left":"y2",
  938. "right":1
  939. },
  940. "right":0
  941. }
  942. }
  943. }
  944. }
  945. },
  946. "guard":{
  947. "exp":{
  948. "op":"¬",
  949. "exp":{
  950. "op":"∨",
  951. "left":{
  952. "op":"=",
  953. "left":"x2",
  954. "right":1
  955. },
  956. "right":{
  957. "op":"∧",
  958. "left":{
  959. "op":"=",
  960. "left":{
  961. "op":"-",
  962. "left":"x2",
  963. "right":1
  964. },
  965. "right":"x1"
  966. },
  967. "right":{
  968. "op":"=",
  969. "left":"y2",
  970. "right":"y1"
  971. }
  972. }
  973. }
  974. }
  975. },
  976. "destinations":[
  977. {
  978. "probability":{
  979. "exp":{
  980. "op":"/",
  981. "left":{
  982. "op":"/",
  983. "left":2,
  984. "right":{
  985. "op":"+",
  986. "left":{
  987. "op":"+",
  988. "left":{
  989. "op":"+",
  990. "left":{
  991. "op":"min",
  992. "left":1,
  993. "right":{
  994. "op":"max",
  995. "left":{
  996. "op":"-",
  997. "left":"n",
  998. "right":"x2"
  999. },
  1000. "right":0
  1001. }
  1002. },
  1003. "right":{
  1004. "op":"min",
  1005. "left":1,
  1006. "right":{
  1007. "op":"max",
  1008. "left":{
  1009. "op":"-",
  1010. "left":"x2",
  1011. "right":1
  1012. },
  1013. "right":0
  1014. }
  1015. }
  1016. },
  1017. "right":{
  1018. "op":"min",
  1019. "left":1,
  1020. "right":{
  1021. "op":"max",
  1022. "left":{
  1023. "op":"-",
  1024. "left":"n",
  1025. "right":"y2"
  1026. },
  1027. "right":0
  1028. }
  1029. }
  1030. },
  1031. "right":{
  1032. "op":"min",
  1033. "left":1,
  1034. "right":{
  1035. "op":"max",
  1036. "left":{
  1037. "op":"-",
  1038. "left":"y2",
  1039. "right":1
  1040. },
  1041. "right":0
  1042. }
  1043. }
  1044. }
  1045. },
  1046. "right":{
  1047. "op":"/",
  1048. "left":2,
  1049. "right":{
  1050. "op":"+",
  1051. "left":{
  1052. "op":"+",
  1053. "left":{
  1054. "op":"+",
  1055. "left":{
  1056. "op":"min",
  1057. "left":1,
  1058. "right":{
  1059. "op":"max",
  1060. "left":{
  1061. "op":"-",
  1062. "left":"n",
  1063. "right":"x2"
  1064. },
  1065. "right":0
  1066. }
  1067. },
  1068. "right":{
  1069. "op":"min",
  1070. "left":1,
  1071. "right":{
  1072. "op":"max",
  1073. "left":{
  1074. "op":"-",
  1075. "left":"x2",
  1076. "right":1
  1077. },
  1078. "right":0
  1079. }
  1080. }
  1081. },
  1082. "right":{
  1083. "op":"min",
  1084. "left":1,
  1085. "right":{
  1086. "op":"max",
  1087. "left":{
  1088. "op":"-",
  1089. "left":"n",
  1090. "right":"y2"
  1091. },
  1092. "right":0
  1093. }
  1094. }
  1095. },
  1096. "right":{
  1097. "op":"min",
  1098. "left":1,
  1099. "right":{
  1100. "op":"max",
  1101. "left":{
  1102. "op":"-",
  1103. "left":"y2",
  1104. "right":1
  1105. },
  1106. "right":0
  1107. }
  1108. }
  1109. }
  1110. }
  1111. }
  1112. },
  1113. "location":"location",
  1114. "assignments":[
  1115. {
  1116. "ref":"x2",
  1117. "value":{
  1118. "op":"-",
  1119. "left":"x2",
  1120. "right":1
  1121. }
  1122. }
  1123. ],
  1124. "observables":[
  1125. ]
  1126. }
  1127. ]
  1128. },
  1129. {
  1130. "location":"location",
  1131. "action":"tau__",
  1132. "rate":{
  1133. "exp":{
  1134. "op":"/",
  1135. "left":2,
  1136. "right":{
  1137. "op":"+",
  1138. "left":{
  1139. "op":"+",
  1140. "left":{
  1141. "op":"+",
  1142. "left":{
  1143. "op":"min",
  1144. "left":1,
  1145. "right":{
  1146. "op":"max",
  1147. "left":{
  1148. "op":"-",
  1149. "left":"n",
  1150. "right":"x2"
  1151. },
  1152. "right":0
  1153. }
  1154. },
  1155. "right":{
  1156. "op":"min",
  1157. "left":1,
  1158. "right":{
  1159. "op":"max",
  1160. "left":{
  1161. "op":"-",
  1162. "left":"x2",
  1163. "right":1
  1164. },
  1165. "right":0
  1166. }
  1167. }
  1168. },
  1169. "right":{
  1170. "op":"min",
  1171. "left":1,
  1172. "right":{
  1173. "op":"max",
  1174. "left":{
  1175. "op":"-",
  1176. "left":"n",
  1177. "right":"y2"
  1178. },
  1179. "right":0
  1180. }
  1181. }
  1182. },
  1183. "right":{
  1184. "op":"min",
  1185. "left":1,
  1186. "right":{
  1187. "op":"max",
  1188. "left":{
  1189. "op":"-",
  1190. "left":"y2",
  1191. "right":1
  1192. },
  1193. "right":0
  1194. }
  1195. }
  1196. }
  1197. }
  1198. },
  1199. "guard":{
  1200. "exp":{
  1201. "op":"¬",
  1202. "exp":{
  1203. "op":"∨",
  1204. "left":{
  1205. "op":"=",
  1206. "left":"x2",
  1207. "right":"n"
  1208. },
  1209. "right":{
  1210. "op":"∧",
  1211. "left":{
  1212. "op":"=",
  1213. "left":{
  1214. "op":"+",
  1215. "left":"x2",
  1216. "right":1
  1217. },
  1218. "right":"x1"
  1219. },
  1220. "right":{
  1221. "op":"=",
  1222. "left":"y2",
  1223. "right":"y1"
  1224. }
  1225. }
  1226. }
  1227. }
  1228. },
  1229. "destinations":[
  1230. {
  1231. "probability":{
  1232. "exp":{
  1233. "op":"/",
  1234. "left":{
  1235. "op":"/",
  1236. "left":2,
  1237. "right":{
  1238. "op":"+",
  1239. "left":{
  1240. "op":"+",
  1241. "left":{
  1242. "op":"+",
  1243. "left":{
  1244. "op":"min",
  1245. "left":1,
  1246. "right":{
  1247. "op":"max",
  1248. "left":{
  1249. "op":"-",
  1250. "left":"n",
  1251. "right":"x2"
  1252. },
  1253. "right":0
  1254. }
  1255. },
  1256. "right":{
  1257. "op":"min",
  1258. "left":1,
  1259. "right":{
  1260. "op":"max",
  1261. "left":{
  1262. "op":"-",
  1263. "left":"x2",
  1264. "right":1
  1265. },
  1266. "right":0
  1267. }
  1268. }
  1269. },
  1270. "right":{
  1271. "op":"min",
  1272. "left":1,
  1273. "right":{
  1274. "op":"max",
  1275. "left":{
  1276. "op":"-",
  1277. "left":"n",
  1278. "right":"y2"
  1279. },
  1280. "right":0
  1281. }
  1282. }
  1283. },
  1284. "right":{
  1285. "op":"min",
  1286. "left":1,
  1287. "right":{
  1288. "op":"max",
  1289. "left":{
  1290. "op":"-",
  1291. "left":"y2",
  1292. "right":1
  1293. },
  1294. "right":0
  1295. }
  1296. }
  1297. }
  1298. },
  1299. "right":{
  1300. "op":"/",
  1301. "left":2,
  1302. "right":{
  1303. "op":"+",
  1304. "left":{
  1305. "op":"+",
  1306. "left":{
  1307. "op":"+",
  1308. "left":{
  1309. "op":"min",
  1310. "left":1,
  1311. "right":{
  1312. "op":"max",
  1313. "left":{
  1314. "op":"-",
  1315. "left":"n",
  1316. "right":"x2"
  1317. },
  1318. "right":0
  1319. }
  1320. },
  1321. "right":{
  1322. "op":"min",
  1323. "left":1,
  1324. "right":{
  1325. "op":"max",
  1326. "left":{
  1327. "op":"-",
  1328. "left":"x2",
  1329. "right":1
  1330. },
  1331. "right":0
  1332. }
  1333. }
  1334. },
  1335. "right":{
  1336. "op":"min",
  1337. "left":1,
  1338. "right":{
  1339. "op":"max",
  1340. "left":{
  1341. "op":"-",
  1342. "left":"n",
  1343. "right":"y2"
  1344. },
  1345. "right":0
  1346. }
  1347. }
  1348. },
  1349. "right":{
  1350. "op":"min",
  1351. "left":1,
  1352. "right":{
  1353. "op":"max",
  1354. "left":{
  1355. "op":"-",
  1356. "left":"y2",
  1357. "right":1
  1358. },
  1359. "right":0
  1360. }
  1361. }
  1362. }
  1363. }
  1364. }
  1365. },
  1366. "location":"location",
  1367. "assignments":[
  1368. {
  1369. "ref":"x2",
  1370. "value":{
  1371. "op":"+",
  1372. "left":"x2",
  1373. "right":1
  1374. }
  1375. }
  1376. ],
  1377. "observables":[
  1378. ]
  1379. }
  1380. ]
  1381. }
  1382. ]
  1383. }
  1384. ],
  1385. "system":{
  1386. "elements":[
  1387. {
  1388. "automaton":"robot"
  1389. },
  1390. {
  1391. "automaton":"janitor"
  1392. }
  1393. ],
  1394. "syncs":[
  1395. {
  1396. "synchronise":[
  1397. "tau__",
  1398. null
  1399. ],
  1400. "result":"tau__"
  1401. },
  1402. {
  1403. "synchronise":[
  1404. null,
  1405. "tau__"
  1406. ],
  1407. "result":"tau__"
  1408. }
  1409. ]
  1410. }
  1411. }