1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

premature loop break

This commit is contained in:
Stefan Schroeder 2013-11-07 16:46:46 +01:00
parent 87d23e8529
commit 96d7b6f9c3

View file

@ -122,6 +122,7 @@ final class ServiceInsertionCalculator implements JobInsertionCostsCalculator{
}
else if(status.equals(ConstraintsStatus.NOT_FULFILLED_BREAK)){
loopBroken = true;
break;
}
}
double nextActArrTime = prevActStartTime + transportCosts.getTransportTime(prevAct.getLocationId(), nextAct.getLocationId(), prevActStartTime, newDriver, newVehicle);