mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
Merge pull request #221 from Jullil/insertation_index_for_shipment_delivery_activities
ActivityContext without insertion index for shipment delivery activities
This commit is contained in:
commit
1272190514
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ final class ShipmentInsertionCalculator implements JobInsertionCostsCalculator {
|
|||
deliverShipment.setTheoreticalEarliestOperationStartTime(deliveryTimeWindow.getStart());
|
||||
deliverShipment.setTheoreticalLatestOperationStartTime(deliveryTimeWindow.getEnd());
|
||||
ActivityContext activityContext_ = new ActivityContext();
|
||||
activityContext.setInsertionIndex(j);
|
||||
activityContext_.setInsertionIndex(j);
|
||||
insertionContext.setActivityContext(activityContext_);
|
||||
ConstraintsStatus deliverShipmentConstraintStatus = hardActivityLevelConstraint.fulfilled(insertionContext, prevAct_deliveryLoop, deliverShipment, nextAct_deliveryLoop, prevActEndTime_deliveryLoop);
|
||||
if (deliverShipmentConstraintStatus.equals(ConstraintsStatus.FULFILLED)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue