Explorar o código

debugging graph

tarfeef101 %!s(int64=6) %!d(string=hai) anos
pai
achega
60084220f1
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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)