mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
improve vehicle fleet manager
This commit is contained in:
parent
df105da98d
commit
6be32f6305
2 changed files with 28 additions and 55 deletions
|
|
@ -52,7 +52,7 @@ class VehicleFleetManagerImpl implements VehicleFleetManager {
|
|||
}
|
||||
|
||||
public Vehicle getVehicle() {
|
||||
return vehicleList.get(0);
|
||||
return vehicleList.get(vehicleList.size()-1);
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue