Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
1.9 kB
3
Indexable
Never
primo aggionramento PSID
 [230  13   9]
!!! START COMPUTING THE TOTAL BIG PATH OF THE FLOW !!!!
flow:
 [217 13 9 1 3.3971815407213173]
segment list of the flow
 [13, 9]
start iterating over sl
active segment:  9
underlay_path[13][9] = [13, 0, 1, 8, 9]
total_underlay_path [(13, 9), (0, 9), (1, 9), (8, 9), (9, 9)]
lista di (agent,action):
 [(0, 9, [0, 16, 9]), (8, 9, [8, 6, 9])]
applica for n in range(len(underlay_path)-1):incapsulamenti
mod:  (0, 9, [0, 16, 9])
index 1
index:  1        new_sl:  [0, 16, 9]
modifico
encaps -  underlay_path
 [0, 16]
new total_underlay_path
 [(13, 9), (0, 16), (9, 9)]
encaps -  underlay_path
 [16, 8, 9]
new total_underlay_path
 [(13, 9), (0, 16), (16, 9), (9, 9)]
new total_underlay_path
 [(13, 9), (0, 16), (16, 9), (8, 9), (9, 9)]
mod:  (0, 9, [0, 16, 9])
index -1
mod:  (8, 9, [8, 6, 9])
index 3
index:  3        new_sl:  [8, 6, 9]
modifico
encaps -  underlay_path
 [8, 6]
new total_underlay_path
 [(13, 9), (0, 16), (16, 9), (8, 6), (9, 9)]
encaps -  underlay_path
 [6, 7, 9]
new total_underlay_path
 [(13, 9), (0, 16), (16, 9), (8, 6), (6, 9), (9, 9)]
new total_underlay_path
 [(13, 9), (0, 16), (16, 9), (8, 6), (6, 9), (7, 9), (9, 9)]
mod:  (0, 9, [0, 16, 9])
index -1
mod:  (8, 9, [8, 6, 9])
index -1
FINAL TOTAL UNDERLAY PATH:    [(13, 9), (0, 16), (16, 9), (8, 6), (6, 9), (7, 9), (9, 9)]
(13, 9) (0, 16)
link rete in pos id_link
 [39 13 0 0 150]
psid in pos id_psid
 [9 0 9]
(0, 16) (16, 9)
link rete in pos id_link
 [5 0 16 0 150]
psid in pos id_psid
 [288  16  16]
(16, 9) (8, 6)
link rete in pos id_link
 [51 16 8 0 150]
psid in pos id_psid
 [145   8   9]
(8, 6) (6, 9)
link rete in pos id_link
 [27 8 6 0 150]
psid in pos id_psid
 [108   6   6]
(6, 9) (7, 9)
link rete in pos id_link
 [22 6 7 0 150]
psid in pos id_psid
 [128   7   9]
(7, 9) (9, 9)
link rete in pos id_link
 [25 7 9 0 150]
psid in pos id_psid
 [162   9   9]