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.

209 lines
6.2 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":"n",
  22. "type":{
  23. "kind":"bounded",
  24. "base":"int",
  25. "lower-bound":0,
  26. "upper-bound":"N"
  27. }
  28. }
  29. ],
  30. "observables":[
  31. {
  32. "name":"\"calls\""
  33. }
  34. ],
  35. "initial-states":{
  36. "exp":{
  37. "op":"=",
  38. "left":"n",
  39. "right":0
  40. }
  41. },
  42. "automata":[
  43. {
  44. "name":"cell",
  45. "locations":[
  46. {
  47. "name":"location",
  48. "observables":[
  49. {
  50. "ref":"\"calls\"",
  51. "value":"n"
  52. }
  53. ]
  54. }
  55. ],
  56. "initial-locations":[
  57. "location"
  58. ],
  59. "edges":[
  60. {
  61. "location":"location",
  62. "action":"tau__",
  63. "rate":{
  64. "exp":49
  65. },
  66. "guard":{
  67. "exp":{
  68. "op":"<",
  69. "left":"n",
  70. "right":{
  71. "op":"*",
  72. "left":"N",
  73. "right":0.8000000
  74. }
  75. }
  76. },
  77. "destinations":[
  78. {
  79. "probability":{
  80. "exp":{
  81. "op":"/",
  82. "left":49,
  83. "right":49
  84. }
  85. },
  86. "location":"location",
  87. "assignments":[
  88. {
  89. "ref":"n",
  90. "value":{
  91. "op":"+",
  92. "left":"n",
  93. "right":1
  94. }
  95. }
  96. ],
  97. "observables":[
  98. ]
  99. }
  100. ]
  101. },
  102. {
  103. "location":"location",
  104. "action":"tau__",
  105. "rate":{
  106. "exp":21
  107. },
  108. "guard":{
  109. "exp":{
  110. "op":"<",
  111. "left":"n",
  112. "right":"N"
  113. }
  114. },
  115. "destinations":[
  116. {
  117. "probability":{
  118. "exp":{
  119. "op":"/",
  120. "left":21,
  121. "right":21
  122. }
  123. },
  124. "location":"location",
  125. "assignments":[
  126. {
  127. "ref":"n",
  128. "value":{
  129. "op":"+",
  130. "left":"n",
  131. "right":1
  132. }
  133. }
  134. ],
  135. "observables":[
  136. ]
  137. }
  138. ]
  139. },
  140. {
  141. "location":"location",
  142. "action":"tau__",
  143. "rate":{
  144. "exp":{
  145. "op":"*",
  146. "left":"n",
  147. "right":1
  148. }
  149. },
  150. "guard":{
  151. "exp":{
  152. "op":">",
  153. "left":"n",
  154. "right":0
  155. }
  156. },
  157. "destinations":[
  158. {
  159. "probability":{
  160. "exp":{
  161. "op":"/",
  162. "left":{
  163. "op":"*",
  164. "left":"n",
  165. "right":1
  166. },
  167. "right":{
  168. "op":"*",
  169. "left":"n",
  170. "right":1
  171. }
  172. }
  173. },
  174. "location":"location",
  175. "assignments":[
  176. {
  177. "ref":"n",
  178. "value":{
  179. "op":"-",
  180. "left":"n",
  181. "right":1
  182. }
  183. }
  184. ],
  185. "observables":[
  186. ]
  187. }
  188. ]
  189. }
  190. ]
  191. }
  192. ],
  193. "system":{
  194. "elements":[
  195. {
  196. "automaton":"cell"
  197. }
  198. ],
  199. "syncs":[
  200. {
  201. "synchronise":[
  202. "tau__"
  203. ],
  204. "result":"tau__"
  205. }
  206. ]
  207. }
  208. }