Explorar o código

debugging dijkstra

tarfeef101 %!s(int64=6) %!d(string=hai) anos
pai
achega
fe89143786
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      a3/router.py

+ 1 - 0
a3/router.py

@@ -108,6 +108,7 @@ class db:
         this.show()
         # update entries and connection to contain
         got_dest = connection.infer(this)
+        print("GOT_DEST + ", got_dest)
         # insert into graph if we have the endpoints for this edge
         if (got_dest):
             graph.insert(connection)