Optimal Route Planning on Mobile Systems
Adrian Batzill
M A S T E R T H E S I S
Optimal Route Planning on Mobile Systems Adrian Batzill Structure - - PowerPoint PPT Presentation
M A S T E R T H E S I S Optimal Route Planning on Mobile Systems Adrian Batzill Structure Route Planning Unidirectional, Bidirectional, Hierarchical External Memory Results Optimal Route Planning on Mobile Systems 2/22
M A S T E R T H E S I S
Optimal Route Planning on Mobile Systems Adrian Batzill
2/22
– Unidirectional, Bidirectional, Hierarchical
Optimal Route Planning on Mobile Systems Adrian Batzill
3/22
– Shortest (distance) – Fastest (traveltime) – Most beautiful – Curvy – Fuel saving – …. – A mix of multiple criteria
Optimal Route Planning on Mobile Systems Adrian Batzill
4/22
Optimal Route Planning on Mobile Systems Adrian Batzill
5/22 s t 7 4 1 1 1 1 3
6/22
Optimal Route Planning on Mobile Systems Adrian Batzill
7/22
– At least for a distance-weighting – For traveltime-weighting:
dist max−speed
Optimal Route Planning on Mobile Systems Adrian Batzill
8/22
– Pick set of landmarks – Precompute distances to/from all nodes to all landmarks
c(s,l)≤c(s,t)+c(t ,l) c(s,l)−c(t ,l)≤c(s ,t) c(l,t)≤c(s,t)+c(l, s) c(l,t)−c(l,s)≤c(s ,t)
9/22
Optimal Route Planning on Mobile Systems Adrian Batzill
10/22
c(s,t ) 2
11/22
Optimal Route Planning on Mobile Systems Adrian Batzill
12/22
v 1 1 2 1 3
Optimal Route Planning on Mobile Systems Adrian Batzill
13/22
– Assume nodes ordered by importance – Contract nodes in this order:
– Only search upwards by importance – Unpack shortcuts to retrieve path
14/22
Optimal Route Planning on Mobile Systems Adrian Batzill
15/22
– Persistent – Cheap – Slow
Optimal Route Planning on Mobile Systems Adrian Batzill
16/22
Optimal Route Planning on Mobile Systems Adrian Batzill
17/22
– Not enough address space (Windows: max 2Gb)
– Managed memory mapped files – Custom C++ Allocator with placement-new – Custom pointer-type – Custom containers
Optimal Route Planning on Mobile Systems Adrian Batzill
18/22
– Breadth-first search – Locality (Z-order/Geohash, Hilbert curve) – CH-level (importance)
– Breadth-first search – Source node
Optimal Route Planning on Mobile Systems Adrian Batzill
19/22
Optimal Route Planning on Mobile Systems Adrian Batzill
20/22
Optimal Route Planning on Mobile Systems Adrian Batzill
21/22
– Node order suboptimal – Sorting by CH-level:
Optimal Route Planning on Mobile Systems Adrian Batzill
22/22