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.
Similar content being viewed by others
Notes
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
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)
Basch, J., Guibas, L.J., Hershberger, J.: Data structures for mobile data. J. Algorithms 31, 1–19 (1999)
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)
Brönnimann, H., Goodrich, M.: Almost optimal set covers in finite VC-dimension. Discrete Comput. Geom. 14(1), 463–479 (1995)
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)
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)
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)
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)
Gao, J., Guibas, L., Hershberger, J., Zhang, L., Zhu, A.: Discrete mobile centers. Discrete Comput. Geom. 30(1), 45–63 (2003)
Gonzalez, T.F.: Covering a set of points in multidimensional space. Inf. Process. Lett. 40(4), 181–188 (1991)
Hershberger, J.: Smooth kinetic maintenance of clusters. Comput. Geom. 31(12), 3–30 (2005)
Hochbaum, D.S., Maass, W.: Approximation schemes for covering and packing problems in image processing and VLSI. J. ACM 32(1), 130–136 (1985)
Rahmati, Z.: Simple, faster kinetic data structures. Ph.D. Thesis. University of Victoria (2014)
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
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)
Author information
Authors and Affiliations
Corresponding author
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
About this article
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
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-017-0338-9