Figure 4: The relative number of breakpoints and the relative time related to exact LCA (II - Imai and Iri, DP - Douglas
Peucker).
tions usually have small slopes. When it is certain
that input data do not violate the condition
(2)
, the
algorithm is more suitable.
5 CONCLUSION
Two algorithms for
ε
-approximation of TDSP were
presented. The algorithms significantly reduce the
memory use. When the maximum relative error is a
sufficiently large value (in our case
10
−3
), the algo-
rithms save the computational time too. From this
point of view, the algorithms are suitable for precom-
puting the TTFs for the next use (e.g., time-dependent
distance oracles, time-dependent contraction hierar-
chies).
In a real road network the maximum slopes of
AFs are not too big (Strasser, 2017). So the main
disadvantage (too many calls of back search procedure)
is not a too big problem. In one-to-one problem case
the developed algorithms can be combined with other
speed-up techniques that reduce the graph (e.g., time-
dependent-sampling (Strasser, 2017)).
In the future work it would be useful to use some
heuristics for decision whether it is necessary to per-
form backSearch. The goal is to remove the cases
when the difficult-to-calculated AF (using backSearch)
is fully replaced by another AF from another node.
ACKNOWLEDGEMENTS
This work has been supported by the Project SGS-
2019-015 (”Vyu
ˇ
zit
´
ı matematiky a informatiky v geo-
matice IV”) and by Ministry of Education, Youth and
Sports of the Czech Republic, the project PUNTIS
(LO1506) under the program NPU I
REFERENCES
Batz, G. V., Geisberger, R., Sanders, P., and Vetter, C. (2013).
Minimum time-dependent travel times with contraction
hierarchies. Journal of Experimental Algorithmics,
18:1.1–1.43.
Dehne, F., Omran, M. T., and Sack, J.-R. (2012). Shortest
Paths in Time-Dependent FIFO Networks. Algorith-
mica, 62(1-2):416–435.
Foschini, L., Hershberger, J., and Suri, S. (2014). On the
Complexity of Time-Dependent Shortest Paths. Algo-
rithmica, 68(4):1075–1097.
Geisberger, R. (2010). Engineering Time-dependent One-
To-All Computation. arXiv:1010.0809 [cs]. arXiv:
1010.0809.
Geisberger, R. and Sanders, P. (2010). Engineering time-
dependent many-to-many shortest paths computation.
In OASIcs-OpenAccess Series in Informatics, vol-
ume 14. Schloss Dagstuhl-Leibniz-Zentrum fuer In-
formatik.
Imai, H. and Iri, M. (1986). An optimal algorithm for ap-
proximating a piecewise linear function. Journal of
information processing, 9(3):159–162.
Omran, M. and Sack, J.-R. (2014). Improved approximation
for time-dependent shortest paths. In International
Computing and Combinatorics Conference, pages 453–
464. Springer.
Orda, A. and Rom, R. (1990). Shortest-path and minimum-
delay algorithms in networks with time-dependent
edge-length. Journal of the ACM (JACM), 37(3):607–
625.
Strasser, B. (2017). Dynamic Time-Dependent Routing
in Road Networks Through Sampling. In OASIcs-
OpenAccess Series in Informatics, volume 59. Schloss
Dagstuhl-Leibniz-Zentrum fuer Informatik.
GISTAM 2019 - 5th International Conference on Geographical Information Systems Theory, Applications and Management
32