-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_route.json
59 lines (54 loc) · 892 Bytes
/
example_route.json
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"fastest":
{
"route":
[
{
"START": "START",
"END": "JUNCTION_1",
"TRAIN": "TRAIN_A",
"COST": 0.5
},
{
"START": "JUNCTION_1",
"END": "JUNCTION_2",
"TRAIN": "TRAIN_B",
"COST": 0.7
},
{
"START": "JUNCTION_2",
"END": "END",
"TRAIN": "TRAIN_A",
"COST": 0.1
}
],
"time": 60,
"cost": 1.3
},
"cheapest":
{
"route":
[
{
"START": "START",
"END": "JUNCTION_2",
"TRAIN": "TRAIN_A",
"COST": 0.5
},
{
"START": "JUNCTION_1",
"END": "JUNCTION_3",
"TRAIN": "TRAIN_B",
"COST": 0.1
},
{
"START": "JUNCTION_2",
"END": "END",
"TRAIN": "TRAIN_A",
"COST": 0.7
}
],
"time": 60,
"cost": 1.3
}
}