Browse Source

debugging graph

tarfeef101 6 năm trước cách đây
mục cha
commit
60084220f1
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      a3/router.py

+ 2 - 0
a3/router.py

@@ -112,7 +112,9 @@ class db:
         # insert into graph if we have the endpoints for this edge
         if (got_dest):
             graph.insert(connection)
+            print("DONE INSERT")
             graph.rebuild()
+            print("DONE REBUILD")
             graph.show()
         # notify neighbours
         notify(connection)