Interface Vehicle

All Superinterfaces:
HasId, HasIndex
All Known Implementing Classes:
AbstractVehicle, VehicleImpl, VehicleImpl.NoVehicle

public interface Vehicle extends HasId, HasIndex
Basic interface for vehicle-data.
Author:
schroeder
  • Method Details

    • getEarliestDeparture

      double getEarliestDeparture()
      Returns the earliest departure of vehicle which should be the lower bound of this vehicle's departure times.
      Returns:
      earliest departure time
    • getLatestArrival

      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.
      Returns:
      latest arrival time of this vehicle
    • getType

      VehicleType getType()
      Returns the VehicleType of this vehicle.
      Returns:
      VehicleType of this vehicle
    • getId

      String getId()
      Returns the id of this vehicle.
      Specified by:
      getId in interface HasId
      Returns:
      id
    • isReturnToDepot

      boolean isReturnToDepot()
      Returns true if vehicle returns to depot, false otherwise.
      Returns:
      true if isReturnToDepot
    • getStartLocation

      Location getStartLocation()
    • getEndLocation

      Location getEndLocation()
    • getVehicleTypeIdentifier

      VehicleTypeKey getVehicleTypeIdentifier()
    • getSkills

      Skills getSkills()
    • getUserData

      Object getUserData()
      Returns:
      User-specific domain data associated with the vehicle
    • getBreak

      Break getBreak()