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

bugfix in CalculatesServiceInsertion

This commit is contained in:
Stefan Schroeder 2013-08-30 11:01:04 +02:00
parent 66360bc6ae
commit b46c410d15

View file

@ -111,8 +111,8 @@ final class CalculatesServiceInsertion implements JobInsertionCalculator{
}
}
}
prevAct = nextAct;
prevActStartTime = CalcUtils.getStartTimeAtAct(prevActStartTime, transportCosts.getTransportTime(prevAct.getLocationId(), nextAct.getLocationId(), prevActStartTime, newDriver, newVehicle), nextAct);
prevAct = nextAct;
actIndex++;
}
End nextAct = end;