ソースを参照

debugging graph

tarfeef101 6 年 前
コミット
60084220f1
1 ファイル変更2 行追加0 行削除
  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)