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.

743 lines
24 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":"tau__"
  11. }
  12. ],
  13. "variables":[
  14. {
  15. "name":"d1",
  16. "type":"bool"
  17. },
  18. {
  19. "name":"p1",
  20. "type":"bool"
  21. },
  22. {
  23. "name":"d2",
  24. "type":"bool"
  25. },
  26. {
  27. "name":"p2",
  28. "type":"bool"
  29. },
  30. {
  31. "name":"d3",
  32. "type":"bool"
  33. },
  34. {
  35. "name":"p3",
  36. "type":"bool"
  37. },
  38. {
  39. "name":"d4",
  40. "type":"bool"
  41. },
  42. {
  43. "name":"p4",
  44. "type":"bool"
  45. },
  46. {
  47. "name":"d5",
  48. "type":"bool"
  49. },
  50. {
  51. "name":"p5",
  52. "type":"bool"
  53. }
  54. ],
  55. "observables":[
  56. {
  57. "name":"\"steps\""
  58. }
  59. ],
  60. "initial-states":{
  61. "exp":true
  62. },
  63. "automata":[
  64. {
  65. "name":"process1",
  66. "locations":[
  67. {
  68. "name":"location",
  69. "observables":[
  70. {
  71. "ref":"\"steps\"",
  72. "value":1
  73. }
  74. ]
  75. }
  76. ],
  77. "initial-locations":[
  78. "location"
  79. ],
  80. "edges":[
  81. {
  82. "location":"location",
  83. "action":"tau__",
  84. "guard":{
  85. "exp":{
  86. "op":"∧",
  87. "left":{
  88. "op":"=",
  89. "left":"d1",
  90. "right":"d5"
  91. },
  92. "right":{
  93. "op":"=",
  94. "left":"p1",
  95. "right":"p5"
  96. }
  97. }
  98. },
  99. "destinations":[
  100. {
  101. "probability":{
  102. "exp":0.5000000
  103. },
  104. "location":"location",
  105. "assignments":[
  106. {
  107. "ref":"d1",
  108. "value":{
  109. "op":"¬",
  110. "exp":"d1"
  111. }
  112. },
  113. {
  114. "ref":"p1",
  115. "value":"p1"
  116. }
  117. ],
  118. "observables":[
  119. ]
  120. },
  121. {
  122. "probability":{
  123. "exp":0.5000000
  124. },
  125. "location":"location",
  126. "assignments":[
  127. {
  128. "ref":"d1",
  129. "value":{
  130. "op":"¬",
  131. "exp":"d1"
  132. }
  133. },
  134. {
  135. "ref":"p1",
  136. "value":{
  137. "op":"¬",
  138. "exp":"p1"
  139. }
  140. }
  141. ],
  142. "observables":[
  143. ]
  144. }
  145. ]
  146. },
  147. {
  148. "location":"location",
  149. "action":"tau__",
  150. "guard":{
  151. "exp":{
  152. "op":"∧",
  153. "left":{
  154. "op":"=",
  155. "left":"d1",
  156. "right":"d5"
  157. },
  158. "right":{
  159. "op":"¬",
  160. "exp":{
  161. "op":"=",
  162. "left":"p1",
  163. "right":"p5"
  164. }
  165. }
  166. }
  167. },
  168. "destinations":[
  169. {
  170. "probability":{
  171. "exp":1
  172. },
  173. "location":"location",
  174. "assignments":[
  175. {
  176. "ref":"d1",
  177. "value":{
  178. "op":"¬",
  179. "exp":"d1"
  180. }
  181. }
  182. ],
  183. "observables":[
  184. ]
  185. }
  186. ]
  187. }
  188. ]
  189. },
  190. {
  191. "name":"process2",
  192. "locations":[
  193. {
  194. "name":"location"
  195. }
  196. ],
  197. "initial-locations":[
  198. "location"
  199. ],
  200. "edges":[
  201. {
  202. "location":"location",
  203. "action":"tau__",
  204. "guard":{
  205. "exp":{
  206. "op":"∧",
  207. "left":{
  208. "op":"=",
  209. "left":"d2",
  210. "right":"d1"
  211. },
  212. "right":{
  213. "op":"=",
  214. "left":"p2",
  215. "right":"p1"
  216. }
  217. }
  218. },
  219. "destinations":[
  220. {
  221. "probability":{
  222. "exp":0.5000000
  223. },
  224. "location":"location",
  225. "assignments":[
  226. {
  227. "ref":"d2",
  228. "value":{
  229. "op":"¬",
  230. "exp":"d2"
  231. }
  232. },
  233. {
  234. "ref":"p2",
  235. "value":"p2"
  236. }
  237. ],
  238. "observables":[
  239. ]
  240. },
  241. {
  242. "probability":{
  243. "exp":0.5000000
  244. },
  245. "location":"location",
  246. "assignments":[
  247. {
  248. "ref":"d2",
  249. "value":{
  250. "op":"¬",
  251. "exp":"d2"
  252. }
  253. },
  254. {
  255. "ref":"p2",
  256. "value":{
  257. "op":"¬",
  258. "exp":"p2"
  259. }
  260. }
  261. ],
  262. "observables":[
  263. ]
  264. }
  265. ]
  266. },
  267. {
  268. "location":"location",
  269. "action":"tau__",
  270. "guard":{
  271. "exp":{
  272. "op":"∧",
  273. "left":{
  274. "op":"=",
  275. "left":"d2",
  276. "right":"d1"
  277. },
  278. "right":{
  279. "op":"¬",
  280. "exp":{
  281. "op":"=",
  282. "left":"p2",
  283. "right":"p1"
  284. }
  285. }
  286. }
  287. },
  288. "destinations":[
  289. {
  290. "probability":{
  291. "exp":1
  292. },
  293. "location":"location",
  294. "assignments":[
  295. {
  296. "ref":"d2",
  297. "value":{
  298. "op":"¬",
  299. "exp":"d2"
  300. }
  301. }
  302. ],
  303. "observables":[
  304. ]
  305. }
  306. ]
  307. }
  308. ]
  309. },
  310. {
  311. "name":"process3",
  312. "locations":[
  313. {
  314. "name":"location"
  315. }
  316. ],
  317. "initial-locations":[
  318. "location"
  319. ],
  320. "edges":[
  321. {
  322. "location":"location",
  323. "action":"tau__",
  324. "guard":{
  325. "exp":{
  326. "op":"∧",
  327. "left":{
  328. "op":"=",
  329. "left":"d3",
  330. "right":"d2"
  331. },
  332. "right":{
  333. "op":"=",
  334. "left":"p3",
  335. "right":"p2"
  336. }
  337. }
  338. },
  339. "destinations":[
  340. {
  341. "probability":{
  342. "exp":0.5000000
  343. },
  344. "location":"location",
  345. "assignments":[
  346. {
  347. "ref":"d3",
  348. "value":{
  349. "op":"¬",
  350. "exp":"d3"
  351. }
  352. },
  353. {
  354. "ref":"p3",
  355. "value":"p3"
  356. }
  357. ],
  358. "observables":[
  359. ]
  360. },
  361. {
  362. "probability":{
  363. "exp":0.5000000
  364. },
  365. "location":"location",
  366. "assignments":[
  367. {
  368. "ref":"d3",
  369. "value":{
  370. "op":"¬",
  371. "exp":"d3"
  372. }
  373. },
  374. {
  375. "ref":"p3",
  376. "value":{
  377. "op":"¬",
  378. "exp":"p3"
  379. }
  380. }
  381. ],
  382. "observables":[
  383. ]
  384. }
  385. ]
  386. },
  387. {
  388. "location":"location",
  389. "action":"tau__",
  390. "guard":{
  391. "exp":{
  392. "op":"∧",
  393. "left":{
  394. "op":"=",
  395. "left":"d3",
  396. "right":"d2"
  397. },
  398. "right":{
  399. "op":"¬",
  400. "exp":{
  401. "op":"=",
  402. "left":"p3",
  403. "right":"p2"
  404. }
  405. }
  406. }
  407. },
  408. "destinations":[
  409. {
  410. "probability":{
  411. "exp":1
  412. },
  413. "location":"location",
  414. "assignments":[
  415. {
  416. "ref":"d3",
  417. "value":{
  418. "op":"¬",
  419. "exp":"d3"
  420. }
  421. }
  422. ],
  423. "observables":[
  424. ]
  425. }
  426. ]
  427. }
  428. ]
  429. },
  430. {
  431. "name":"process4",
  432. "locations":[
  433. {
  434. "name":"location"
  435. }
  436. ],
  437. "initial-locations":[
  438. "location"
  439. ],
  440. "edges":[
  441. {
  442. "location":"location",
  443. "action":"tau__",
  444. "guard":{
  445. "exp":{
  446. "op":"∧",
  447. "left":{
  448. "op":"=",
  449. "left":"d4",
  450. "right":"d3"
  451. },
  452. "right":{
  453. "op":"=",
  454. "left":"p4",
  455. "right":"p3"
  456. }
  457. }
  458. },
  459. "destinations":[
  460. {
  461. "probability":{
  462. "exp":0.5000000
  463. },
  464. "location":"location",
  465. "assignments":[
  466. {
  467. "ref":"d4",
  468. "value":{
  469. "op":"¬",
  470. "exp":"d4"
  471. }
  472. },
  473. {
  474. "ref":"p4",
  475. "value":"p4"
  476. }
  477. ],
  478. "observables":[
  479. ]
  480. },
  481. {
  482. "probability":{
  483. "exp":0.5000000
  484. },
  485. "location":"location",
  486. "assignments":[
  487. {
  488. "ref":"d4",
  489. "value":{
  490. "op":"¬",
  491. "exp":"d4"
  492. }
  493. },
  494. {
  495. "ref":"p4",
  496. "value":{
  497. "op":"¬",
  498. "exp":"p4"
  499. }
  500. }
  501. ],
  502. "observables":[
  503. ]
  504. }
  505. ]
  506. },
  507. {
  508. "location":"location",
  509. "action":"tau__",
  510. "guard":{
  511. "exp":{
  512. "op":"∧",
  513. "left":{
  514. "op":"=",
  515. "left":"d4",
  516. "right":"d3"
  517. },
  518. "right":{
  519. "op":"¬",
  520. "exp":{
  521. "op":"=",
  522. "left":"p4",
  523. "right":"p3"
  524. }
  525. }
  526. }
  527. },
  528. "destinations":[
  529. {
  530. "probability":{
  531. "exp":1
  532. },
  533. "location":"location",
  534. "assignments":[
  535. {
  536. "ref":"d4",
  537. "value":{
  538. "op":"¬",
  539. "exp":"d4"
  540. }
  541. }
  542. ],
  543. "observables":[
  544. ]
  545. }
  546. ]
  547. }
  548. ]
  549. },
  550. {
  551. "name":"process5",
  552. "locations":[
  553. {
  554. "name":"location"
  555. }
  556. ],
  557. "initial-locations":[
  558. "location"
  559. ],
  560. "edges":[
  561. {
  562. "location":"location",
  563. "action":"tau__",
  564. "guard":{
  565. "exp":{
  566. "op":"∧",
  567. "left":{
  568. "op":"=",
  569. "left":"d5",
  570. "right":"d4"
  571. },
  572. "right":{
  573. "op":"=",
  574. "left":"p5",
  575. "right":"p4"
  576. }
  577. }
  578. },
  579. "destinations":[
  580. {
  581. "probability":{
  582. "exp":0.5000000
  583. },
  584. "location":"location",
  585. "assignments":[
  586. {
  587. "ref":"d5",
  588. "value":{
  589. "op":"¬",
  590. "exp":"d5"
  591. }
  592. },
  593. {
  594. "ref":"p5",
  595. "value":"p5"
  596. }
  597. ],
  598. "observables":[
  599. ]
  600. },
  601. {
  602. "probability":{
  603. "exp":0.5000000
  604. },
  605. "location":"location",
  606. "assignments":[
  607. {
  608. "ref":"d5",
  609. "value":{
  610. "op":"¬",
  611. "exp":"d5"
  612. }
  613. },
  614. {
  615. "ref":"p5",
  616. "value":{
  617. "op":"¬",
  618. "exp":"p5"
  619. }
  620. }
  621. ],
  622. "observables":[
  623. ]
  624. }
  625. ]
  626. },
  627. {
  628. "location":"location",
  629. "action":"tau__",
  630. "guard":{
  631. "exp":{
  632. "op":"∧",
  633. "left":{
  634. "op":"=",
  635. "left":"d5",
  636. "right":"d4"
  637. },
  638. "right":{
  639. "op":"¬",
  640. "exp":{
  641. "op":"=",
  642. "left":"p5",
  643. "right":"p4"
  644. }
  645. }
  646. }
  647. },
  648. "destinations":[
  649. {
  650. "probability":{
  651. "exp":1
  652. },
  653. "location":"location",
  654. "assignments":[
  655. {
  656. "ref":"d5",
  657. "value":{
  658. "op":"¬",
  659. "exp":"d5"
  660. }
  661. }
  662. ],
  663. "observables":[
  664. ]
  665. }
  666. ]
  667. }
  668. ]
  669. }
  670. ],
  671. "system":{
  672. "elements":[
  673. {
  674. "automaton":"process1"
  675. },
  676. {
  677. "automaton":"process2"
  678. },
  679. {
  680. "automaton":"process3"
  681. },
  682. {
  683. "automaton":"process4"
  684. },
  685. {
  686. "automaton":"process5"
  687. }
  688. ],
  689. "syncs":[
  690. {
  691. "synchronise":[
  692. "tau__",
  693. null,
  694. null,
  695. null,
  696. null
  697. ],
  698. "result":"tau__"
  699. },
  700. {
  701. "synchronise":[
  702. null,
  703. "tau__",
  704. null,
  705. null,
  706. null
  707. ],
  708. "result":"tau__"
  709. },
  710. {
  711. "synchronise":[
  712. null,
  713. null,
  714. "tau__",
  715. null,
  716. null
  717. ],
  718. "result":"tau__"
  719. },
  720. {
  721. "synchronise":[
  722. null,
  723. null,
  724. null,
  725. "tau__",
  726. null
  727. ],
  728. "result":"tau__"
  729. },
  730. {
  731. "synchronise":[
  732. null,
  733. null,
  734. null,
  735. null,
  736. "tau__"
  737. ],
  738. "result":"tau__"
  739. }
  740. ]
  741. }
  742. }