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.

455 lines
15 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. "observables":[
  40. {
  41. "name":"\"steps\""
  42. }
  43. ],
  44. "initial-states":{
  45. "exp":true
  46. },
  47. "automata":[
  48. {
  49. "name":"process1",
  50. "locations":[
  51. {
  52. "name":"location",
  53. "observables":[
  54. {
  55. "ref":"\"steps\"",
  56. "value":1
  57. }
  58. ]
  59. }
  60. ],
  61. "initial-locations":[
  62. "location"
  63. ],
  64. "edges":[
  65. {
  66. "location":"location",
  67. "action":"tau__",
  68. "guard":{
  69. "exp":{
  70. "op":"∧",
  71. "left":{
  72. "op":"=",
  73. "left":"d1",
  74. "right":"d3"
  75. },
  76. "right":{
  77. "op":"=",
  78. "left":"p1",
  79. "right":"p3"
  80. }
  81. }
  82. },
  83. "destinations":[
  84. {
  85. "probability":{
  86. "exp":0.5000000
  87. },
  88. "location":"location",
  89. "assignments":[
  90. {
  91. "ref":"d1",
  92. "value":{
  93. "op":"¬",
  94. "exp":"d1"
  95. }
  96. },
  97. {
  98. "ref":"p1",
  99. "value":"p1"
  100. }
  101. ],
  102. "observables":[
  103. ]
  104. },
  105. {
  106. "probability":{
  107. "exp":0.5000000
  108. },
  109. "location":"location",
  110. "assignments":[
  111. {
  112. "ref":"d1",
  113. "value":{
  114. "op":"¬",
  115. "exp":"d1"
  116. }
  117. },
  118. {
  119. "ref":"p1",
  120. "value":{
  121. "op":"¬",
  122. "exp":"p1"
  123. }
  124. }
  125. ],
  126. "observables":[
  127. ]
  128. }
  129. ]
  130. },
  131. {
  132. "location":"location",
  133. "action":"tau__",
  134. "guard":{
  135. "exp":{
  136. "op":"∧",
  137. "left":{
  138. "op":"=",
  139. "left":"d1",
  140. "right":"d3"
  141. },
  142. "right":{
  143. "op":"¬",
  144. "exp":{
  145. "op":"=",
  146. "left":"p1",
  147. "right":"p3"
  148. }
  149. }
  150. }
  151. },
  152. "destinations":[
  153. {
  154. "probability":{
  155. "exp":1
  156. },
  157. "location":"location",
  158. "assignments":[
  159. {
  160. "ref":"d1",
  161. "value":{
  162. "op":"¬",
  163. "exp":"d1"
  164. }
  165. }
  166. ],
  167. "observables":[
  168. ]
  169. }
  170. ]
  171. }
  172. ]
  173. },
  174. {
  175. "name":"process2",
  176. "locations":[
  177. {
  178. "name":"location"
  179. }
  180. ],
  181. "initial-locations":[
  182. "location"
  183. ],
  184. "edges":[
  185. {
  186. "location":"location",
  187. "action":"tau__",
  188. "guard":{
  189. "exp":{
  190. "op":"∧",
  191. "left":{
  192. "op":"=",
  193. "left":"d2",
  194. "right":"d1"
  195. },
  196. "right":{
  197. "op":"=",
  198. "left":"p2",
  199. "right":"p1"
  200. }
  201. }
  202. },
  203. "destinations":[
  204. {
  205. "probability":{
  206. "exp":0.5000000
  207. },
  208. "location":"location",
  209. "assignments":[
  210. {
  211. "ref":"d2",
  212. "value":{
  213. "op":"¬",
  214. "exp":"d2"
  215. }
  216. },
  217. {
  218. "ref":"p2",
  219. "value":"p2"
  220. }
  221. ],
  222. "observables":[
  223. ]
  224. },
  225. {
  226. "probability":{
  227. "exp":0.5000000
  228. },
  229. "location":"location",
  230. "assignments":[
  231. {
  232. "ref":"d2",
  233. "value":{
  234. "op":"¬",
  235. "exp":"d2"
  236. }
  237. },
  238. {
  239. "ref":"p2",
  240. "value":{
  241. "op":"¬",
  242. "exp":"p2"
  243. }
  244. }
  245. ],
  246. "observables":[
  247. ]
  248. }
  249. ]
  250. },
  251. {
  252. "location":"location",
  253. "action":"tau__",
  254. "guard":{
  255. "exp":{
  256. "op":"∧",
  257. "left":{
  258. "op":"=",
  259. "left":"d2",
  260. "right":"d1"
  261. },
  262. "right":{
  263. "op":"¬",
  264. "exp":{
  265. "op":"=",
  266. "left":"p2",
  267. "right":"p1"
  268. }
  269. }
  270. }
  271. },
  272. "destinations":[
  273. {
  274. "probability":{
  275. "exp":1
  276. },
  277. "location":"location",
  278. "assignments":[
  279. {
  280. "ref":"d2",
  281. "value":{
  282. "op":"¬",
  283. "exp":"d2"
  284. }
  285. }
  286. ],
  287. "observables":[
  288. ]
  289. }
  290. ]
  291. }
  292. ]
  293. },
  294. {
  295. "name":"process3",
  296. "locations":[
  297. {
  298. "name":"location"
  299. }
  300. ],
  301. "initial-locations":[
  302. "location"
  303. ],
  304. "edges":[
  305. {
  306. "location":"location",
  307. "action":"tau__",
  308. "guard":{
  309. "exp":{
  310. "op":"∧",
  311. "left":{
  312. "op":"=",
  313. "left":"d3",
  314. "right":"d2"
  315. },
  316. "right":{
  317. "op":"=",
  318. "left":"p3",
  319. "right":"p2"
  320. }
  321. }
  322. },
  323. "destinations":[
  324. {
  325. "probability":{
  326. "exp":0.5000000
  327. },
  328. "location":"location",
  329. "assignments":[
  330. {
  331. "ref":"d3",
  332. "value":{
  333. "op":"¬",
  334. "exp":"d3"
  335. }
  336. },
  337. {
  338. "ref":"p3",
  339. "value":"p3"
  340. }
  341. ],
  342. "observables":[
  343. ]
  344. },
  345. {
  346. "probability":{
  347. "exp":0.5000000
  348. },
  349. "location":"location",
  350. "assignments":[
  351. {
  352. "ref":"d3",
  353. "value":{
  354. "op":"¬",
  355. "exp":"d3"
  356. }
  357. },
  358. {
  359. "ref":"p3",
  360. "value":{
  361. "op":"¬",
  362. "exp":"p3"
  363. }
  364. }
  365. ],
  366. "observables":[
  367. ]
  368. }
  369. ]
  370. },
  371. {
  372. "location":"location",
  373. "action":"tau__",
  374. "guard":{
  375. "exp":{
  376. "op":"∧",
  377. "left":{
  378. "op":"=",
  379. "left":"d3",
  380. "right":"d2"
  381. },
  382. "right":{
  383. "op":"¬",
  384. "exp":{
  385. "op":"=",
  386. "left":"p3",
  387. "right":"p2"
  388. }
  389. }
  390. }
  391. },
  392. "destinations":[
  393. {
  394. "probability":{
  395. "exp":1
  396. },
  397. "location":"location",
  398. "assignments":[
  399. {
  400. "ref":"d3",
  401. "value":{
  402. "op":"¬",
  403. "exp":"d3"
  404. }
  405. }
  406. ],
  407. "observables":[
  408. ]
  409. }
  410. ]
  411. }
  412. ]
  413. }
  414. ],
  415. "system":{
  416. "elements":[
  417. {
  418. "automaton":"process1"
  419. },
  420. {
  421. "automaton":"process2"
  422. },
  423. {
  424. "automaton":"process3"
  425. }
  426. ],
  427. "syncs":[
  428. {
  429. "synchronise":[
  430. "tau__",
  431. null,
  432. null
  433. ],
  434. "result":"tau__"
  435. },
  436. {
  437. "synchronise":[
  438. null,
  439. "tau__",
  440. null
  441. ],
  442. "result":"tau__"
  443. },
  444. {
  445. "synchronise":[
  446. null,
  447. null,
  448. "tau__"
  449. ],
  450. "result":"tau__"
  451. }
  452. ]
  453. }
  454. }