Refactor time fields
This commit is contained in:
parent
a1cbdc111b
commit
f59cea9c0a
2 changed files with 3 additions and 3 deletions
|
@ -168,9 +168,9 @@ public class BinaryRoutePlanner {
|
|||
if (ctx.calculationProgress != null) {
|
||||
ctx.calculationProgress.visitedDirectSegments += visitedDirectSegments.size();
|
||||
ctx.calculationProgress.visitedOppositeSegments += visitedOppositeSegments.size();
|
||||
ctx.calculationProgress.directQueueSize = graphDirectSegments.size(); // Math.max(ctx.directQueueSize,
|
||||
ctx.calculationProgress.directQueueSize += graphDirectSegments.size(); // Math.max(ctx.directQueueSize,
|
||||
// graphDirectSegments.size());
|
||||
ctx.calculationProgress.oppositeQueueSize = graphReverseSegments.size();
|
||||
ctx.calculationProgress.oppositeQueueSize += graphReverseSegments.size();
|
||||
ctx.calculationProgress.visitedOppositeSegments += visitedOppositeSegments.size();
|
||||
}
|
||||
return finalSegment;
|
||||
|
|
|
@ -318,7 +318,7 @@ public class RoutingContext {
|
|||
global.allRoutes += ts.tileStatistics.allRoutes;
|
||||
global.coordinates += ts.tileStatistics.coordinates;
|
||||
}
|
||||
if(calculationProgress != null) {
|
||||
if (calculationProgress != null) {
|
||||
calculationProgress.distinctLoadedTiles++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue