Class DellAmicoFixCostCalculator
java.lang.Object
com.graphhopper.jsprit.core.algorithm.recreate.DellAmicoFixCostCalculator
- All Implemented Interfaces:
SearchStrategyModuleListener,VehicleRoutingAlgorithmListener,InsertionListener,InsertionStartsListener,JobInsertedListener,Constraint,SoftConstraint,SoftRouteConstraint
public class DellAmicoFixCostCalculator
extends Object
implements SoftRouteConstraint, InsertionStartsListener, JobInsertedListener
-
Constructor Summary
ConstructorsConstructorDescriptionDellAmicoFixCostCalculator(int nuOfJobs, RouteAndActivityStateGetter stateGetter) -
Method Summary
Modifier and TypeMethodDescriptiondoublegetCosts(JobInsertionContext insertionContext) voidinformInsertionStarts(Collection<VehicleRoute> routes, Collection<Job> unassignedJobs) voidinformJobInserted(Job job2insert, VehicleRoute inRoute, InsertionData insertionData)
-
Constructor Details
-
DellAmicoFixCostCalculator
-
-
Method Details
-
getCosts
- Specified by:
getCostsin interfaceSoftRouteConstraint
-
informInsertionStarts
- Specified by:
informInsertionStartsin interfaceInsertionStartsListener
-
informJobInserted
- Specified by:
informJobInsertedin interfaceJobInsertedListener
-