fix jumps count when split segment
This commit is contained in:
@@ -79,7 +79,7 @@ public class RouteSearcher {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
LOG.trace("Split to segments");
|
LOG.trace("Split to segments");
|
||||||
List<Path<Vendor>> paths = sGraph.getPaths(getPathsOnSegmentCount(sGraph), jumpsToAll-1).getList();
|
List<Path<Vendor>> paths = sGraph.getPaths(getPathsOnSegmentCount(sGraph), jumpsToAll).getList();
|
||||||
int i = 0;
|
int i = 0;
|
||||||
ArrayList<SegmentSearcher> subTasks = new ArrayList<>(THRESHOLD);
|
ArrayList<SegmentSearcher> subTasks = new ArrayList<>(THRESHOLD);
|
||||||
while (i < paths.size()) {
|
while (i < paths.size()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user