Browse Source

that was not enough

tarfeef101 6 years ago
parent
commit
e988cabb95
1 changed files with 2 additions and 0 deletions
  1. 2 0
      a3/router.py

+ 2 - 0
a3/router.py

@@ -144,6 +144,8 @@ class graph:
         this.alist[dest - 1][src - 1] = weight
         this.alist[dest - 1][src - 1] = weight
             
             
     def rebuild(this):
     def rebuild(this):
+        print("Before building")
+        print(this.alist)
         this.sssp = [(inf, 0)] * 5
         this.sssp = [(inf, 0)] * 5
         this.sssp[rid - 1] = (0, rid - 1)
         this.sssp[rid - 1] = (0, rid - 1)