Skip to main content

An Experimental Study and Comparison of Topological Peeling and Topological Walk

  • Conference paper
  • First Online:
  • 571 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2387))

Abstract

In this paper, we present an experimental study comparing two algorithms, topological peeling and topological walk, for traversing arrangements of planar lines. Given a set H of n lines and a convex region R on a plane, both topological peeling and topological walk sweep the portion A R of the arrangement of H inside R in O(K + n log(n + r)) time and O(n + r) space, where K is the number of cells of A R and r is the number of boundary vertices of R. In our study, we robustly implemented these two algorithms using the LEDA library. Based on the implementation, we carried out experiments to conduct several comparisons, such as the arrangement traversal fashions, memory consumption, and execution time. In general, topological peeling exhibits a better control on the propagation of its sweeping curve (called the wavefront). For memory consumption, two types of measures, logical and physical memory, were examined. Our experiments showed that although both algorithms use nearly the same amount of logical memory, topological peeling could use twice as much physical memory as topological walk. For execution time, experiments revealed an interesting phenomenon that topological peeling has a 10% to 25% faster execution time than topological walk in most cases. Our analysis of this phenomenon indicates that the execution times of topological peeling and topological walk are both sensitive to the ratio of the lower input lines to all input lines. When the ratio of the lower lines to all input lines is around 85%, the two algorithms have roughly the same amount of execution time. Under this ratio, topological peeling considerably outperforms topological walk; above this ratio, topological walk slightly outperforms topological peeling.

The research was supported in part by the National Science Foundation under Grant CCR-9988468.

The research was supported in part by a faculty start-up fund from the CSE dept., SUNY at Buffalo, and an IBM faculty partnership award.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. E.G. Anagnostou, L.J. Guibas, and V.G. Polimenis, “Topological sweeping in three dimensions,” Lecture Notes in Computer Science, Vol. 450, Proc. Int’l Symp. on Algorithms, Springer-Verlag, 1990, pp. 310–317.

    Google Scholar 

  2. E.M. Arkin, Y.-J. Chiang, M. Held, J.S.B. Mitchell, V. Sacristan, S.S. Skiena, and T.-C. Yang, “On minimum-area hulls,” Algorithmica, Vol. 21, 1998, pp. 119–136.

    Article  MATH  MathSciNet  Google Scholar 

  3. T. Asano, L.J. Guibas, and T. Tokuyama, “Walking in an arrangement topologi-cally,” International Journal of Computational Geometry and Applications, Vol. 4, No. 2, 1994, pp. 123–151.

    Article  MATH  MathSciNet  Google Scholar 

  4. T. Asano and T. Tokuyama, “Topological walk revisited,” Proc. 6th Canadian Conf. on Computational Geometry, 1994, pp. 1–6.

    Google Scholar 

  5. P. Bose, W. Evans, D. Kirkpatrick, M. McAllister, and J. Snoeyink, “Approximating shortest paths in arrangements of lines,” Proc. 8th Canadian Conf. on Computational Geometry, 1996, pp. 143–148.

    Google Scholar 

  6. B. Chazelle, L.J. Guibas, and D.T. Lee, “The power of geometric duality,” BIT, Vol. 25, 1985, pp. 76–90.

    Article  MATH  MathSciNet  Google Scholar 

  7. D.Z. Chen, O. Daescu, X.S. Hu, X. Wu, and J. Xu, “Determining an optimal penetration among weighted regions in two and three dimensions,” Proc. 15th Annual ACM Symp. on Computational Geometry, 1999, pp. 322–331.

    Google Scholar 

  8. D.Z. Chen, O. Daescu, X.S. Hu, and J. Xu, “Finding an optimal path without growing the tree,” Proc. 6th Annual European Symp. on Algorithms, 1998, pp. 356–367.

    Google Scholar 

  9. D.Z. Chen, S. Luan, and J. Xu, “Topological peeling and implementation,” 12th Annual Int. Symp. on Algorithms and Computation, 2001, pp. 454–466.

    Google Scholar 

  10. D. Dobkin and A. Tal, “Efficient and Small Representation of Line Arrangements with Applications,” Proc. 17th Annual ACM symposium on Computational Geometry, 2001, pp. 293–301.

    Google Scholar 

  11. H. Edelsbrunner, Algorithms in Combinatorial Geometry, Springer-Verlag, New York, 1987.

    MATH  Google Scholar 

  12. H. Edelsbrunner and L.J. Guibas, “Topologically sweeping an arrangement,” Journal of Computer and System Sciences, Vol. 38, 1989, pp. 165–194.

    Article  MATH  MathSciNet  Google Scholar 

  13. H. Edelsbrunner, J. O’Rourke, and R. Seidel, “Constructing arrangements of lines and hyperplanes with applications,” SIAM J. Computing, Vol. 15, 1986, pp. 341–363.

    Article  MATH  MathSciNet  Google Scholar 

  14. H. Edelsbrunner and D. Souvaine, “Computing median-of-squares regression lines and guided topological sweep,” Journal of the American Statistical Association, Vol. 85, 1990, pp. 115–119.

    Article  MATH  Google Scholar 

  15. H. Edelsbrunner and E. Welzl, “Constructing belts in two-dimensional arrangements with applications,” SIAM J. Computing, Vol. 15, 1986, pp. 271–284.

    Article  MATH  MathSciNet  Google Scholar 

  16. D. Eppstein and D. Hart, “An efficient algorithm for shortest paths in vertical and horizontal segments,” Proc. 5th Int. Workshop on Algorithms and Data Structures, 1997, pp. 234–247.

    Google Scholar 

  17. D. Eppstein and D. Hart, “Shortest paths in an arrangement with k line orientations,” Proc. 10th ACM-SIAM Symp. on Discrete Algorithms, 1999, pp. 310–316.

    Google Scholar 

  18. K. Hoffman, K. Mehlhorn, R. Rosenstiehl, and R. Tarjan, “Sorting Jordan sequences in linear time using level-linked search trees,” Information and Control, Vol. 68, 1986, pp. 170–184.

    Article  MathSciNet  Google Scholar 

  19. P.N. Klein, S. Rao, M.H. Rauch, and S. Subramanian, “Faster shortest-path algorithms for planar graphs,” Proc. 26th Annual ACM Symp. Theory of Computing, 1994, pp. 27–37.

    Google Scholar 

  20. J. Majhi, R. Janardan, M. Smid, and P. Gupta, “On some geometric optimization problems in layered manufacturing,” Proc. 5th Int. Workshop on Algorithms and Data Structures, 1997, pp. 136–149.

    Google Scholar 

  21. K. Miller, S. Ramaswami, P. Rousseeuw, T. Sellares, D. Souvaine, I. Streinu, and A. Struyf, “Fast implementation of depth contours using topological sweep,” Proc. 12th ACM-SIAM Symp. on Discrete Algorithms, 2001, pp. 690–699.

    Google Scholar 

  22. J. Nievergelt and F.P. Preparata, “Plane-sweep algorithms for intersecting geometric figures,” Comm. of the ACM, Vol. 25, No. 10, 1982, pp. 739–747.

    Article  MATH  Google Scholar 

  23. F.P. Preparata and M.I. Shamos, Computational Geometry: An Introduction, Springer-Verlag, New York, 1985.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Chen, D.Z., Luan, S., Xu, J. (2002). An Experimental Study and Comparison of Topological Peeling and Topological Walk. In: Ibarra, O.H., Zhang, L. (eds) Computing and Combinatorics. COCOON 2002. Lecture Notes in Computer Science, vol 2387. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45655-4_49

Download citation

  • DOI: https://doi.org/10.1007/3-540-45655-4_49

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-43996-7

  • Online ISBN: 978-3-540-45655-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics