Test new dbg format
This commit is contained in:
parent
f7278f731f
commit
c0ecade925
2 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,6 @@ public class BinaryRoutePlanner {
|
||||||
ctx.timeToLoad = 0;
|
ctx.timeToLoad = 0;
|
||||||
ctx.visitedSegments = 0;
|
ctx.visitedSegments = 0;
|
||||||
ctx.memoryOverhead = 1000;
|
ctx.memoryOverhead = 1000;
|
||||||
ctx.timeToCalculate = System.nanoTime();
|
|
||||||
|
|
||||||
|
|
||||||
// Initializing priority queue to visit way segments
|
// Initializing priority queue to visit way segments
|
||||||
|
|
|
@ -173,6 +173,7 @@ public class RoutePlannerFrontEnd {
|
||||||
|
|
||||||
public List<RouteSegmentResult> searchRoute(final RoutingContext ctx, LatLon start, LatLon end, List<LatLon> intermediates,
|
public List<RouteSegmentResult> searchRoute(final RoutingContext ctx, LatLon start, LatLon end, List<LatLon> intermediates,
|
||||||
PrecalculatedRouteDirection routeDirection) throws IOException, InterruptedException {
|
PrecalculatedRouteDirection routeDirection) throws IOException, InterruptedException {
|
||||||
|
ctx.timeToCalculate = System.nanoTime();
|
||||||
if (ctx.calculationProgress == null) {
|
if (ctx.calculationProgress == null) {
|
||||||
ctx.calculationProgress = new RouteCalculationProgress();
|
ctx.calculationProgress = new RouteCalculationProgress();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue