Skip to content

Commit

Permalink
Implement hh="true" to test HH-routing (test 74)
Browse files Browse the repository at this point in the history
  • Loading branch information
RZR-UA committed Jan 6, 2025
1 parent 5900810 commit 047771c
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,14 @@ public void testRouting() throws Exception {
}

config.planRoadDirection = planRoadDirection;

if ("true".equals(params.get("hh"))) {
fe.CALCULATE_MISSING_MAPS = false;
fe.setDefaultHHRoutingConfig();
fe.setUseOnlyHHRouting(true);
fe.setHHRouteCpp(useNative);
}

RoutingContext ctx;
if (useNative) {
ctx = fe.buildRoutingContext(config, nativeLibrary, binaryMapIndexReaders,
Expand Down

0 comments on commit 047771c

Please sign in to comment.