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) {
|
if (ctx.calculationProgress != null) {
|
||||||
ctx.calculationProgress.visitedDirectSegments += visitedDirectSegments.size();
|
ctx.calculationProgress.visitedDirectSegments += visitedDirectSegments.size();
|
||||||
ctx.calculationProgress.visitedOppositeSegments += visitedOppositeSegments.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());
|
// graphDirectSegments.size());
|
||||||
ctx.calculationProgress.oppositeQueueSize = graphReverseSegments.size();
|
ctx.calculationProgress.oppositeQueueSize += graphReverseSegments.size();
|
||||||
ctx.calculationProgress.visitedOppositeSegments += visitedOppositeSegments.size();
|
ctx.calculationProgress.visitedOppositeSegments += visitedOppositeSegments.size();
|
||||||
}
|
}
|
||||||
return finalSegment;
|
return finalSegment;
|
||||||
|
|
Loading…
Reference in a new issue