mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
Merge branch 'master' into vrph
This commit is contained in:
commit
af183ebafb
1 changed files with 1 additions and 1 deletions
|
|
@ -388,7 +388,7 @@ public class VehicleRoutingProblem {
|
||||||
Vehicle penVehicle = VehicleImpl.Builder.newInstance(vehicleId).setEarliestStart(v.getEarliestDeparture())
|
Vehicle penVehicle = VehicleImpl.Builder.newInstance(vehicleId).setEarliestStart(v.getEarliestDeparture())
|
||||||
.setLatestArrival(v.getLatestArrival()).setLocationCoord(v.getCoord()).setLocationId(v.getLocationId())
|
.setLatestArrival(v.getLatestArrival()).setLocationCoord(v.getCoord()).setLocationId(v.getLocationId())
|
||||||
.setReturnToDepot(v.isReturnToDepot()).setType(penType).build();
|
.setReturnToDepot(v.isReturnToDepot()).setType(penType).build();
|
||||||
vehicles.add(penVehicle);
|
addVehicle(penVehicle);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue