Fast neighbor search by using revised k-d tree

被引:70
作者
Chen, Yewang [1 ]
Zhou, Lida [1 ]
Tang, Yi [2 ]
Singh, Jai Puneet [3 ]
Bouguila, Nizar [4 ]
Wang, Cheng [1 ]
Wang, Huazhen [1 ]
Du, Jixiang [1 ]
机构
[1] Huaqiao Univ, Coll Comp Sci & Technol, Xiamen 361021, Peoples R China
[2] Guangzhou Univ, Sch Math & Informat Sci, Guangzhou 510006, Guangdong, Peoples R China
[3] Concordia Univ, Concordia Engn & Comp Sci, Montreal, PQ H3G 2W1, Canada
[4] Concordia Univ, Fac Engn & Comp Sci, Concordia Inst Informat Syst Engn, Montreal, PQ H3G 2W1, Canada
基金
中国国家自然科学基金;
关键词
k-d tree; NN; kNN; RNN; APPROXIMATE NEAREST-NEIGHBOR; ALGORITHMS; DATABASES; QUERIES;
D O I
10.1016/j.ins.2018.09.012
中图分类号
TP [自动化技术、计算机技术];
学科分类号
080201 [机械制造及其自动化];
摘要
We present two new neighbor query algorithms, including range query (RNN) and nearest neighbor (NN) query, based on revised k-d tree by using two techniques. The first technique is proposed for decreasing unnecessary distance computations by checking whether the cell of a node is inside or outside the specified neighborhood of query point, and the other is used to reduce redundant visiting nodes by saving the indices of descendant points. We also implement the proposed algorithms in Matlab and C. The Matlab version is to improve original RNN and NN which are based on k-d tree, C version is to improve k-Nearest neighbor query (kNN) which is based on buffer k-d tree. Theoretical and experimental analysis have shown that the proposed algorithms significantly improve the original RNN, NN and kNN in low dimension, respectively. The tradeoff is that the additional space cost of the revised k-d tree is approximately O(alpha nlog(n)). (C) 2018 Elsevier Inc. All rights reserved.
引用
收藏
页码:145 / 162
页数:18
相关论文
共 49 条
[1]
Nearest-Neighbor Searching Under Uncertainty II [J].
Agarwal, Pankaj K. ;
Aronov, Boris ;
Har-Peled, Sariel ;
Phillips, Jeff M. ;
Yi, Ke ;
Zhang, Wuzhou .
ACM TRANSACTIONS ON ALGORITHMS, 2016, 13 (01)
[2]
Near-optimal hashing algorithms for approximate nearest neighbor in high dimensions [J].
Andoni, Alexandr ;
Indyk, Piotr .
COMMUNICATIONS OF THE ACM, 2008, 51 (01) :117-122
[3]
[Anonymous], 2007, P 2007 IEEE C COMPUT
[4]
[Anonymous], 2009, VISAPP
[5]
The Quickhull algorithm for convex hulls [J].
Barber, CB ;
Dobkin, DP ;
Huhdanpaa, H .
ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE, 1996, 22 (04) :469-483
[6]
Bawa M., 2005, WWW 05, P651, DOI DOI 10.1145/1060745.1060840
[7]
Becker A., 2016, SODA, P10, DOI 10.1137/1
[8]
MULTIDIMENSIONAL BINARY SEARCH TREES USED FOR ASSOCIATIVE SEARCHING [J].
BENTLEY, JL .
COMMUNICATIONS OF THE ACM, 1975, 18 (09) :509-517
[9]
Bernecker T, 2011, PROC INT CONF DATA, P339, DOI 10.1109/ICDE.2011.5767908
[10]
Beygelzimer A., 2006, ICML, DOI DOI 10.1145/1143844.1143857