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 条
  • [1] Kinetic Data Structures for All Nearest Neighbors and Closest Pair in the Plane
    Rahmati, Zahed
    King, Valerie
    Whitesides, Sue
    PROCEEDINGS OF THE TWENTY-NINETH ANNUAL SYMPOSIUM ON COMPUTATIONAL GEOMETRY (SOCG'13), 2013, : 137 - 144
  • [2] Randomized data structures for the dynamic closest-pair problem
    Golin, M
    Raman, R
    Schwarz, C
    Smid, M
    SIAM JOURNAL ON COMPUTING, 1998, 27 (04) : 1036 - 1072
  • [3] Algorithm for finding all k nearest neighbors
    Piegl, LA
    Tiller, W
    COMPUTER-AIDED DESIGN, 2002, 34 (02) : 167 - 172
  • [4] Efficient algorithms for the all nearest neighbor and closest pair problems on the linear array with a reconfigurable pipelined bus system
    Wang, YR
    Horng, SJ
    Wu, CH
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2005, 16 (03) : 193 - 206
  • [5] LOCAL FALSE NEAREST NEIGHBORS AND DYNAMIC DIMENSIONS FROM OBSERVED CHAOTIC DATA
    ABARBANEL, HDI
    KENNEL, MB
    PHYSICAL REVIEW E, 1993, 47 (05): : 3057 - 3068
  • [6] A Clustering-Based Approach to Kinetic Closest Pair
    Zahed Rahmati
    Timothy M. Chan
    Algorithmica, 2018, 80 : 2742 - 2756
  • [7] A Clustering-Based Approach to Kinetic Closest Pair
    Rahmati, Zahed
    Chan, Timothy M.
    ALGORITHMICA, 2018, 80 (10) : 2742 - 2756
  • [8] All-nearest-neighbors queries in spatial databases
    Zhang, J
    Mamoulis, N
    Papadias, D
    Tao, YF
    16TH INTERNATIONAL CONFERENCE ON SCIENTIFIC AND STATISTICAL DATABASE MANAGEMENT, PROCEEDINGS, 2004, : 297 - 306
  • [9] A SWEEP ALGORITHM FOR THE ALL-NEAREST-NEIGHBORS PROBLEM
    HINRICHS, K
    NIEVERGELT, J
    SCHORN, P
    LECTURE NOTES IN COMPUTER SCIENCE, 1988, 333 : 43 - 54
  • [10] All-pairs nearest neighbors in a mobile environment
    Gunopulos, D
    Kollios, G
    Tsotras, VJ
    ADVANCES IN INFORMATICS, 2000, : 111 - 121