Class BreakScheduling
java.lang.Object
com.graphhopper.jsprit.core.algorithm.recreate.BreakScheduling
- All Implemented Interfaces:
SearchStrategyModuleListener,VehicleRoutingAlgorithmListener,InsertionListener,InsertionStartsListener,JobInsertedListener,RuinListener
public class BreakScheduling
extends Object
implements InsertionStartsListener, JobInsertedListener, RuinListener
Created by schroeder on 07/04/16.
-
Constructor Summary
ConstructorsConstructorDescriptionBreakScheduling(VehicleRoutingProblem vrp, StateManager stateManager, ConstraintManager constraintManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidinformInsertionStarts(Collection<VehicleRoute> vehicleRoutes, Collection<Job> unassignedJobs) voidinformJobInserted(Job job2insert, VehicleRoute inRoute, InsertionData insertionData) voidremoved(Job job, VehicleRoute fromRoute) informs if aJobhas been removed from aVehicleRoute.voidruinEnds(Collection<VehicleRoute> routes, Collection<Job> unassignedJobs) informs about ruin-end.voidruinStarts(Collection<VehicleRoute> routes) informs about ruin-start.
-
Constructor Details
-
BreakScheduling
public BreakScheduling(VehicleRoutingProblem vrp, StateManager stateManager, ConstraintManager constraintManager)
-
-
Method Details
-
informJobInserted
- Specified by:
informJobInsertedin interfaceJobInsertedListener
-
ruinStarts
Description copied from interface:RuinListenerinforms about ruin-start.- Specified by:
ruinStartsin interfaceRuinListener- Parameters:
routes-
-
ruinEnds
Description copied from interface:RuinListenerinforms about ruin-end.- Specified by:
ruinEndsin interfaceRuinListener- Parameters:
routes-unassignedJobs-
-
removed
Description copied from interface:RuinListenerinforms if aJobhas been removed from aVehicleRoute.- Specified by:
removedin interfaceRuinListener- Parameters:
job-fromRoute-
-
informInsertionStarts
public void informInsertionStarts(Collection<VehicleRoute> vehicleRoutes, Collection<Job> unassignedJobs) - Specified by:
informInsertionStartsin interfaceInsertionStartsListener
-