VROOM.Break (vroom v0.1.2) View Source

Defines a break during a route. A Vehicle can have many breaks.

The Break struct has the following properties:

  • time_windows: an list of time_window objects describing valid slots for break start;
  • service: break duration (defaults to 0);
  • description: a string describing a break

Link to this section Summary

Link to this section Types

Specs

t() :: %VROOM.Break{
  description: String.t() | nil,
  id: integer(),
  service: integer() | nil,
  time_windows: [integer()]
}