Module vrp_pragmatic::format
source · Expand description
This module defines logic to serialize/deserialize problem and routing matrix in pragmatic format from json input and create and write pragmatic solution.
Modules
- Specifies logic to read problem and routing matrix from json input.
- Specifies logic to create a “pragmatic” solution and write it into json format.
Structs
- A helper struct which keeps track of coordinate mapping.
- A format error.
- Keeps track of multiple
FormatError
.
Enums
- A custom location type which has no reference to matrix.
- Represents a location type.
Traits
- Provides way to get/set coord index.
- Provides way to get/set job index.
Functions
- Get job and coord indices from extras
Type Aliases
- An job id to job index.