Skip to content

Commit

Permalink
Put back LM16 measurements
Browse files Browse the repository at this point in the history
  • Loading branch information
easbar committed Feb 6, 2020
1 parent 5a1f85a commit 75a8a61
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tools/src/main/java/com/graphhopper/tools/Measurement.java
Original file line number Diff line number Diff line change
Expand Up @@ -179,17 +179,16 @@ protected DataReader importData() throws IOException {
if (hopper.getLMFactoryDecorator().isEnabled()) {
System.gc();
isLM = true;
int activeLMCount = 12;
for (; activeLMCount > 3; activeLMCount -= 4) {
for (int activeLMCount : Arrays.asList(4, 8, 12, 16)) {
printTimeOfRouteQuery(hopper, new QuerySettings("routingLM" + activeLMCount, vehicleStr, count / 4, isCH, isLM).
withInstructions().activeLandmarks(activeLMCount));
printTimeOfRouteQuery(hopper, new QuerySettings("routingLM" + activeLMCount + "_edge", vehicleStr, count / 4, isCH, isLM).
withInstructions().activeLandmarks(activeLMCount).edgeBased());
}

activeLMCount = 8;
printTimeOfRouteQuery(hopper, new QuerySettings("routingLM" + activeLMCount + "_block_area", vehicleStr, count / 4, isCH, isLM).
withInstructions().activeLandmarks(activeLMCount).blockArea(blockAreaStr));
final int blockAreaActiveLMCount = 8;
printTimeOfRouteQuery(hopper, new QuerySettings("routingLM" + blockAreaActiveLMCount + "_block_area", vehicleStr, count / 4, isCH, isLM).
withInstructions().activeLandmarks(blockAreaActiveLMCount).blockArea(blockAreaStr));
// compareRouting(hopper, vehicleStr, count / 5);
}

Expand Down

0 comments on commit 75a8a61

Please sign in to comment.