public class BreakScheduling extends Object implements InsertionStartsListener, JobInsertedListener, RuinListener
| Constructor and Description |
|---|
BreakScheduling(VehicleRoutingProblem vrp,
StateManager stateManager,
ConstraintManager constraintManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
informInsertionStarts(Collection<VehicleRoute> vehicleRoutes,
Collection<Job> unassignedJobs) |
void |
informJobInserted(Job job2insert,
VehicleRoute inRoute,
InsertionData insertionData) |
void |
removed(Job job,
VehicleRoute fromRoute)
informs if a
Job has been removed from a VehicleRoute. |
void |
ruinEnds(Collection<VehicleRoute> routes,
Collection<Job> unassignedJobs)
informs about ruin-end.
|
void |
ruinStarts(Collection<VehicleRoute> routes)
informs about ruin-start.
|
public BreakScheduling(VehicleRoutingProblem vrp, StateManager stateManager, ConstraintManager constraintManager)
public void informJobInserted(Job job2insert, VehicleRoute inRoute, InsertionData insertionData)
informJobInserted in interface JobInsertedListenerpublic void ruinStarts(Collection<VehicleRoute> routes)
RuinListenerruinStarts in interface RuinListenerpublic void ruinEnds(Collection<VehicleRoute> routes, Collection<Job> unassignedJobs)
RuinListenerruinEnds in interface RuinListenerpublic void removed(Job job, VehicleRoute fromRoute)
RuinListenerJob has been removed from a VehicleRoute.removed in interface RuinListenerpublic void informInsertionStarts(Collection<VehicleRoute> vehicleRoutes, Collection<Job> unassignedJobs)
informInsertionStarts in interface InsertionStartsListenerCopyright © 2013–2024. All rights reserved.