Skip to main content
Log in

A fast algorithm for computing sparse visibility graphs

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

AnOE¦log2 n) algorithm is presented to construct the visibility graph for a collection ofn nonintersecting line segments, where ¦E¦ is the number of edges in the visibility graph. This algorithm is much faster than theO(n 2)-time andO(n 2)-space algorithms by Asanoet al., and by Welzl, on sparse visibility graphs. Thus we partially resolve an open problem raised by Welzl. Further, our algorithm uses onlyO(n) working storage.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. A. V. Aho, J. Hopcroft, and J. D. Ullman,The Design and Analysis of Computer Algorithms, Addison-Wesley, Reading, MA, 1974.

    MATH  Google Scholar 

  2. T. Asano, T. Asano, L. Guibas, J. Hershberger, and H. Imai, Visibility of disjoint polygons,Algorithmica,1 (1986), 49–63.

    Article  MATH  MathSciNet  Google Scholar 

  3. T. Lozano-Perez and M. A. Wesley, An algorithm for planning collision-free paths among polyhedral obstacles.Comm. ACM,22 (1979), 560–570.

    Article  Google Scholar 

  4. M. H. Overmars and J. Van Leeuwen, Maintenance of configurations in the plane,J. Comput. System Sci,23 (1981), 166–204.

    Article  MATH  MathSciNet  Google Scholar 

  5. S. Sudarshan, A fast algorithm for computing sparse visibility graphs, B. Tech. Project Report, Dept. of Comput. Sci and Engg., IIT, Madras-36, June, 1987.

    Google Scholar 

  6. E. Welzl, Constructing the visibility graph forn line segments inO(n 2) time,Inform. Process. Lett.,20 (1985), 167–171.

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

Communicated by D. T. Lee.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Sudarshan, S., Pandu Rangan, C. A fast algorithm for computing sparse visibility graphs. Algorithmica 5, 201–214 (1990). https://doi.org/10.1007/BF01840385

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01840385

Key words

Navigation