Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 4 4
- Read Seed Set A
- 1
- Read Seed Set B
- 2
- d = 3 and loop = 10
- ::: Start simulation :::
- ---------------Loop 1------------------
- Node 1 : 0.961601 0.0499451
- Node 2 : 0.595898 0.964495
- Node 3 : 0.281235 0.14333
- Node 4 : 0.565606 0.481958
- Time 1
- A include 1
- B include 2
- Inactive 3 with inA = 0.4 and inB = 0.2
- Tie-breaking
- Prob a and b: 0.666667 ---- 0.333333
- Coin :0.0581576
- Is A-actived -- Tie-breaking
- Inactive 4 with inA = 0.2 and inB = 0
- Time 2
- A include 1 3
- B include 2
- Inactive 4 with inA = 0.2 and inB = 0
- ---------------Loop 2------------------
- Node 1 : 0.611862 0.445625
- Node 2 : 0.34278 0.629077
- Node 3 : 0.24003 0.178528
- Node 4 : 0.992806 0.394576
- Time 1
- A include 1
- B include 2
- Inactive 3 with inA = 0.4 and inB = 0.2
- Tie-breaking
- Prob a and b: 0.666667 ---- 0.333333
- Coin :0.0252161
- Is A-actived -- Tie-breaking
- Inactive 4 with inA = 0.2 and inB = 0
- Time 2
- A include 1 3
- B include 2
- Inactive 4 with inA = 0.2 and inB = 0
- ---------------Loop 3------------------
- Node 1 : 0.963128 0.380376
- Node 2 : 0.732683 0.422399
- Node 3 : 0.620656 0.394235
- Node 4 : 0.389343 0.888387
- Time 1
- A include 1
- B include 2
- Inactive 3 with inA = 0.4 and inB = 0.2
- Inactive 4 with inA = 0.2 and inB = 0
- ---------------Loop 4------------------
- Node 1 : 0.859202 0.909842
- Node 2 : 0.46196 0.0215793
- Node 3 : 0.726 0.429944
- Node 4 : 0.909982 0.0236657
- Time 1
- A include 1
- B include 2
- Inactive 3 with inA = 0.4 and inB = 0.2
- Inactive 4 with inA = 0.2 and inB = 0
- ---------------Loop 5------------------
- Node 1 : 0.521735 0.663923
- Node 2 : 0.79236 0.19278
- Node 3 : 0.00356832 0.897916
- Node 4 : 0.0888211 0.592025
- Time 1
- A include 1
- B include 2
- Inactive 3 with inA = 0.4 and inB = 0.2
- Is A-actived
- Inactive 4 with inA = 0.2 and inB = 0
- Is A-actived
- Time 2
- A include 1 3 4
- B include 2
- ---------------Loop 6------------------
- Node 1 : 0.0824875 0.773049
- Node 2 : 0.0657668 0.816955
- Node 3 : 0.522485 0.241894
- Node 4 : 0.586361 0.470097
- Time 1
- A include 1
- B include 2
- Inactive 3 with inA = 0.4 and inB = 0.2
- Inactive 4 with inA = 0.2 and inB = 0
- ---------------Loop 7------------------
- Node 1 : 0.364068 0.813155
- Node 2 : 0.787046 0.431977
- Node 3 : 0.581852 0.980096
- Node 4 : 0.428378 0.716842
- Time 1
- A include 1
- B include 2
- Inactive 3 with inA = 0.4 and inB = 0.2
- Inactive 4 with inA = 0.2 and inB = 0
- ---------------Loop 8------------------
- Node 1 : 0.700414 0.142979
- Node 2 : 0.67746 0.829997
- Node 3 : 0.760568 0.717946
- Node 4 : 0.588944 0.756533
- Time 1
- A include 1
- B include 2
- Inactive 3 with inA = 0.4 and inB = 0.2
- Inactive 4 with inA = 0.2 and inB = 0
- ---------------Loop 9------------------
- Node 1 : 0.286398 0.828645
- Node 2 : 0.443499 0.335276
- Node 3 : 0.201196 0.505491
- Node 4 : 0.453504 0.823776
- Time 1
- A include 1
- B include 2
- Inactive 3 with inA = 0.4 and inB = 0.2
- Is A-actived
- Inactive 4 with inA = 0.2 and inB = 0
- Time 2
- A include 1 3
- B include 2
- Inactive 4 with inA = 0.2 and inB = 0
- ---------------Loop 10------------------
- Node 1 : 0.153178 0.418051
- Node 2 : 0.596723 0.629152
- Node 3 : 0.924933 0.494216
- Node 4 : 0.772078 0.476226
- Time 1
- A include 1
- B include 2
- Inactive 3 with inA = 0.4 and inB = 0.2
- Inactive 4 with inA = 0.2 and inB = 0
- Result Mote Carlo with 10 times simulation is:
- 2.5
- Time: 0s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement