Advertisement

Improved Implementation of Point Location in General Two-Dimensional Subdivisions

  • Michael Hemmer
  • Michal Kleinbort
  • Dan Halperin
Part of the Lecture Notes in Computer Science book series (LNCS, volume 7501)

Abstract

We present a major revamp of the point-location data structure for general two-dimensional subdivisions via randomized incremental construction, implemented in Cgal, the Computational Geometry Algorithms Library. We can now guarantee that the constructed directed acyclic graph \(\mathcal G\) is of linear size and provides logarithmic query time. Via the construction of the Voronoi diagram for a given point set S of size n, this also enables nearest-neighbor queries in guaranteed O(logn) time. Another major innovation is the support of general unbounded subdivisions as well as subdivisions of two-dimensional parametric surfaces such as spheres, tori, cylinders. The implementation is exact, complete, and general, i.e., it can also handle non-linear subdivisions. Like the previous version, the data structure supports modifications of the subdivision, such as insertions and deletions of edges, after the initial preprocessing. A major challenge is to retain the expected O(n logn) preprocessing time while providing the above (deterministic) space and query-time guarantees. We describe efficient preprocessing algorithms, which explicitly verify the length  \(\mathcal L\) of the longest query path. However, instead of using \(\mathcal L\), our implementation is based on the depth \(\mathcal D\) of \(\mathcal G\). Although we prove that the worst case ratio of \(\mathcal D\) and \(\mathcal L\) is Θ(n/logn), we conjecture, based on our experimental results, that this solution achieves expected O(n logn) preprocessing time.

Keywords

Directed Acyclic Graph Point Location Delaunay Triangulation Query Point Query Time 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Birn, M., Holtgrewe, M., Sanders, P., Singler, J.: Simple and fast nearest neighbor search. In: Workshop on Algorithm Engineering and Experiments, pp. 43–54 (2010)Google Scholar
  2. 2.
    Mulmuley, K.: A fast planar partition algorithm. i. J. Symb. Comput. 10(3/4), 253–280 (1990)MathSciNetzbMATHCrossRefGoogle Scholar
  3. 3.
    Seidel, R.: A simple and fast incremental randomized algorithm for computing trapezoidal decompositions and for triangulating polygons. J. Comput. Geom. 1, 51–64 (1991)MathSciNetzbMATHCrossRefGoogle Scholar
  4. 4.
    Kirkpatrick, D.G.: Optimal search in planar subdivisions. SIAM J. Comput. 12(1), 28–35 (1983)MathSciNetzbMATHCrossRefGoogle Scholar
  5. 5.
    Devillers, O.: The Delaunay hierarchy. Int. J. Found. Comput. Sci. 13(2), 163–180 (2002)MathSciNetzbMATHCrossRefGoogle Scholar
  6. 6.
    Seidel, R., Adamy, U.: On the exact worst case query complexity of planar point location. J. Algorithms 37(1), 189–217 (2000)MathSciNetzbMATHCrossRefGoogle Scholar
  7. 7.
    Dobkin, D.P., Lipton, R.J.: Multidimensional searching problems. SIAM J. Comput. 5(2), 181–186 (1976)MathSciNetzbMATHCrossRefGoogle Scholar
  8. 8.
    Preparata, F.P.: A new approach to planar point location. SIAM J. Comput. 10(3), 473–482 (1981)MathSciNetzbMATHCrossRefGoogle Scholar
  9. 9.
    Sarnak, N., Tarjan, R.E.: Planar point location using persistent search trees. Commun. ACM 29(7), 669–679 (1986)MathSciNetCrossRefGoogle Scholar
  10. 10.
    Lee, D.T., Preparata, F.P.: Location of a point in a planar subdivision and its applications. In: ACM Symposium on Theory of Computing. STOC 1976, pp. 231–235. ACM, New York (1976)Google Scholar
  11. 11.
    Edelsbrunner, H., Guibas, L.J., Stolfi, J.: Optimal point location in a monotone subdivision. SIAM J. Comput. 15(2), 317–340 (1986)MathSciNetzbMATHCrossRefGoogle Scholar
  12. 12.
    Snoeyink, J.: Point location. In: Goodman, J.E., O’Rourke, J. (eds.) Handbook of Discrete and Computational Geometry, pp. 767–785. CRC Press LLC, Boca Raton (2004)Google Scholar
  13. 13.
    de Berg, M., van Kreveld, M., Overmars, M., Schwarzkopf, O.: Computational Geometry: Algorithms and Applications, 3rd edn. Springer (2008)Google Scholar
  14. 14.
    Berberich, E., Fogel, E., Halperin, D., Melhorn, K., Wein, R.: Arrangements on parametric surfaces I: General framework and infrastructure. Mathematics in Computer Science 4, 67–91 (2010)MathSciNetzbMATHCrossRefGoogle Scholar
  15. 15.
    Mulmuley, K.: Computational geometry - an introduction through randomized algorithms. Prentice Hall (1994)Google Scholar
  16. 16.
    Hemmer, M., Kleinbort, M., Halperin, D.: Improved implementation of point location in general two-dimensional subdivisions. CoRR abs/1205.5434 (2012)Google Scholar
  17. 17.
    Guibas, L.J., Yao, F.F.: On translating a set of rectangles. In: STOC, pp. 154–160 (1980)Google Scholar
  18. 18.
    Alt, H., Scharf, L.: Computing the depth of an arrangement of axis-aligned rectangles in parallel. In: Proceedings of the 26th European Workshop on Computational Geometry (EuroCG), Dortmund, Germany, pp. 33–36 (March 2010)Google Scholar
  19. 19.
    Amenta, N., Choi, S., Rote, G.: Incremental constructions con brio. In: Symposium on Computational Geometry, pp. 211–219 (2003)Google Scholar
  20. 20.
    Mount, D.M., Arya, S.: Ann: A library for approximate nearest neighbor searching, http://www.cs.umd.edu/~mount/ANN/
  21. 21.
    Flato, E., Halperin, D., Hanniel, I., Nechushtan, O., Ezra, E.: The design and implementation of planar maps in CGAL. ACM Journal of Experimental Algorithmics 5, 13 (2000)MathSciNetCrossRefGoogle Scholar
  22. 22.
    Wein, R., Berberich, E., Fogel, E., Halperin, D., Hemmer, M., Salzman, O., Zukerman, B.: 2D arrangements. In: CGAL User and Reference Manual, 4.0 edn., CGAL Editorial Board (2012)Google Scholar
  23. 23.
    Austern, M.H.: Generic Programming and the STL. Addison-Wesley (1999)Google Scholar
  24. 24.
    Haran, I., Halperin, D.: An experimental study of point location in planar arrangements in CGAL. ACM Journal of Experimental Algorithmics 13 (2008)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2012

Authors and Affiliations

  • Michael Hemmer
    • 1
  • Michal Kleinbort
    • 1
  • Dan Halperin
    • 1
  1. 1.Tel-Aviv UniversityIsrael

Personalised recommendations