algorithms
Class UpdateLoadAtRouteLevel
java.lang.Object
algorithms.UpdateLoadAtRouteLevel
- All Implemented Interfaces:
- InsertionListener, InsertionStartsListener, JobInsertedListener, SearchStrategyModuleListener, VehicleRoutingAlgorithmListener
public class UpdateLoadAtRouteLevel
- extends java.lang.Object
- implements JobInsertedListener, InsertionStartsListener
Updates load at route level, i.e. modifies StateTypes.LOAD for each route.
- Author:
- stefan
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateLoadAtRouteLevel
public UpdateLoadAtRouteLevel(StateManagerImpl states)
- Updates load at route level, i.e. modifies StateTypes.LOAD for each route.
informJobInserted
public void informJobInserted(Job job2insert,
VehicleRoute inRoute,
double additionalCosts,
double additionalTime)
- Specified by:
informJobInserted in interface JobInsertedListener
informInsertionStarts
public void informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes,
java.util.Collection<Job> unassignedJobs)
- Specified by:
informInsertionStarts in interface InsertionStartsListener