Advertisement
Guest User

Untitled

a guest
Jul 21st, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.28 KB | None | 0 0
  1. 4 4
  2. Read Seed Set A
  3. 1
  4. Read Seed Set B
  5. 2
  6. d = 3 and loop = 10
  7. ::: Start simulation :::
  8. ---------------Loop 1------------------
  9. Node 1 : 0.961601 0.0499451
  10. Node 2 : 0.595898 0.964495
  11. Node 3 : 0.281235 0.14333
  12. Node 4 : 0.565606 0.481958
  13. Time 1
  14. A include 1
  15. B include 2
  16. Inactive 3 with inA = 0.4 and inB = 0.2
  17. Tie-breaking
  18. Prob a and b: 0.666667 ---- 0.333333
  19. Coin :0.0581576
  20. Is A-actived -- Tie-breaking
  21. Inactive 4 with inA = 0.2 and inB = 0
  22. Time 2
  23. A include 1 3
  24. B include 2
  25. Inactive 4 with inA = 0.2 and inB = 0
  26. ---------------Loop 2------------------
  27. Node 1 : 0.611862 0.445625
  28. Node 2 : 0.34278 0.629077
  29. Node 3 : 0.24003 0.178528
  30. Node 4 : 0.992806 0.394576
  31. Time 1
  32. A include 1
  33. B include 2
  34. Inactive 3 with inA = 0.4 and inB = 0.2
  35. Tie-breaking
  36. Prob a and b: 0.666667 ---- 0.333333
  37. Coin :0.0252161
  38. Is A-actived -- Tie-breaking
  39. Inactive 4 with inA = 0.2 and inB = 0
  40. Time 2
  41. A include 1 3
  42. B include 2
  43. Inactive 4 with inA = 0.2 and inB = 0
  44. ---------------Loop 3------------------
  45. Node 1 : 0.963128 0.380376
  46. Node 2 : 0.732683 0.422399
  47. Node 3 : 0.620656 0.394235
  48. Node 4 : 0.389343 0.888387
  49. Time 1
  50. A include 1
  51. B include 2
  52. Inactive 3 with inA = 0.4 and inB = 0.2
  53. Inactive 4 with inA = 0.2 and inB = 0
  54. ---------------Loop 4------------------
  55. Node 1 : 0.859202 0.909842
  56. Node 2 : 0.46196 0.0215793
  57. Node 3 : 0.726 0.429944
  58. Node 4 : 0.909982 0.0236657
  59. Time 1
  60. A include 1
  61. B include 2
  62. Inactive 3 with inA = 0.4 and inB = 0.2
  63. Inactive 4 with inA = 0.2 and inB = 0
  64. ---------------Loop 5------------------
  65. Node 1 : 0.521735 0.663923
  66. Node 2 : 0.79236 0.19278
  67. Node 3 : 0.00356832 0.897916
  68. Node 4 : 0.0888211 0.592025
  69. Time 1
  70. A include 1
  71. B include 2
  72. Inactive 3 with inA = 0.4 and inB = 0.2
  73. Is A-actived
  74. Inactive 4 with inA = 0.2 and inB = 0
  75. Is A-actived
  76. Time 2
  77. A include 1 3 4
  78. B include 2
  79. ---------------Loop 6------------------
  80. Node 1 : 0.0824875 0.773049
  81. Node 2 : 0.0657668 0.816955
  82. Node 3 : 0.522485 0.241894
  83. Node 4 : 0.586361 0.470097
  84. Time 1
  85. A include 1
  86. B include 2
  87. Inactive 3 with inA = 0.4 and inB = 0.2
  88. Inactive 4 with inA = 0.2 and inB = 0
  89. ---------------Loop 7------------------
  90. Node 1 : 0.364068 0.813155
  91. Node 2 : 0.787046 0.431977
  92. Node 3 : 0.581852 0.980096
  93. Node 4 : 0.428378 0.716842
  94. Time 1
  95. A include 1
  96. B include 2
  97. Inactive 3 with inA = 0.4 and inB = 0.2
  98. Inactive 4 with inA = 0.2 and inB = 0
  99. ---------------Loop 8------------------
  100. Node 1 : 0.700414 0.142979
  101. Node 2 : 0.67746 0.829997
  102. Node 3 : 0.760568 0.717946
  103. Node 4 : 0.588944 0.756533
  104. Time 1
  105. A include 1
  106. B include 2
  107. Inactive 3 with inA = 0.4 and inB = 0.2
  108. Inactive 4 with inA = 0.2 and inB = 0
  109. ---------------Loop 9------------------
  110. Node 1 : 0.286398 0.828645
  111. Node 2 : 0.443499 0.335276
  112. Node 3 : 0.201196 0.505491
  113. Node 4 : 0.453504 0.823776
  114. Time 1
  115. A include 1
  116. B include 2
  117. Inactive 3 with inA = 0.4 and inB = 0.2
  118. Is A-actived
  119. Inactive 4 with inA = 0.2 and inB = 0
  120. Time 2
  121. A include 1 3
  122. B include 2
  123. Inactive 4 with inA = 0.2 and inB = 0
  124. ---------------Loop 10------------------
  125. Node 1 : 0.153178 0.418051
  126. Node 2 : 0.596723 0.629152
  127. Node 3 : 0.924933 0.494216
  128. Node 4 : 0.772078 0.476226
  129. Time 1
  130. A include 1
  131. B include 2
  132. Inactive 3 with inA = 0.4 and inB = 0.2
  133. Inactive 4 with inA = 0.2 and inB = 0
  134. Result Mote Carlo with 10 times simulation is:
  135. 2.5
  136. Time: 0s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement