algorithms
Class UpdateCostsAtRouteLevel

java.lang.Object
  extended by algorithms.UpdateCostsAtRouteLevel
All Implemented Interfaces:
InsertionEndsListener, InsertionListener, InsertionStartsListener, JobInsertedListener, SearchStrategyModuleListener, VehicleRoutingAlgorithmListener

public class UpdateCostsAtRouteLevel
extends java.lang.Object
implements JobInsertedListener, InsertionStartsListener, InsertionEndsListener


Constructor Summary
UpdateCostsAtRouteLevel(StateManagerImpl states, VehicleRoutingTransportCosts tpCosts, VehicleRoutingActivityCosts actCosts)
           
 
Method Summary
 void informInsertionEnds(java.util.Collection<VehicleRoute> vehicleRoutes)
           
 void informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, java.util.Collection<Job> unassignedJobs)
           
 void informJobInserted(Job job2insert, VehicleRoute inRoute, double additionalCosts, double additionalTime)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateCostsAtRouteLevel

public UpdateCostsAtRouteLevel(StateManagerImpl states,
                               VehicleRoutingTransportCosts tpCosts,
                               VehicleRoutingActivityCosts actCosts)
Method Detail

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

informInsertionEnds

public void informInsertionEnds(java.util.Collection<VehicleRoute> vehicleRoutes)
Specified by:
informInsertionEnds in interface InsertionEndsListener