VROOM.Job (vroom v0.1.6) View Source

A Job is a description of a place to visit.

The Job struct has the folling properties:

  • id: the job identifier;
  • location: the coordinates list
  • location_index]: index of relevant row and column in custom matrix;
  • service: job service duration (defaults to 0);
  • amount: an list of integers describing multidimensional quantities;
  • delivery: an list of integers describing multidimensional quantities for delivery;
  • pickup: an list of integers describing multidimensional quantities for pickup;
  • skills: an list of integers defining mandatory skills;
  • priority: an integer in the [0, 100] range describing priority level (defaults to 0);
  • time_windows: an list of time_window structs describing valid slots for job service start

Link to this section Summary

Link to this section Types

Specs

t() :: %VROOM.Job{
  delivery: [integer()] | nil,
  description: binary() | nil,
  id: integer(),
  location: [integer()] | nil,
  location_index: integer() | nil,
  pickup: [integer()] | nil,
  priority: integer(),
  service: integer() | nil,
  skills: [integer()] | nil,
  time_windows: list()
}