-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.txt
347 lines (346 loc) · 12.1 KB
/
output.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
Network Simulator v1.0
Enter trace level (>= 0): [0] Enter seed (>= 0): [3322] Node 0 initialized at 0.0
via
D0 | 1 2
----|-----------------
1| 9999 9999
dest 2| 9999 9999
3| 9999 9999
min cost array for Node 0: 0 1 1 9999
Node 0 sending update to Node 1 at 0.0
min cost array for Node 0 sent to Node 1 after poisoning: 0 1 1 9999
Node 0 sending update to Node 2 at 0.0
min cost array for Node 0 sent to Node 2 after poisoning: 0 1 1 9999
Node 1 initialized at 0.0
via
D1 | 0 2 3
----|-----------------
0| 9999 9999 9999
dest 2| 9999 9999 9999
3| 9999 9999 9999
min cost array for Node 1: 1 0 10 7
Node 1 sending update to Node 0 at 0.0
min cost array for Node 1 sent to Node 0 after poisoning: 1 0 10 7
Node 1 sending update to Node 2 at 0.0
min cost array for Node 1 sent to Node 2 after poisoning: 1 0 10 7
Node 1 sending update to Node 3 at 0.0
min cost array for Node 1 sent to Node 3 after poisoning: 1 0 10 7
Node 2 initialized at 0.0
via
D2 | 0 1 3
----|-----------------
0| 9999 9999 9999
dest 1| 9999 9999 9999
3| 9999 9999 9999
min cost array for Node 2: 1 10 0 2
Node 2 sending update to Node 0 at 0.0
min cost array for Node 2 sent to Node 0 after poisoning: 1 10 0 2
Node 2 sending update to Node 1 at 0.0
min cost array for Node 2 sent to Node 1 after poisoning: 1 10 0 2
Node 2 sending update to Node 3 at 0.0
min cost array for Node 2 sent to Node 3 after poisoning: 1 10 0 2
Node 3 initialized at 0.0
via
D3 | 1 2
----|-----------------
0| 9999 9999
dest 1| 9999 9999
2| 9999 9999
min cost array for Node 3: 9999 7 2 0
Node 3 sending update to Node 1 at 0.0
min cost array for Node 3 sent to Node 1 after poisoning: 9999 7 2 0
Node 3 sending update to Node 2 at 0.0
min cost array for Node 3 sent to Node 2 after poisoning: 9999 7 2 0
Node 2 updated by Node 0 at 0.09198278756065553
via
D2 | 0 1 3
----|-----------------
0| 1 9999 9999
dest 1| 2 9999 9999
3| 9999 9999 9999
min cost array for Node 2: 1 2 0 2
Node 2 sending update to Node 0 at 0.09198278756065553
min cost array for Node 2 sent to Node 0 after poisoning: 9999 9999 0 2
Node 2 sending update to Node 1 at 0.09198278756065553
min cost array for Node 2 sent to Node 1 after poisoning: 1 2 0 2
Node 2 sending update to Node 3 at 0.09198278756065553
min cost array for Node 2 sent to Node 3 after poisoning: 1 2 0 2
Node 0 updated by Node 1 at 0.10388500625629445
via
D0 | 1 2
----|-----------------
1| 1 9999
dest 2| 11 9999
3| 8 9999
min cost array for Node 0: 0 1 1 8
Node 0 sending update to Node 1 at 0.10388500625629445
min cost array for Node 0 sent to Node 1 after poisoning: 0 9999 1 9999
Node 0 sending update to Node 2 at 0.10388500625629445
min cost array for Node 0 sent to Node 2 after poisoning: 0 1 1 8
Node 1 updated by Node 0 at 0.11456648457289346
via
D1 | 0 2 3
----|-----------------
0| 1 9999 9999
dest 2| 2 9999 9999
3| 9999 9999 9999
min cost array for Node 1: 1 0 2 7
Node 1 sending update to Node 0 at 0.11456648457289346
min cost array for Node 1 sent to Node 0 after poisoning: 9999 0 9999 7
Node 1 sending update to Node 2 at 0.11456648457289346
min cost array for Node 1 sent to Node 2 after poisoning: 1 0 2 7
Node 1 sending update to Node 3 at 0.11456648457289346
min cost array for Node 1 sent to Node 3 after poisoning: 1 0 2 7
Node 2 updated by Node 1 at 0.44654683065279094
via
D2 | 0 1 3
----|-----------------
0| 1 11 9999
dest 1| 2 10 9999
3| 9999 17 9999
min cost array for Node 2: 1 2 0 2
update by Node 1 did not change state of Node 2's min cost array
Node 3 updated by Node 1 at 0.8836329233680227
via
D3 | 1 2
----|-----------------
0| 8 9999
dest 1| 7 9999
2| 17 9999
min cost array for Node 3: 8 7 2 0
Node 3 sending update to Node 1 at 0.8836329233680227
min cost array for Node 3 sent to Node 1 after poisoning: 9999 9999 2 0
Node 3 sending update to Node 2 at 0.8836329233680227
min cost array for Node 3 sent to Node 2 after poisoning: 8 7 2 0
Node 1 updated by Node 2 at 1.3746147038178655
via
D1 | 0 2 3
----|-----------------
0| 1 11 9999
dest 2| 2 10 9999
3| 9999 12 9999
min cost array for Node 1: 1 0 2 7
update by Node 2 did not change state of Node 1's min cost array
Node 1 updated by Node 3 at 1.4098330637531662
via
D1 | 0 2 3
----|-----------------
0| 1 11 9999
dest 2| 2 10 9
3| 9999 12 7
min cost array for Node 1: 1 0 2 7
update by Node 3 did not change state of Node 1's min cost array
Node 3 updated by Node 2 at 1.6687520981475266
via
D3 | 1 2
----|-----------------
0| 8 3
dest 1| 7 12
2| 17 2
min cost array for Node 3: 3 7 2 0
Node 3 sending update to Node 1 at 1.6687520981475266
min cost array for Node 3 sent to Node 1 after poisoning: 3 9999 2 0
Node 3 sending update to Node 2 at 1.6687520981475266
min cost array for Node 3 sent to Node 2 after poisoning: 9999 7 9999 0
Node 0 updated by Node 2 at 2.032410657063509
via
D0 | 1 2
----|-----------------
1| 1 11
dest 2| 11 1
3| 8 3
min cost array for Node 0: 0 1 1 3
Node 0 sending update to Node 1 at 2.032410657063509
min cost array for Node 0 sent to Node 1 after poisoning: 0 9999 1 3
Node 0 sending update to Node 2 at 2.032410657063509
min cost array for Node 0 sent to Node 2 after poisoning: 0 1 9999 9999
Node 0 updated by Node 2 at 2.1378215887936034
via
D0 | 1 2
----|-----------------
1| 1 9999
dest 2| 11 1
3| 8 3
min cost array for Node 0: 0 1 1 3
update by Node 2 did not change state of Node 0's min cost array
Node 2 updated by Node 3 at 2.305795464949492
via
D2 | 0 1 3
----|-----------------
0| 1 11 9999
dest 1| 2 10 9
3| 9999 17 2
min cost array for Node 2: 1 2 0 2
update by Node 3 did not change state of Node 2's min cost array
Node 3 updated by Node 2 at 2.351268044068728
via
D3 | 1 2
----|-----------------
0| 8 3
dest 1| 7 4
2| 17 2
min cost array for Node 3: 3 4 2 0
Node 3 sending update to Node 1 at 2.351268044068728
min cost array for Node 3 sent to Node 1 after poisoning: 3 4 2 0
Node 3 sending update to Node 2 at 2.351268044068728
min cost array for Node 3 sent to Node 2 after poisoning: 9999 9999 9999 0
Node 0 updated by Node 1 at 2.434034241767632
via
D0 | 1 2
----|-----------------
1| 1 9999
dest 2| 9999 1
3| 8 3
min cost array for Node 0: 0 1 1 3
update by Node 1 did not change state of Node 0's min cost array
Node 1 updated by Node 2 at 2.6899014252143925
via
D1 | 0 2 3
----|-----------------
0| 1 11 9999
dest 2| 2 10 9
3| 9999 12 7
min cost array for Node 1: 1 0 2 7
update by Node 2 did not change state of Node 1's min cost array
Node 2 updated by Node 0 at 3.9318826868495744
via
D2 | 0 1 3
----|-----------------
0| 1 11 9999
dest 1| 2 10 9
3| 9 17 2
min cost array for Node 2: 1 2 0 2
update by Node 0 did not change state of Node 2's min cost array
Node 2 updated by Node 1 at 4.079836420789209
via
D2 | 0 1 3
----|-----------------
0| 1 11 9999
dest 1| 2 10 9
3| 9 17 2
min cost array for Node 2: 1 2 0 2
update by Node 1 did not change state of Node 2's min cost array
Node 1 updated by Node 0 at 4.085451826532792
via
D1 | 0 2 3
----|-----------------
0| 1 11 9999
dest 2| 2 10 9
3| 9999 12 7
min cost array for Node 1: 1 0 2 7
update by Node 0 did not change state of Node 1's min cost array
Node 3 updated by Node 1 at 4.127201147495956
via
D3 | 1 2
----|-----------------
0| 8 3
dest 1| 7 4
2| 9 2
min cost array for Node 3: 3 4 2 0
update by Node 1 did not change state of Node 3's min cost array
Node 1 updated by Node 3 at 5.360087893307291
via
D1 | 0 2 3
----|-----------------
0| 1 11 9999
dest 2| 2 10 9
3| 9999 12 7
min cost array for Node 1: 1 0 2 7
update by Node 3 did not change state of Node 1's min cost array
Node 2 updated by Node 3 at 5.944944608905302
via
D2 | 0 1 3
----|-----------------
0| 1 11 10
dest 1| 2 10 9
3| 9 17 2
min cost array for Node 2: 1 2 0 2
update by Node 3 did not change state of Node 2's min cost array
Node 1 updated by Node 3 at 6.524979400006104
via
D1 | 0 2 3
----|-----------------
0| 1 11 10
dest 2| 2 10 9
3| 9999 12 7
min cost array for Node 1: 1 0 2 7
update by Node 3 did not change state of Node 1's min cost array
Node 2 updated by Node 3 at 6.936735129856259
via
D2 | 0 1 3
----|-----------------
0| 1 11 9999
dest 1| 2 10 9
3| 9 17 2
min cost array for Node 2: 1 2 0 2
update by Node 3 did not change state of Node 2's min cost array
Node 1 updated by Node 0 at 6.967986083559679
via
D1 | 0 2 3
----|-----------------
0| 1 11 10
dest 2| 2 10 9
3| 4 12 7
min cost array for Node 1: 1 0 2 4
Node 1 sending update to Node 0 at 6.967986083559679
min cost array for Node 1 sent to Node 0 after poisoning: 9999 0 9999 9999
Node 1 sending update to Node 2 at 6.967986083559679
min cost array for Node 1 sent to Node 2 after poisoning: 1 0 2 4
Node 1 sending update to Node 3 at 6.967986083559679
min cost array for Node 1 sent to Node 3 after poisoning: 1 0 2 4
Node 0 updated by Node 1 at 7.523911252174444
via
D0 | 1 2
----|-----------------
1| 1 9999
dest 2| 9999 1
3| 9999 3
min cost array for Node 0: 0 1 1 3
update by Node 1 did not change state of Node 0's min cost array
Node 1 updated by Node 3 at 7.82311471907712
via
D1 | 0 2 3
----|-----------------
0| 1 11 10
dest 2| 2 10 9
3| 4 12 7
min cost array for Node 1: 1 0 2 4
update by Node 3 did not change state of Node 1's min cost array
Node 3 updated by Node 1 at 7.89043855098117
via
D3 | 1 2
----|-----------------
0| 8 3
dest 1| 7 4
2| 9 2
min cost array for Node 3: 3 4 2 0
update by Node 1 did not change state of Node 3's min cost array
Node 2 updated by Node 0 at 8.147099215674308
via
D2 | 0 1 3
----|-----------------
0| 1 11 9999
dest 1| 2 10 9
3| 9999 17 2
min cost array for Node 2: 1 2 0 2
update by Node 0 did not change state of Node 2's min cost array
Node 2 updated by Node 3 at 8.691549424726098
via
D2 | 0 1 3
----|-----------------
0| 1 11 9999
dest 1| 2 10 9999
3| 9999 17 2
min cost array for Node 2: 1 2 0 2
update by Node 3 did not change state of Node 2's min cost array
Node 2 updated by Node 1 at 8.756920072023684
via
D2 | 0 1 3
----|-----------------
0| 1 11 9999
dest 1| 2 10 9999
3| 9999 14 2
min cost array for Node 2: 1 2 0 2
update by Node 1 did not change state of Node 2's min cost array
Simulator terminated at t=8.756920, no packets in medium
Simulator terminated at time 8.756920072023684