Kinetic and Dynamic Data Structures for Closest Pair and All Nearest Neighbors

被引:10
|
作者
Agarwal, Pankaj K. [1 ]
Kaplan, Haim [2 ]
Sharir, Micha [2 ]
机构
[1] Duke Univ, Dept Comp Sci, Durham, NC 27708 USA
[2] Tel Aviv Univ, Sch Comp Sci, IL-69978 Tel Aviv, Israel
关键词
Kinetic data structures; computational geometry; closest pair; nearest neighbors;
D O I
10.1145/1435375.1435379
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present simple, fully dynamic and kinetic data structures, which are variants of a dynamic two-dimensional range tree, for maintaining the closest pair and all nearest neighbors for a set of n moving points in the plane; insertions and deletions of points are also allowed. If no insertions or deletions take place, the structure for the closest pair uses O(n log n) space, and processes O(n(2)beta(s+2)(n) log n) critical events, each in O(log(2) n) time. Here s is the maximum number of times where the distances between any two specific pairs of points can become equal, beta(s)(q) = lambda(s)(q)/q, and lambda(s)(q) is the maximum length of Davenport-Schinzel sequences of order s on q symbols. The dynamic version of the problem incurs a slight degradation in performance: If m >= n insertions and deletions are performed, the structure still uses O(n log n) space, and processes O(mn beta(s+2)(n) log(3) n) events, each in O(log(3) n) time. Our kinetic data structure for all nearest neighbors uses O(n log2 n) space, and processes O(n(2)beta(2)(s+2)(n) log(3) n) critical events. The expected time to process all events is O(n(2)beta(2)(s+2)(n) log(4) n), though processing a single event may take Theta(n) expected time in the worst case. If m >= n insertions and deletions are performed, then the expected number of events is O(mn beta(2)(s+2)(n) log(3) n) and processing them all takes O(mn beta(2)(s+2)(n) log(4) n). An insertion or deletion takes O(n) expected time.
引用
收藏
页数:37
相关论文
共 50 条
  • [21] Probabilistic Reverse Nearest Neighbors on Uncertain Data Streams
    Feng, Lin-Ru
    Liu, Chuan-Ming
    Lai, Chuan-Chi
    2018 7TH IEEE INTERNATIONAL SYMPOSIUM ON NEXT-GENERATION ELECTRONICS (ISNE), 2018, : 243 - 246
  • [22] Nearest neighbors estimation for long memory functional data
    Lihong Wang
    Statistical Methods & Applications, 2020, 29 : 709 - 725
  • [23] Efficient and Accurate Nearest Neighbor and Closest Pair Search in High-Dimensional Space
    Tao, Yufei
    Yi, Ke
    Sheng, Cheng
    Kalnis, Panos
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2010, 35 (03):
  • [24] Approximating the minimum closest pair distance and nearest neighbor distances of linearly moving points
    Chan, Timothy M.
    Rahmati, Zahed
    COMPUTATIONAL GEOMETRY-THEORY AND APPLICATIONS, 2017, 60 : 2 - 7
  • [25] Dynamic K-Nearest Neighbors For The Monitoring Of Evolving Systems
    Hartert, L.
    Mouchaweh, M. Sayed
    Billaudel, P.
    2010 IEEE INTERNATIONAL CONFERENCE ON FUZZY SYSTEMS (FUZZ-IEEE 2010), 2010,
  • [26] A clustering algorithm using dynamic nearest neighbors selection model
    Jin, Yang
    Zuo, Wan-Li
    Jisuanji Xuebao/Chinese Journal of Computers, 2007, 30 (05): : 756 - 762
  • [27] Parallel algorithms for the all nearest neighbors of binary image on the BSP model
    Ishimizu, T
    Fujiwara, A
    Inoue, M
    Masuzawa, T
    Fujiwara, H
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2000, E83D (02) : 151 - 158
  • [28] Parallel algorithms for all nearest neighbors of binary images on the BSP model
    Ishimizu, T
    Fujiwara, A
    Inoue, M
    Masuzawa, T
    Fujiwara, H
    FOURTH INTERNATIONAL SYMPOSIUM ON PARALLEL ARCHITECTURES, ALGORITHMS, AND NETWORKS (I-SPAN'99), PROCEEDINGS, 1999, : 394 - 399
  • [29] Incremental maintenance of all-nearest neighbors based on road network
    Feng, J
    Mukai, N
    Watanabe, T
    INNOVATIONS IN APPLIED ARTIFICIAL INTELLIGENCE, 2004, 3029 : 164 - 169
  • [30] ON COMPUTING ALL NORTHEAST NEAREST NEIGHBORS IN THE L1 METRIC
    GUIBAS, LJ
    STOLFI, J
    INFORMATION PROCESSING LETTERS, 1983, 17 (04) : 219 - 223