Abstract
Suppose one has a line segment arrangement consisting entirely of vertical and horizontal segments, and one wants to find the shortest path from one point to another along these segments. Using known algorithms one can solve this in O(n 2) time and in O(n 2) space. We show that it is possible to find a shortest path in time O(n1.5 log n) and space O(n 1.5). Furthermore, if only one path endpoint is known in advance, it is possible to preprocess the arrangement in the same time and space and then find shortest paths for query points in time O(log n).
This is a preview of subscription content, log in via an institution.
Preview
Unable to display preview. Download preview PDF.
References
M. Bern, D. Dobkin, and D. Eppstein. Triangulating polygons without large angles. International Journal of Computational Geometry & Applications 5 (1995) 171–192.
P. Bose, W. Evans, D. Kirpatrick, M. McAllister, and J. Snoeyink. Approximating shortest paths in arrangements of lines. Proceedings of the 8th Canadian Conference on Computational Geometry (1996) 143–148.
W.-T. Chan and F. Y. L. Chin. Efficient algorithms for finding disjoint paths in grids. Proceedings of the 8th ACM-SIAM Symposium on Discrete Algorithms (1996) 454–463.
J. Hershberger and S. Suri. Efficient computation of Euclidian shortest paths in the plane. Proceedings of the 24th Annual Symposium on Foundations of Computer Science (1993) 508–517.
P. Klein, S. Rao, M. Rauch, and S. Subramanian. Faster shortest-path algorithms for planar graphs. Proceedings of the 26th Annual ACM Symposium on the Theory of Computing (1994) 27–37.
D.T. Lee, C.D. Yang, and C.K. Wong. Rectilinear paths among rectilinear obstacles. Discrete Applied Mathematics 70 (1996) 185–215.
F. Preparata and M. Shamos. Computational Geometry. Springer-Verlag, 1985.
P.J. de Rezende, D.T. Lee, and Y.F. Wu. Rectilinear shortest paths in the presence of rectangular barriers. Discrete & Computational Geometry 4 (1989) 41–53.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1997 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Eppstein, D., Hart, D.W. (1997). An efficient algorithm for shortest paths in vertical and horizontal segments. In: Dehne, F., Rau-Chaplin, A., Sack, JR., Tamassia, R. (eds) Algorithms and Data Structures. WADS 1997. Lecture Notes in Computer Science, vol 1272. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-63307-3_63
Download citation
DOI: https://doi.org/10.1007/3-540-63307-3_63
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-63307-5
Online ISBN: 978-3-540-69422-9
eBook Packages: Springer Book Archive