IBM ILOG Dispatcher User's Manual > Transportation Industry Solutions > Pickup and Delivery by Multiple Vehicles from Multiple Depots > Model > Define the Depot::fillModel function |
Define the Depot::fillModel function |
INDEX
![]() |
The class Depot
also requires the ability to synchronize its internal model with a routing solution. To perform this you first empty the model of the visit models which previously comprised the model. You then scan the solution for the vehicles which are based at this depot, and for each one, find out which visits are made by these vehicles. These visits (or more accurately, the models pertaining to these visits) must then be placed in the depot model. You keep track of which visits are in the model in the array _visits
.
Step 5 - | Fill the depot model |
Add the following code after the comment //Fill the depot model
© Copyright IBM Corp. 1987, 2009. Legal terms. | PREVIOUS NEXT |