Abstract
We devise a fully-dynamic algorithm for maintaining the visibility graph of a given simple polygon P amid vertex insertions and deletions to the simple polygon. Our algorithm takes \(O(k(\lg {n'})^2)\) worst-case time to update the visibility graph when a vertex is inserted to the current simple polygon \(P'\), or when a vertex is deleted from \(P'\). Here, k is the number of combinatorial changes needed to the visibility graph due to the insertion (resp. deletion) of a vertex v to \(P'\), and \(n'\) is the number of vertices of \(P'\). This algorithm preprocesses the initial simple polygon P to build few data structures, including the visibility graph of P. Further, as part of efficiently updating the visibility graph, a fully-dynamic algorithm is designed to compute the vertices of the current simple polygon that are visible from a query point.
R. Inkulu—This research is supported in part by NBHM grant 248(17)2014-R&D-II/1049.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Aronov, B., Guibas, L.J., Teichmann, M., Zhang, L.: Visibility queries and maintenance in simple polygons. Discret. Comput. Geom. 27(4), 461–483 (2002)
Asano, T., Asano, T., Guibas, L.J., Hershberger, J., Imai, H.: Visibility of disjoint polygons. Algorithmica 1(1), 49–63 (1986)
Bar-Yehuda, R., Chazelle, B.: Triangulating disjoint Jordan chains. Int. J. Comput. Geom. Appl. 4(4), 475–481 (1994)
Bose, P., Lubiw, A., Munro, J.I.: Efficient visibility queries in simple polygons. Comput. Geom. 23(3), 313–335 (2002)
Chazelle, B.: Triangulating a simple polygon in linear time. Discret. Comput. Geom. 6, 485–524 (1991)
Chen, D.Z., Wang, H.: Visibility and ray shooting queries in polygonal domains. Comput. Geom. 48(2), 31–41 (2015)
Chen, D.Z., Wang, H.: Weak visibility queries of line segments in simple polygons. Comput. Geom. 48(6), 443–452 (2015)
Davis, L.S., Benedikt, M.L.: Computational models of space: Isovists and Isovist fields. Comput. Graph. Image Process. 11(1), 49–72 (1979)
ElGindy, H.A., Avis, D.: A linear algorithm for computing the visibility polygon from a point. J. Algorithms 2(2), 186–197 (1981)
Ghosh, S.K.: Computing the visibility polygon from a convex set and related problems. J. Algorithms 12(1), 75–95 (1991)
Ghosh, S.K.: Visibility Algorithms in the Plane. Cambridge University Press, New York (2007)
Ghosh, S.K., Mount, D.M.: An output-sensitive algorithm for computing visibility graphs. SIAM J. Comput. 20(5), 888–910 (1991)
Goodrich, M.T., Tamassia, R.: Dynamic ray shooting and shortest paths in planar subdivisions via balanced geodesic triangulations. J. Algorithms 23(1), 51–73 (1997)
Guibas, L.J., Hershberger, J.: Optimal shortest path queries in a simple polygon. J. Comput. Syst. Sci. 39(2), 126–152 (1989)
Guibas, L.J., Motwani, R., Raghavan, P.: The robot localization problem. SIAM J. Comput. 26(4), 1120–1138 (1997)
Hershberger. J.: Finding the visibility graph of a simple polygon in time proportional to its size. In: Proceedings of the Third Annual Symposium on Computational Geometry, pp. 11–20 (1987)
Hershberger, J.: An optimal visibility graph algorithm for triangulated simple polygons. Algorithmica 4, 141–155 (1989)
Inkulu, R., Kapoor, S.: Visibility queries in a polygonal region. Comput. Geom. 42(9), 852–864 (2009)
Inkulu, R., Thakur, N.: Incremental algorithms to update visibility polygons. In: Proceedings of Conference on Algorithms and Discrete Applied Mathematics, pp. 205–218 (2017)
Inkulu, R., Sowmya, K.: Dynamic algorithms for visibility polygons. CoRR, abs/1704.08219 (2017)
Joe, B., Simpson, R.: Corrections to Lee’s visibility polygon algorithm. BIT Numer. Math. 27(4), 458–473 (1987)
Kapoor, S., Maheshwari, S.N.: Efficient algorithms for Euclidean shortest path and visibility problems with polygonal obstacles. In: Proceedings of Symposium on Computational Geometry, pp. 172–182 (1988)
Kapoor, S., Maheshwari, S.N.: Efficiently constructing the visibility graph of a simple polygon with obstacles. SIAM J. Comput. 30(3), 847–871 (2000)
Lee, D.T.: Proximity and reachability in the plane. Ph.D. thesis, University of Illinois at Urbana-Champaign (1978). Ph.D. thesis and Technical report ACT-12
Lee, D.T.: Visibility of a simple polygon. Comput. Vis. Graph. Image Process. 22(2), 207–221 (1983)
Overmars, M.H., Welzl, E.: New methods for computing visibility graphs. In: Proceedings of the Fourth Annual Symposium on Computational Geometry, pp. 164–171 (1988)
Pocchiola, M., Vegter, G.: Topologically sweeping visibility complexes via pseudotriangulations. Discret. Comput. Geom. 16(4), 419–453 (1996)
Sharir, M., Schorr, A.: On shortest paths in polyhedral spaces. SIAM J. Comput. 15(1), 193–215 (1986)
Vegter, G.: The visibility diagram: a data structure for visibility problems and motion planning. In: Proceedings of Scandinavian Workshop on Algorithm Theory, pp. 97–110 (1990)
Welzl, E.: Constructing the visibility graph for \(n\)-line segments in \(O(n^2)\) time. Inf. Process. Lett. 20(4), 167–171 (1985)
Zarei, A., Ghodsi, M.: Efficient computation of query point visibility in polygons with holes. In: Proceedings of the Symposium on Computational Geometry, pp. 314–320 (2005)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Choudhury, T., Inkulu, R. (2019). Maintaining the Visibility Graph of a Dynamic Simple Polygon. In: Pal, S., Vijayakumar, A. (eds) Algorithms and Discrete Applied Mathematics. CALDAM 2019. Lecture Notes in Computer Science(), vol 11394. Springer, Cham. https://doi.org/10.1007/978-3-030-11509-8_4
Download citation
DOI: https://doi.org/10.1007/978-3-030-11509-8_4
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-11508-1
Online ISBN: 978-3-030-11509-8
eBook Packages: Computer ScienceComputer Science (R0)