Skip to main content
Log in

A Clustering-Based Approach to Kinetic Closest Pair

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

Given a set P of n moving points in fixed dimension d, where the trajectory of each point is a polynomial of degree bounded by some constant, we present a kinetic data structure (KDS) for maintenance of the closest pair on P. Assuming the closest pair distance is between 1 and \(\varDelta \) over time, our KDS uses \(O(n \log \varDelta )\) space and processes \(O(n^{2} \beta \log \varDelta \log n + n^{2} \beta \log \varDelta \log \log \varDelta )\) events, each in worst-case time \(O(\log ^2 n + \log ^2 \log \varDelta )\). Here, \(\beta \) is an extremely slow-growing function. The locality of the KDS is \(O(\log n + \log \log \varDelta )\). Our closest pair KDS supports insertions and deletions of points. An insertion or deletion takes worst-case time \(O(\log \varDelta \log ^2 n + \log \varDelta \log ^2 \log \varDelta )\). Also, we use a similar approach to provide a KDS for the all \(\varepsilon \)-nearest neighbors in \(\mathbb {R}^d\). The complexities of the previous KDSs, for both closest pair and all \(\varepsilon \)-nearest neighbors, have polylogarithmic factors, where the number of logs depends on dimension d. Assuming \(\varDelta \) is polynomial in n, our KDSs obtain improvements on the previous KDSs. Our solutions are based on a kinetic clustering on P. Though we use ideas from the previous clustering KDS by Hershberger, we simplify and improve his work.

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.

Fig. 1
Fig. 2

Similar content being viewed by others

Notes

  1. The KDS of Hershberger uses two kinetic tournament trees to maintain lpt(C) and rpt(C) for each cluster C. Thus his KDS includes a set of tournament certificates, where each point participates in \(O(\log n)\) such certificates.

References

  1. Agarwal, P.K., Kaplan, H., Sharir, M.: Kinetic and dynamic data structures for closest pair and all nearest neighbors. ACM Trans. Algorithms 5(4), 1–37 (2008)

    MathSciNet  Google Scholar 

  2. Basch, J., Guibas, L.J., Hershberger, J.: Data structures for mobile data. J. Algorithms 31, 1–19 (1999)

    Article  MathSciNet  MATH  Google Scholar 

  3. Basch, J., Guibas, L.J., Zhang, L.: Proximity problems on moving points. In: Proceedings of the 13th Annual Symposium on Computational Geometry (SoCG ’97), pp. 344–351. ACM, New York (1997)

  4. Brönnimann, H., Goodrich, M.: Almost optimal set covers in finite VC-dimension. Discrete Comput. Geom. 14(1), 463–479 (1995)

    Article  MathSciNet  MATH  Google Scholar 

  5. Chan, T.M., Rahmati, Z.: A Clustering-based approach to kinetic closest pair. In: Proceedings of the 15th Scandinavian Symposium and Workshops on Algorithm Theory (SWAT ’16), vol. 53, pp. 28:1–28:13. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik, Dagstuhl (2016)

  6. Chan, T.M., Rahmati, Z.: Approximating the minimum closest pair distance and nearest neighbor distances of linearly moving points. Comput. Geom. 60, 2–7 (2017)

    Article  MathSciNet  MATH  Google Scholar 

  7. Feder, T., Greene, D.: Optimal algorithms for approximate clustering. In: Proceedings of the 20th Annual ACM Symposium on Theory of Computing (STOC ’88), pp. 434–444. ACM, New York (1988)

  8. Fowler, R.J., Paterson, M.S., Tanimoto, S.L.: Optimal packing and covering in the plane are NP-complete. Inf. Process. Lett. 12(3), 133–137 (1981)

    Article  MathSciNet  MATH  Google Scholar 

  9. Gao, J., Guibas, L., Hershberger, J., Zhang, L., Zhu, A.: Discrete mobile centers. Discrete Comput. Geom. 30(1), 45–63 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  10. Gonzalez, T.F.: Covering a set of points in multidimensional space. Inf. Process. Lett. 40(4), 181–188 (1991)

    Article  MathSciNet  MATH  Google Scholar 

  11. Hershberger, J.: Smooth kinetic maintenance of clusters. Comput. Geom. 31(12), 3–30 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  12. Hochbaum, D.S., Maass, W.: Approximation schemes for covering and packing problems in image processing and VLSI. J. ACM 32(1), 130–136 (1985)

    Article  MathSciNet  MATH  Google Scholar 

  13. Rahmati, Z.: Simple, faster kinetic data structures. Ph.D. Thesis. University of Victoria (2014)

  14. Rahmati, Z., Abam, M.A., King, V., Whitesides, S.: Kinetic \(k\)-semi-Yao graph and its applications. Comput. Geom. (2016). doi:10.1016/j.comgeo.2015.11.001

  15. Rahmati, Z., Abam, M.A., King, V., Whitesides, S., Zarei, A.: A simple, faster method for kinetic proximity problems. Comput. Geom. 48(4), 342–359 (2015)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zahed Rahmati.

Additional information

A preliminary version of this paper has appeared in Proceedings of the 15th Scandinavian Symposium and Workshops on Algorithm Theory (SWAT 2016) [5].

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Rahmati, Z., Chan, T.M. A Clustering-Based Approach to Kinetic Closest Pair. Algorithmica 80, 2742–2756 (2018). https://doi.org/10.1007/s00453-017-0338-9

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-017-0338-9

Keywords

Navigation