Abstract
Given a simple n-sided polygon in the plane with a boundary partitioned into subchains some of which are convex and colored, we consider the following problem: Which is the shortest route (closed path) contained in the polygon that passes through a given point on the boundary and intersects at least one vertex in each of the colored subchains? We present an optimal algorithm that solves this problem in O(n) time. Previously it was known how to solve the problem optimally when each colored subchain contains one vertex only. Moreover, we show that a solution computed by the algorithm is at most a factor \(\frac{2+c}{c}\) times longer than the overall shortest route that intersects the subchains (not just at vertices) if the minimal distance between vertices of different subchains is at least c times the maximal length of an edge of a subchain. Without such a bound its length can be arbitrarily longer. Furthermore, it is known that algorithms for computing such overall shortest routes suffer from numerical problems. Our algorithm is not subject to such problems.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Mitchell, J.S.B.: Shortest paths and networks. In: Goodman, J.E., O’Rourke, J. (eds.) Handbook of Discrete and Computational Geometry, pp. 445–466. CRC Press LLC, Boca Raton (1997)
Lawler, E.L., Lenstra, J.K., Rinnooy Kan, A.H.G., Shmoys, D.B. (eds.): The Traveling Salesman Problem. Wiley, New York (1985)
Papadimitriou, C.H.: The Euclidean traveling salesman problem is NP-complete. Theoret. Comput. Sci. 4, 237–244 (1977)
Jonsson, H.: The Euclidean Traveling Salesman Problem with Neighborhoods and a Connecting Fence. PhD thesis, Luleå University of Technology (2000)
Chin, W.P., Ntafos, S.: Optimum zookeeper routes. Info. Sci. 63, 245–259 (1992)
Tan, X.: Shortest zookeeper’s routes in simple polygons. Inform. Process. Lett. 77, 23–26 (2001)
Jonsson, H.: An approximative solution to the Zookeeper’s Problem. Information Processing Letters 87, 301–307 (2003)
Tan, X.: Approximation algorithms for the watchman route and zookeeper’s problems. Discrete Applied Mathematics 136, 363–376 (2004)
Hershberger, J., Snoeyink, J.: An efficient solution to the zookeeper’s problem. In: Proc. 6th Canad. Conf. Comput. Geom., pp. 104–109 (1994)
Guibas, L.J., Hershberger, J., Leven, D., Sharir, M., Tarjan, R.E.: Linear-time algorithms for visibility and shortest path problems inside triangulated simple polygons. Algorithmica 2, 209–233 (1987)
Chazelle, B.: Triangulating a simple polygon in linear time. Discrete Comput. Geom. 6, 485–524 (1991)
Bespamyatnikh, S.: An O(nlogn) algorithm for the Zoo-keeper’s problem. Comput. Geom. Theory Appl. 24, 63–74 (2002)
Guibas, L.J., Hershberger, J.: Optimal shortest path queries in a simple polygon. J. Comput. Syst. Sci. 39, 126–152 (1989)
Hershberger, J.: A new data structure for shortest path queries in a simple polygon. Inform. Process. Lett. 38, 231–235 (1991)
Toussaint, G.T.: Special issue on computational geometry. Proceedings of the IEEE, 1347–1363 (1992)
Sabra, A.I.: Theories of Light from Descartes to Newton. Oldbourne, London (1967)
Lee, D.T., Preparata, F.P.: Euclidean shortest paths in the presence of rectilinear barriers. Networks 14, 393–410 (1984)
Hershberger, J.: An optimal visibility graph algorithm for triangulated simple polygons. Algorithmica 4, 141–155 (1989)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2004 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Jonsson, H. (2004). A Robust and Fast Algorithm for Computing Exact and Approximate Shortest Visiting Routes. In: Laganá, A., Gavrilova, M.L., Kumar, V., Mun, Y., Tan, C.J.K., Gervasi, O. (eds) Computational Science and Its Applications – ICCSA 2004. ICCSA 2004. Lecture Notes in Computer Science, vol 3045. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-24767-8_18
Download citation
DOI: https://doi.org/10.1007/978-3-540-24767-8_18
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-22057-2
Online ISBN: 978-3-540-24767-8
eBook Packages: Springer Book Archive