Uses of Class
com.graphhopper.jsprit.core.problem.misc.JobInsertionContext
Packages that use JobInsertionContext
Package
Description
-
Uses of JobInsertionContext in com.graphhopper.jsprit.core.algorithm.recreate
Methods in com.graphhopper.jsprit.core.algorithm.recreate with parameters of type JobInsertionContextModifier and TypeMethodDescriptionprotected InsertionDataAbstractInsertionCalculator.checkRouteConstraints(JobInsertionContext insertionContext, ConstraintManager constraintManager) Check if route constraints are fulfilledprotected HardActivityConstraint.ConstraintsStatusAbstractInsertionCalculator.fulfilled(JobInsertionContext iFacts, TourActivity prevAct, TourActivity newAct, TourActivity nextAct, double prevActDepTime, Collection<HardConstraint> failedActivityConstraints, ConstraintManager constraintManager) Check if activity constraints are fulfilleddoubleActivityInsertionCostsCalculator.getCosts(JobInsertionContext iContext, TourActivity prevAct, TourActivity nextAct, TourActivity newAct, double depTimeAtPrevAct) doubleDecreasingRelativeFixedCosts.getCosts(JobInsertionContext insertionContext) doubleDellAmicoFixCostCalculator.getCosts(JobInsertionContext insertionContext) doubleIncreasingAbsoluteFixedCosts.getCosts(JobInsertionContext insertionContext) doubleLocalActivityInsertionCostsCalculator.getCosts(JobInsertionContext iFacts, TourActivity prevAct, TourActivity nextAct, TourActivity newAct, double depTimeAtPrevAct) doubleVariableTransportCostCalculator.getCosts(JobInsertionContext iFacts, TourActivity prevAct, TourActivity newAct, TourActivity nextAct, double depTimeAtPrevAct) -
Uses of JobInsertionContext in com.graphhopper.jsprit.core.problem.constraint
Methods in com.graphhopper.jsprit.core.problem.constraint with parameters of type JobInsertionContextModifier and TypeMethodDescriptionbooleanConstraintManager.fulfilled(JobInsertionContext insertionContext) ConstraintManager.fulfilled(JobInsertionContext iFacts, TourActivity prevAct, TourActivity newAct, TourActivity nextAct, double prevActDepTime) HardActivityConstraint.fulfilled(JobInsertionContext iFacts, TourActivity prevAct, TourActivity newAct, TourActivity nextAct, double prevActDepTime) Returns whether newAct can be inserted in between prevAct and nextAct.booleanHardRouteConstraint.fulfilled(JobInsertionContext insertionContext) Returns whether a job can be inserted in route.booleanHardSkillConstraint.fulfilled(JobInsertionContext insertionContext) MaxDistanceConstraint.fulfilled(JobInsertionContext iFacts, TourActivity prevAct, TourActivity newAct, TourActivity nextAct, double prevActDepTime) MaxTimeInVehicleConstraint.fulfilled(JobInsertionContext iFacts, TourActivity prevAct, TourActivity newAct, TourActivity nextAct, double prevActDepTime) PickupAndDeliverShipmentLoadActivityLevelConstraint.fulfilled(JobInsertionContext iFacts, TourActivity prevAct, TourActivity newAct, TourActivity nextAct, double prevActDepTime) Checks whether there is enough capacity to insert newAct between prevAct and nextAct.ServiceDeliveriesFirstConstraint.fulfilled(JobInsertionContext iFacts, TourActivity prevAct, TourActivity newAct, TourActivity nextAct, double prevActDepTime) ServiceLoadActivityLevelConstraint.fulfilled(JobInsertionContext iFacts, TourActivity prevAct, TourActivity newAct, TourActivity nextAct, double prevActDepTime) booleanServiceLoadRouteLevelConstraint.fulfilled(JobInsertionContext insertionContext) ShipmentPickupsFirstConstraint.fulfilled(JobInsertionContext iFacts, TourActivity prevAct, TourActivity newAct, TourActivity nextAct, double prevActDepTime) booleanSwitchNotFeasible.fulfilled(JobInsertionContext insertionContext) VehicleDependentTimeWindowConstraints.fulfilled(JobInsertionContext iFacts, TourActivity prevAct, TourActivity newAct, TourActivity nextAct, double prevActDepTime) ConstraintManager.getActivityCostsBreakdown(JobInsertionContext context, TourActivity prevAct, TourActivity newAct, TourActivity nextAct, double depTime) Get activity-level soft constraint costs with breakdown by constraint.doubleConstraintManager.getCosts(JobInsertionContext insertionContext) doubleConstraintManager.getCosts(JobInsertionContext iFacts, TourActivity prevAct, TourActivity newAct, TourActivity nextAct, double prevActDepTime) doubleSoftActivityConstraint.getCosts(JobInsertionContext iFacts, TourActivity prevAct, TourActivity newAct, TourActivity nextAct, double prevActDepTime) doubleSoftRouteConstraint.getCosts(JobInsertionContext insertionContext) ConstraintManager.getRouteCostsBreakdown(JobInsertionContext context) Get route-level soft constraint costs with breakdown by constraint.