mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
parent
bca9323c67
commit
58c9030b8a
3 changed files with 270 additions and 5 deletions
|
|
@ -64,7 +64,8 @@ final class VehicleTypeDependentJobInsertionCalculator implements JobInsertionCo
|
|||
}
|
||||
|
||||
private void getInitialVehicleIds() {
|
||||
for(VehicleRoute initialRoute : vrp.getInitialVehicleRoutes()){
|
||||
Collection<VehicleRoute> initialVehicleRoutes = vrp.getInitialVehicleRoutes();
|
||||
for(VehicleRoute initialRoute : initialVehicleRoutes){
|
||||
initialVehicleIds.add(initialRoute.getVehicle().getId());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue