• API
• FAQ
• Tools
• Archive
A Pastebin account makes a great Christmas gift
SHARE
TWEET

# Untitled

a guest Apr 16th, 2018 45 Never
ENDING IN00days00hours00mins00secs

1. Starting Routing simulator!
2. Enter a filename: graph2.txt
3. 1 2 7
4. 2 3 1
5. 1 5 1
6. 4 5 2
7. 2 5 8
8. 4 3 2
9. ============================
10. TIME=0
11. ============================
12. Neighbor costs for 1:
13. -> node 1 = 0
14. -> node 2 = 7
15. -> node 3 = 16
16. -> node 4 = 16
17. -> node 5 = 1
18.
19. 1 Distance Vector Table:
20.    | 1 | 2 | 3 | 4 | 5 |
21. 1  | 0 | 7 |16 |16 | 1 |
22. 2  |16 |16 |16 |16 |16 |
23. 5  |16 |16 |16 |16 |16 |
24. The Distance Vector was updated.
25.
26. Neighbor costs for 2:
27. -> node 1 = 7
28. -> node 2 = 0
29. -> node 3 = 1
30. -> node 4 = 16
31. -> node 5 = 8
32.
33. 2 Distance Vector Table:
34.    | 1 | 2 | 3 | 4 | 5 |
35. 1  |16 |16 |16 |16 |16 |
36. 2  | 7 | 0 | 1 |16 | 8 |
37. 3  |16 |16 |16 |16 |16 |
38. 5  |16 |16 |16 |16 |16 |
39. The Distance Vector was updated.
40.
41. Neighbor costs for 3:
42. -> node 1 = 16
43. -> node 2 = 1
44. -> node 3 = 0
45. -> node 4 = 2
46. -> node 5 = 16
47.
48. 3 Distance Vector Table:
49.    | 1 | 2 | 3 | 4 | 5 |
50. 2  |16 |16 |16 |16 |16 |
51. 3  |16 | 1 | 0 | 2 |16 |
52. 4  |16 |16 |16 |16 |16 |
53. The Distance Vector was updated.
54.
55. Neighbor costs for 4:
56. -> node 1 = 16
57. -> node 2 = 16
58. -> node 3 = 2
59. -> node 4 = 0
60. -> node 5 = 2
61.
62. 4 Distance Vector Table:
63.    | 1 | 2 | 3 | 4 | 5 |
64. 3  |16 |16 |16 |16 |16 |
65. 4  |16 |16 | 2 | 0 | 2 |
66. 5  |16 |16 |16 |16 |16 |
67. The Distance Vector was updated.
68.
69. Neighbor costs for 5:
70. -> node 1 = 1
71. -> node 2 = 8
72. -> node 3 = 16
73. -> node 4 = 2
74. -> node 5 = 0
75.
76. 5 Distance Vector Table:
77.    | 1 | 2 | 3 | 4 | 5 |
78. 1  |16 |16 |16 |16 |16 |
79. 2  |16 |16 |16 |16 |16 |
80. 4  |16 |16 |16 |16 |16 |
81. 5  | 1 | 8 |16 | 2 | 0 |
82. The Distance Vector was updated.
83.
84. [0] Next step, [1] Auto-run algorithm, [2] Change link, [3] Quit: 2
85. Neighbor costs for 1:
86. -> node 1 = 0
87. -> node 2 = 7
88. -> node 3 = 16
89. -> node 4 = 16
90. -> node 5 = 1
91.
92. Neighbor costs for 2:
93. -> node 1 = 7
94. -> node 2 = 0
95. -> node 3 = 1
96. -> node 4 = 16
97. -> node 5 = 8
98.
99. Neighbor costs for 3:
100. -> node 1 = 16
101. -> node 2 = 1
102. -> node 3 = 0
103. -> node 4 = 2
104. -> node 5 = 16
105.
106. Neighbor costs for 4:
107. -> node 1 = 16
108. -> node 2 = 16
109. -> node 3 = 2
110. -> node 4 = 0
111. -> node 5 = 2
112.
113. Neighbor costs for 5:
114. -> node 1 = 1
115. -> node 2 = 8
116. -> node 3 = 16
117. -> node 4 = 2
118. -> node 5 = 0
119.
120. Enter node to change cost of: 1
121. Neighbor costs for 1:
122. -> node 1 = 0
123. -> node 2 = 7
124. -> node 3 = 16
125. -> node 4 = 16
126. -> node 5 = 1
127.
128. Enter destination node: 2
129. Enter new cost: 16
130. Neighbor costs for 1:
131. -> node 1 = 0
132. -> node 2 = 16
133. -> node 3 = 16
134. -> node 4 = 16
135. -> node 5 = 1
136.
137. [0] Next step, [1] Auto-run algorithm, [2] Change link, [3] Quit: 1
138. ============================
139. TIME=1
140. ============================
141. 1 Distance Vector Table:
142.    | 1 | 2 | 3 | 4 | 5 |
143. 1  | 0 | 7 |16 | 3 | 1 |
144. 5  | 1 | 8 |16 | 2 | 0 |
145. The Distance Vector was updated.
146.
147. 2 Distance Vector Table:
148.    | 1 | 2 | 3 | 4 | 5 |
149. 2  | 7 | 0 | 1 | 3 | 8 |
150. 3  |16 | 1 | 0 | 2 |16 |
151. 5  | 1 | 8 |16 | 2 | 0 |
152. The Distance Vector was updated.
153.
154. 3 Distance Vector Table:
155.    | 1 | 2 | 3 | 4 | 5 |
156. 2  | 7 | 0 | 1 |16 | 8 |
157. 3  | 8 | 1 | 0 | 2 | 4 |
158. 4  |16 |16 | 2 | 0 | 2 |
159. The Distance Vector was updated.
160.
161. 4 Distance Vector Table:
162.    | 1 | 2 | 3 | 4 | 5 |
163. 3  |16 | 1 | 0 | 2 |16 |
164. 4  | 3 | 3 | 2 | 0 | 2 |
165. 5  | 1 | 8 |16 | 2 | 0 |
166. The Distance Vector was updated.
167.
168. 5 Distance Vector Table:
169.    | 1 | 2 | 3 | 4 | 5 |
170. 1  | 0 | 7 |16 |16 | 1 |
171. 2  | 7 | 0 | 1 |16 | 8 |
172. 4  |16 |16 | 2 | 0 | 2 |
173. 5  | 1 | 8 | 4 | 2 | 0 |
174. The Distance Vector was updated.
175.
176. ============================
177. TIME=2
178. ============================
179. 1 Distance Vector Table:
180.    | 1 | 2 | 3 | 4 | 5 |
181. 1  | 0 | 7 | 5 | 3 | 1 |
182. 5  | 1 | 8 | 4 | 2 | 0 |
183. The Distance Vector was updated.
184.
185. 2 Distance Vector Table:
186.    | 1 | 2 | 3 | 4 | 5 |
187. 2  | 7 | 0 | 1 | 3 | 5 |
188. 3  | 8 | 1 | 0 | 2 | 4 |
189. 5  | 1 | 8 | 4 | 2 | 0 |
190. The Distance Vector was updated.
191.
192. 3 Distance Vector Table:
193.    | 1 | 2 | 3 | 4 | 5 |
194. 2  | 7 | 0 | 1 | 3 | 8 |
195. 3  | 5 | 1 | 0 | 2 | 4 |
196. 4  | 3 | 3 | 2 | 0 | 2 |
197. The Distance Vector was updated.
198.
199. 4 Distance Vector Table:
200.    | 1 | 2 | 3 | 4 | 5 |
201. 3  | 8 | 1 | 0 | 2 | 4 |
202. 4  | 3 | 3 | 2 | 0 | 2 |
203. 5  | 1 | 8 | 4 | 2 | 0 |
204. The Distance Vector was NOT updated.
205.
206. 5 Distance Vector Table:
207.    | 1 | 2 | 3 | 4 | 5 |
208. 1  | 0 | 7 |16 | 3 | 1 |
209. 2  | 7 | 0 | 1 | 3 | 8 |
210. 4  | 3 | 3 | 2 | 0 | 2 |
211. 5  | 1 | 5 | 4 | 2 | 0 |
212. The Distance Vector was updated.
213.
214. ============================
215. TIME=3
216. ============================
217. 1 Distance Vector Table:
218.    | 1 | 2 | 3 | 4 | 5 |
219. 1  | 0 | 6 | 5 | 3 | 1 |
220. 5  | 1 | 5 | 4 | 2 | 0 |
221. The Distance Vector was updated.
222.
223. 2 Distance Vector Table:
224.    | 1 | 2 | 3 | 4 | 5 |
225. 2  | 6 | 0 | 1 | 3 | 5 |
226. 3  | 5 | 1 | 0 | 2 | 4 |
227. 5  | 1 | 5 | 4 | 2 | 0 |
228. The Distance Vector was updated.
229.
230. 3 Distance Vector Table:
231.    | 1 | 2 | 3 | 4 | 5 |
232. 2  | 7 | 0 | 1 | 3 | 5 |
233. 3  | 5 | 1 | 0 | 2 | 4 |
234. 4  | 3 | 3 | 2 | 0 | 2 |
235. The Distance Vector was NOT updated.
236.
237. 4 Distance Vector Table:
238.    | 1 | 2 | 3 | 4 | 5 |
239. 3  | 5 | 1 | 0 | 2 | 4 |
240. 4  | 3 | 3 | 2 | 0 | 2 |
241. 5  | 1 | 5 | 4 | 2 | 0 |
242. The Distance Vector was NOT updated.
243.
244. 5 Distance Vector Table:
245.    | 1 | 2 | 3 | 4 | 5 |
246. 1  | 0 | 7 | 5 | 3 | 1 |
247. 2  | 7 | 0 | 1 | 3 | 5 |
248. 4  | 3 | 3 | 2 | 0 | 2 |
249. 5  | 1 | 5 | 4 | 2 | 0 |
250. The Distance Vector was NOT updated.
251.
252. ============================
253. TIME=4
254. ============================
255. 1 Distance Vector Table:
256.    | 1 | 2 | 3 | 4 | 5 |
257. 1  | 0 | 6 | 5 | 3 | 1 |
258. 5  | 1 | 5 | 4 | 2 | 0 |
259. The Distance Vector was NOT updated.
260.
261. 2 Distance Vector Table:
262.    | 1 | 2 | 3 | 4 | 5 |
263. 2  | 6 | 0 | 1 | 3 | 5 |
264. 3  | 5 | 1 | 0 | 2 | 4 |
265. 5  | 1 | 5 | 4 | 2 | 0 |
266. The Distance Vector was NOT updated.
267.
268. 3 Distance Vector Table:
269.    | 1 | 2 | 3 | 4 | 5 |
270. 2  | 6 | 0 | 1 | 3 | 5 |
271. 3  | 5 | 1 | 0 | 2 | 4 |
272. 4  | 3 | 3 | 2 | 0 | 2 |
273. The Distance Vector was NOT updated.
274.
275. 4 Distance Vector Table:
276.    | 1 | 2 | 3 | 4 | 5 |
277. 3  | 5 | 1 | 0 | 2 | 4 |
278. 4  | 3 | 3 | 2 | 0 | 2 |
279. 5  | 1 | 5 | 4 | 2 | 0 |
280. The Distance Vector was NOT updated.
281.
282. 5 Distance Vector Table:
283.    | 1 | 2 | 3 | 4 | 5 |
284. 1  | 0 | 6 | 5 | 3 | 1 |
285. 2  | 6 | 0 | 1 | 3 | 5 |
286. 4  | 3 | 3 | 2 | 0 | 2 |
287. 5  | 1 | 5 | 4 | 2 | 0 |
288. The Distance Vector was NOT updated.
289.
290. Reached STABLE state at T=4
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

Top