public static class VehicleImpl.NoVehicle extends AbstractVehicle
VehicleImpl representing an unspecified vehicle with the id 'noVehicle'
(to avoid null).AbstractVehicle.AbstractTypeKey| Constructor and Description |
|---|
NoVehicle() |
| Modifier and Type | Method and Description |
|---|---|
Break |
getBreak() |
double |
getEarliestDeparture()
Returns the earliest departure of vehicle which should be the lower bound of this vehicle's departure times.
|
Location |
getEndLocation() |
String |
getId()
Returns the id of this vehicle.
|
double |
getLatestArrival()
Returns the latest arrival time at this vehicle's end-location which should be the upper bound of this vehicle's arrival times at end-location.
|
Skills |
getSkills() |
Location |
getStartLocation() |
VehicleType |
getType()
Returns the
VehicleType of this vehicle. |
boolean |
isReturnToDepot()
Returns true if vehicle returns to depot, false otherwise.
|
getIndex, getUserData, getVehicleTypeIdentifier, setIndex, setUserData, setVehicleIdentifierpublic double getEarliestDeparture()
Vehiclepublic double getLatestArrival()
Vehiclepublic VehicleType getType()
VehicleVehicleType of this vehicle.VehicleType of this vehiclepublic String getId()
Vehiclepublic boolean isReturnToDepot()
Vehiclepublic Location getStartLocation()
public Location getEndLocation()
public Skills getSkills()
public Break getBreak()
Copyright © 2013–2024. All rights reserved.