1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// This crate is WIP.
//
// Notes:
// - Manage stop assignments in `Model`.
// - Store references to `Stop`s in `Model`. `PlanUnit` and `Vehicle` shouldn't need copies of each `Stop` if they aren't modified.
// - Implement traits for interfaces like `PlanUnit`s with different implementations, operators, expressions, etc.
// - Reference parsed input data directly in `Input`.
// - Only ["stop-id"] single-precedence inputs for stops.
// - Only {"dimension": f64} quantity inputs for stops.
// - Only f64 location coordinate precision inputs for stops.
// - Only `u64` [epoch seconds, epoch seconds] as a fixed start and end time for start time window inputs for stops.
// - Only f64 distance matrix inputs.
// - Only inputs without options used.
// - Include vehicle type data.
use Model;
use Solution;
type Id = String;
type Index = usize;