DOI QR코드

DOI QR Code

A Simple Shortest Path Algorithm for L-visible Polygons

  • Kim, Soo-Hwan (Department of Embedded IT, Pusan University of Foreign Studies)
  • Received : 2010.01.05
  • Accepted : 2010.01.17
  • Published : 2010.02.28

Abstract

The shortest path between two points inside a simple polygon P is a minimum-length path among all paths connecting them which don't pass by the exterior of P. A linear time algorithm for computing the shortest path in a general simple polygon requires triangulating a given polygon as preprocessing. The linear time triangulating is known to very complex to understand and implement it. It is also inefficient in case that the input without very large size is given because its time complexity has a big constant factor. Two points of a polygon P are said to be L-visible from each other if they can be joined by a simple chain of at most two rectilinear line segments contained in P completely. An L-visible polygon P is a polygon such that there is a point from which every point of P is L-visible. We present the customized optimal shortest path algorithm for an L-visible polygon. Our algorithm doesn't require triangulating as preprocessing and consists of simple procedures such as construction of convex hulls and operations for convex polygons, so it is easy to implement and runs very fast in linear time.

Keywords

References

  1. L. Guibas, J. Hershberger, D. Leven, M. Shrir, and R. Tarjan, "Linear Time Algorithm for Visibility and Shortest Path Problems inside Triangulated Simple Polygons," Algorithmica, Vol. 2, No. 1-4, 1987, pp. 209-233. https://doi.org/10.1007/BF01840360
  2. B. Chazelle, "Triangulating a Simple Polygon in Linear Time," Discrete Comput. Geom., Vol. 6, No. 1, 1991, pp. 485-524. https://doi.org/10.1007/BF02574703
  3. J. O'rourke, Art Gallery Theorems and Algorithms, Oxford Univ. Press, 1987.
  4. S.-H. Kim, "A Fast Algorithm for Computing the Shortest Path between Two Points inside a Segment-Visible Polygon," Journal of KIMICS, Vol. 14, No. 2, 2010. (in Korean)
  5. H. ElGindy, D. Avis, and G. T. Toussaint, "Application of a two dimensional hidden line algorithm to other geometric problems," Computing, Vol. 31, 1983, pp. 191-202, https://doi.org/10.1007/BF02263430
  6. S.-H. Kim and K.-Y. Chwa, "An Optimal Algorithm for Finding the L-Kernel of a Rectilinear Polygon, Journal of KHSE, Vol. 117, No. 2, 1990, pp. 200-211. (in Korean)
  7. F. P. Preparata and M. I. Shames, Computational Geometry: An Introduction, Springer-Velag, 1985.