Archived
0

fix jumps count when split segment

This commit is contained in:
iMoHax
2015-01-05 01:12:39 +03:00
parent 41097328bc
commit 50689ec744

View File

@@ -79,7 +79,7 @@ public class RouteSearcher {
}
} else {
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;
ArrayList<SegmentSearcher> subTasks = new ArrayList<>(THRESHOLD);
while (i < paths.size()) {