fixed dijkstra memleak

new dijkstra interfaces and abort options
refactored all files accordingly
enable logging via compile-time defines
This commit is contained in:
2016-03-18 10:18:17 +01:00
parent f8d7f768f1
commit d0801606b7
8 changed files with 44 additions and 14 deletions

View File

@@ -45,7 +45,7 @@ public:
gen.seed(1234);
// build all shortest path to reach th target
dijkstra.build(target, target, acc);
dijkstra.build(&target, acc);
// attach a corresponding weight-information to each user-grid-node
for (T& node : grid) {