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.

439 lines
14 KiB

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