VROOM.Vehicle (vroom v0.1.1) View Source

Defines a Vehicle Step object.

https://github.com/VROOM-Project/vroom/blob/master/docs/API.md#vehicles

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.VehicleStep.t()] | nil,
  time_window: list() | nil
}