skip to main content
research-article

A dynamic data structure for 3-D convex hulls and 2-D nearest neighbor queries

Published:29 March 2010Publication History
Skip Abstract Section

Abstract

We present a fully dynamic randomized data structure that can answer queries about the convex hull of a set of n points in three dimensions, where insertions take O(log3n) expected amortized time, deletions take O(log6n) expected amortized time, and extreme-point queries take O(log2n) worst-case time. This is the first method that guarantees polylogarithmic update and query cost for arbitrary sequences of insertions and deletions, and improves the previous O(nϵ)-time method by Agarwal and Matoušek a decade ago. As a consequence, we obtain similar results for nearest neighbor queries in two dimensions and improved results for numerous fundamental geometric problems (such as levels in three dimensions and dynamic Euclidean minimum spanning trees in the plane).

References

  1. Afshani, P., and Chan, T. M. 2009. Optimal halfspace range reporting in three dimensions. In Proceedings of the 20th ACM--SIAM Symposium on Discrete Algorithms. ACM, New York, 180--186. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Agarwal, P. K., and Matoušek, J. 1995. Dynamic half-space range reporting and its applications. Algorithmica 13, 325--345.Google ScholarGoogle ScholarCross RefCross Ref
  3. Bentley, J., and Saxe, J. 1980. Decomposable searching problems I: static-to-dynamic transformation. J. Algorithms 1, 301--358.Google ScholarGoogle ScholarCross RefCross Ref
  4. Brodal, G. S., and Jacob, R. 2002. Dynamic planar convex hull. In Proceedings of the 43rd IEEE Symposium on Foundations of Computer Science. IEEE Computer Society Press, Los Alamitos, CA, 617--626. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Chan, T. M. 1998. Deterministic algorithms for 2-d convex programming and 3-d online linear programming. J. Algorithms 27, 147--166. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Chan, T. M. 2000. Random sampling, halfspace range reporting, and construction of (≤ k)-levels in three dimensions. SIAM J. Comput. 30, 561--575. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Chan, T. M. 2001. Dynamic planar convex hull operations in near-logarithmic amortized time. J. ACM 48, 1--12. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Chan, T. M. 2003. Semi-online maintenance of geometric optima and measures. SIAM J. Comput. 32, 700--716. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Chan, T. M. 2005. Low-dimensional linear programming with violations. SIAM J. Comput. 34, 879--893. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Chazelle, B. 1985. On the convex layers of a planar set. IEEE Trans. Inform. Theory IT-31, 509--517.Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Chazelle, B. 2005. Cuttings. In Handbook of Data Structures and Applications, D. P. Mehta and S. Sahni, Eds. CRC Press, 25.1--25.10.Google ScholarGoogle Scholar
  12. Clarkson, K. L. 1987. New applications of random sampling in computational geometry. Disc. Comput. Geom. 2, 195--222.Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Clarkson, K. L., Mehlhorn, K., and Seidel, R. 1993. Four results on randomized incremental constructions. Comput. Geom. Theory Appl. 3, 185--121. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. de Berg, M., van Kreveld, M., Overmars, M., and Schwarzkopf, O. 2000. Computational Geometry: Algorithms and Applications. Springer-Verlag, Berlin, Germany. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Devillers, O., Meiser, S., and Teillaud, M. 1992. Fully dynamic delaunay triangulation in logarithmic expected time per operation. Comput. Geom. Theory Appl. 2, 55--80. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Dobkin, D. P. and Kirkpatrick, D. G. 1983. Fast detection of polyhedral intersection. Theoret. Comput. Sci. 27, 241--253.Google ScholarGoogle ScholarCross RefCross Ref
  17. Dobkin, D. P., and Suri, S. 1991. Maintenance of geometric extrema. J. ACM 38, 275--298. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Eppstein, D. 1992. Dynamic three-dimensional linear programming. ORSA J. Comput. 4, 360--368.Google ScholarGoogle ScholarCross RefCross Ref
  19. Eppstein, D. 1995. Dynamic euclidean minimum spanning trees and extrema of binary functions. Disc. Comput. Geom. 13, 111--122.Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Eppstein, D. 2000a. Fast hierarchical clustering and other applications of dynamic closest pairs. J. Experimental Algorithmics 5, 1--23. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Eppstein, D. 2000b. Incremental and decremental maintenance of planar width. J. Algorithms 37, 570--577. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Har-Peled, S. 2000. Taking a walk in a planar arrangement. SIAM J. Comput. 30, 1341--1367. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Holm, J., de Lichtenberg, K., and Thorup, M. 2001. Poly-logarithmic deterministic fully-dynamic algorithms for connectivity, minimum spanning tree, 2-edge, and biconnectivity. J. ACM 48, 723--760. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. Matoušek, J. 1990. Construction of &epsis;-nets. Disc. Comput. Geom. 5, 427--448.Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Matoušek, J. 1992. Reporting points in halfspaces. Comput. Geom. Theory Appl. 2, 169--186. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Matoušek, J. 1993. Linear optimization queries. J. Algorithms 14, 432--448. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. Matoušek, J. 1995. On geometric optimization with few violated constraints. Disc. Comput. Geom. 14, 365--384.Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. Matoušek, J. and Schwarzkopf, O. 1993. On ray shooting in convex polytopes. Disc. Comput. Geom. 10, 215--232.Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. Mehlhorn, K. 1984. Data Structures and Algorithms 3: Multi-Dimensional Searching and Computational Geometry. Springer-Verlag, Heidelberg, Germany. Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. Mulmuley, K. 1994. Computational Geometry: An Introduction Through Randomized Algorithms. Prentice-Hall, Englewood Cliffs, NJ.Google ScholarGoogle Scholar
  31. Overmars, M. H., and van Leeuwen, J. 1981. Maintenance of configurations in the plane. J. Comput. Sys. Sci. 23, 166--204.Google ScholarGoogle ScholarCross RefCross Ref
  32. Preparata, F. P. and Shamos, M. I. 1985. Computational Geometry: An Introduction. Springer-Verlag, New York. Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. Ramos, E. 1999. On range reporting, ray shooting, and k-level construction. In Proceedings of the 15th Annual ACM Symposium on Computer Geometry. ACM, New York, 390--399. Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. Schwarzkopf, O. 1991. Dynamic maintenance of geometric structures made easy. In Proceedings of the 32nd IEEE Symposium on Foundation of Computer Science. IEEE Computer Society Press, Los Alamitos, CA, 197--206. Google ScholarGoogle ScholarDigital LibraryDigital Library
  35. Sharir, M. 1991. On k-sets in arrangements of curves and surfaces. Disc. Comput. Geom. 6, 593--613.Google ScholarGoogle ScholarDigital LibraryDigital Library
  36. Sharir, M., Smorodinsky, S., and Tardos, G. 2001. An improved bound for k-sets in three dimensions. Disc. Comput. Geom. 26, 195--204.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. A dynamic data structure for 3-D convex hulls and 2-D nearest neighbor queries

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in

    Full Access

    • Published in

      cover image Journal of the ACM
      Journal of the ACM  Volume 57, Issue 3
      March 2010
      225 pages
      ISSN:0004-5411
      EISSN:1557-735X
      DOI:10.1145/1706591
      Issue’s Table of Contents

      Copyright © 2010 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 29 March 2010
      • Revised: 1 October 2009
      • Accepted: 1 October 2009
      • Received: 1 September 2006
      Published in jacm Volume 57, Issue 3

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article
      • Research
      • Refereed

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader