algorithms
Class StateUpdates.UpdateStates
java.lang.Object
algorithms.StateUpdates.UpdateStates
- All Implemented Interfaces:
- InsertionListener, JobInsertedListener, RuinListener, SearchStrategyModuleListener, VehicleRoutingAlgorithmListener
- Enclosing class:
- StateUpdates
public static class StateUpdates.UpdateStates
- extends java.lang.Object
- implements JobInsertedListener, RuinListener
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StateUpdates.UpdateStates
public StateUpdates.UpdateStates(StateManagerImpl states,
VehicleRoutingTransportCosts routingCosts,
VehicleRoutingActivityCosts activityCosts)
update
public void update(VehicleRoute route)
informJobInserted
public void informJobInserted(Job job2insert,
VehicleRoute inRoute,
double additionalCosts,
double additionalTime)
- Specified by:
informJobInserted in interface JobInsertedListener
ruinStarts
public void ruinStarts(java.util.Collection<VehicleRoute> routes)
- Description copied from interface:
RuinListener
- informs about ruin-start.
- Specified by:
ruinStarts in interface RuinListener
ruinEnds
public void ruinEnds(java.util.Collection<VehicleRoute> routes,
java.util.Collection<Job> unassignedJobs)
- Description copied from interface:
RuinListener
- informs about ruin-end.
- Specified by:
ruinEnds in interface RuinListener
removed
public void removed(Job job,
VehicleRoute fromRoute)
- Description copied from interface:
RuinListener
- informs if a
Job has been removed from a VehicleRoute.
- Specified by:
removed in interface RuinListener