Skip to content

Commit

Permalink
Add edge based standard & LM routing to Measurement
Browse files Browse the repository at this point in the history
  • Loading branch information
easbar committed Jan 16, 2020
1 parent 39cd4df commit c45e784
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/src/main/java/com/graphhopper/tools/Measurement.java
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ protected DataReader importData() throws IOException {
if (runSlow) {
printTimeOfRouteQuery(hopper, isCH, isLM, count / 20, "routing", vehicleStr,
true, false, -1, true, false, false, false);
printTimeOfRouteQuery(hopper, isCH, isLM, count / 20, "routing_edge", vehicleStr,
true, false, -1, true, true, false, false);
}

if (hopper.getLMFactoryDecorator().isEnabled()) {
Expand All @@ -180,6 +182,8 @@ protected DataReader importData() throws IOException {
for (; activeLMCount > 3; activeLMCount -= 4) {
printTimeOfRouteQuery(hopper, isCH, isLM, count / 4, "routingLM" + activeLMCount, vehicleStr,
true, false, activeLMCount, true, false, false, false);
printTimeOfRouteQuery(hopper, isCH, isLM, count / 4, "routingLM_edge" + activeLMCount, vehicleStr,
true, false, activeLMCount, true, true, false, false);
}

// compareRouting(hopper, vehicleStr, count / 5);
Expand Down

0 comments on commit c45e784

Please sign in to comment.