VROOM.Vehicle (vroom v0.1.6) View Source
Describes what kind of transportation type the driver is using. The default
profile is car.
The Vehicle struct has the following properties:
profile: routing profile (defaults to car)description: a string describing this vehiclestart: coordinates liststart_index: index of relevant row and column in custom matrixend: coordinates listend_index: index of relevant row and column in custom matrixcapacity: an list of integers describing multidimensional quantitiesskills: an list of integers defining skillstime_window: a time_window struct describing working hoursbreaks: an list of break structssteps: an list of vehicle_step structs describing a custom route for this vehicle (only makes sense when using -c)
Link to this section Summary
Link to this section Types
Specs
coordinates() :: [float()]
Specs
t() :: %VROOM.Vehicle{
breaks: [VROOM.Break.t()] | nil,
capacity: [integer()] | nil,
description: binary() | nil,
end: coordinates() | nil,
end_index: integer() | nil,
id: integer(),
profile: binary() | nil,
skills: [integer()] | nil,
speed_factor: float(),
start: coordinates() | nil,
start_index: integer() | nil,
steps: [VROOM.Vehicle.Step.t()] | nil,
time_window: list() | nil
}