Skip to main content

Computing the Visibility Polygon Using Few Variables

  • Conference paper
Algorithms and Computation (ISAAC 2011)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 7074))

Included in the following conference series:

Abstract

We present several algorithms for computing the visibility polygon of a simple polygon \(\ensuremath{\mathcal{P}}\) from a viewpoint inside the polygon, when the polygon resides in read-only memory and only few working variables can be used. The first algorithm uses a constant number of variables, and outputs the vertices of the visibility polygon in \(O(n\ensuremath{\bar{r}})\) time, where \(\ensuremath{\bar{r}}\) denotes the number of reflex vertices of \(\ensuremath{\mathcal{P}}\) that are part of the output. The next two algorithms use O(logr) variables, and output the visibility polygon in O(nlogr) randomized expected time or O(nlog2 r) deterministic time, where r is the number of reflex vertices of \(\ensuremath{\mathcal{P}}\).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Asano, T., Mulzer, W., Rote, G., Wang, Y.: Constant-work-space algorithm for geometric problems. Submitted to Journal of Computational Geometry (2010)

    Google Scholar 

  2. Asano, T., Mulzer, W., Wang, Y.: Constant-work-space Algorithm for a Shortest Path in a Simple Polygon. In: Rahman, M. S., Fujita, S. (eds.) WALCOM 2010. LNCS, vol. 5942, pp. 9–20. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  3. Asano, T., Rote, G.: Constant-working-space algorithms for geometric problems. In: CCCG, pp. 87–90 (2009)

    Google Scholar 

  4. Bose, P., Carmi, P., Hurtado, F., Morin, P.: A generalized Winternitz theorem. Journal of Geometry (in press)

    Google Scholar 

  5. Chan, T.M.: Comparison-based time-space lower bounds for selection. ACM Trans. Algorithms 6, 26:1–26:16 (2010)

    MathSciNet  Google Scholar 

  6. Chan, T.M., Chen, E.Y.: Multi-pass geometric algorithms. Discrete & Computational Geometry 37(1), 79–102 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  7. Devroye, L.: A note on the height of binary search trees. J. ACM 33, 489–498 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  8. Frederickson, G.N.: Upper bounds for time-space trade-offs in sorting and selection. J. Comput. Syst. Sci. 34(1), 19–26 (1987)

    Article  MathSciNet  MATH  Google Scholar 

  9. Ghosh, S.: Visibility Algorithms in the Plane. Cambridge University Press, New York (2007)

    Book  MATH  Google Scholar 

  10. Greenwald, M., Khanna, S.: Space-efficient online computation of quantile summaries. In: SIGMOD, pp. 58–66 (2001)

    Google Scholar 

  11. Joe, B., Simpson, R.B.: Corrections to Lee’s visibility polygon algorithm. BIT Numerical Mathematics 27, 458–473 (1987), doi:10.1007/BF01937271

    Article  MATH  Google Scholar 

  12. Munro, J.I., Paterson, M.: Selection and sorting with limited storage. Theor. Comput. Sci. 12, 315–323 (1980)

    Article  MathSciNet  MATH  Google Scholar 

  13. Munro, J.I., Raman, V.: Selection from read-only memory and sorting with minimum data movement. Theor. Comput. Sci. 165, 311–323 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  14. O’Rourke, J.: Visibility. In: Handbook of Discrete and Computational Geometry, 2nd edn., ch. 28, pp. 643–664. CRC Press, Inc. (2004)

    Google Scholar 

  15. Raman, V., Ramnath, S.: Improved Upper Bounds for Time-space Tradeoffs for Selection with Limited Storage. In: Arnborg, S. (ed.) SWAT 1998. LNCS, vol. 1432, pp. 131–142. Springer, Heidelberg (1998)

    Chapter  Google Scholar 

  16. Seidel, R.: Convex hull computations. In: Handbook of Discrete and Computational Geometry, 2nd edn., ch. 22, pp. 495–512. CRC Press, Inc. (2004)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Barba, L., Korman, M., Langerman, S., Silveira, R.I. (2011). Computing the Visibility Polygon Using Few Variables. In: Asano, T., Nakano, Si., Okamoto, Y., Watanabe, O. (eds) Algorithms and Computation. ISAAC 2011. Lecture Notes in Computer Science, vol 7074. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-25591-5_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-25591-5_9

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-25590-8

  • Online ISBN: 978-3-642-25591-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics