|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectalgorithms.InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts
public class InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts
Initializes the load of each route/vehicle at start- and end-location before insertion starts.
StateTypes.LOAD_AT_DEPOT and StateTypes.LOAD are modified for each route
These states can be retrieved by
stateManager.getRouteState(route, StateTypes.LOAD_AT_DEPOT) for LOAD_AT_DEPOT and
stateManager.getRouteState(route, StateTypes.LOAD) for LOAD (i.e. load at end)
| Constructor Summary | |
|---|---|
InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts(StateManagerImpl stateManager)
Initializes the load of each route/vehicle at start- and end-location before insertion starts. |
|
| Method Summary | |
|---|---|
void |
informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes,
java.util.Collection<Job> unassignedJobs)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts(StateManagerImpl stateManager)
StateTypes.LOAD_AT_DEPOT and StateTypes.LOAD are modified for each route
These states can be retrieved by
stateManager.getRouteState(route, StateTypes.LOAD_AT_DEPOT) for LOAD_AT_DEPOT and
stateManager.getRouteState(route, StateTypes.LOAD) for LOAD (i.e. load at end)
stateManager - | Method Detail |
|---|
public void informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes,
java.util.Collection<Job> unassignedJobs)
informInsertionStarts in interface InsertionStartsListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||