[][src]Module vrp_pragmatic::format::problem

Specifies logic to read problem and routing matrix from json input.

Structs

AreaLimit

Specifies area limit.

BalanceOptions

Specifies balance objective options. At the moment, it uses coefficient of variation as balancing measure.

Fleet

Specifies fleet.

Job

A customer job model. Actual tasks of the job specified by list of pickups and deliveries which follows these rules:

JobPlace

Specifies a place for sub job.

JobSkills

A job skills limitation for a vehicle.

JobTask

Specifies a job task.

Matrix

A routing matrix.

Objectives

Specifies a group of objective functions.

Plan

A plan specifies work which has to be done.

Problem

A VRP problem definition.

Profile

Specifies routing profile.

Relation

Relation is the way to lock specific jobs to specific vehicles.

ShiftEnd

Specifies vehicle shift end.

ShiftStart

Specifies vehicle shift start.

VehicleBreak

Vehicle break.

VehicleCosts

Specifies vehicle costs.

VehicleDispatch

Specifies a dispatch place where vehicle can load cargo and start the tour.

VehicleDispatchLimit

Specifies dispatch place limits to handle vehicles.

VehicleLimits

Vehicle limits.

VehicleReload

Specifies a place where vehicle can load or unload cargo.

VehicleShift

Specifies vehicle shift.

VehicleType

Specifies a vehicle type.

Enums

Objective

Specifies objective function types.

RelationType

Relation type.

VehicleBreakTime

Vehicle break time variant.

Traits

PragmaticProblem

Reads specific problem definition from various sources.

Functions

deserialize_locations

Deserializes json list of locations from BufReader.

deserialize_matrix

Deserializes routing matrix in json format from BufReader.

deserialize_problem

Deserializes problem in json format from BufReader.

serialize_problem

Serializes problem in json from writer.