All-nearest-neighbors finding based on the Hilbert curve

被引:22
|
作者
Chen, Hue-Ling [1 ]
Chang, Ye-In [1 ]
机构
[1] Natl Sun Yat Sen Univ, Dept Comp Sci & Engn, Kaohsiung 80424, Taiwan
关键词
Hilbert curve; Nearest neighbor queries; R-tree; Space filling curves; Spatial index; SPACE-FILLING CURVES; ALGORITHMS; IMAGE;
D O I
10.1016/j.eswa.2010.12.077
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
An all-nearest-neighbors (ANN) query retrieves all nearest neighbors to all query objects. We may perform large number of one-nearest-neighbor queries to answer such an ANN query. Due to no total ordering of spatial proximity among spatial objects, the Hilbert curve approach has proposed to preserve the spatial locality. Chen and Chang have proposed a neighbor finding strategy (denoted as the CCSF strategy) based on the Hilbert curve to compute the absolute location of the neighboring blocks. However, it costs much time during the transformation between the Hilbert curve and the Peano curve. On the other hand, in the strategy based on R or R*-trees for an ANN query, large number of unnecessary distance comparisons have to be done due to the problem of overlaps within the R-tree, resulting in many redundant disk accesses. Therefore, in this paper, we first propose the one-nearest-neighbor finding strategy directly based on the Hilbert curve (denoted as the ONHC strategy) for a one-nearest-neighbor query. By relations among orientations, orders, and quaternary numbers, we compute the relative locations of the query block and the neighboring block in the Hilbert curve. Then, the nearest neighbor of one query point can be found directly from these neighboring blocks. Next, by using our ONHC strategy, we propose the all-nearest-neighbors finding strategy based on the Hilbert curve (denoted as the ANHC strategy) for an ANN query. Finally, from the simulation result, we show that our ONHC strategy needs less response time (the CPU-time and the I/O time) than the CCSF strategy for the one-nearest-neighbor query. We also show that our ANHC strategy needs less response time than the strategy based on R*-trees for an ANN query. (C) 2010 Elsevier Ltd. All rights reserved.
引用
收藏
页码:7462 / 7475
页数:14
相关论文
共 50 条
  • [31] What Is a Good Nearest Neighbors Algorithm for Finding Similar Patches in Images?
    Kumar, Neeraj
    Zhang, Li
    Nayar, Shree
    COMPUTER VISION - ECCV 2008, PT II, PROCEEDINGS, 2008, 5303 : 364 - +
  • [32] SIMPLE ALGORITHMS FOR ENUMERATING INTERPOINT DISTANCES AND FINDING k NEAREST NEIGHBORS
    Dickerson, Matthew T.
    Drysdale, R. L. Scot
    Sack, Joerg-Ruediger
    INTERNATIONAL JOURNAL OF COMPUTATIONAL GEOMETRY & APPLICATIONS, 1992, 2 (03) : 221 - 239
  • [33] Locality-Sensitive Hashing for Finding Nearest Neighbors in Probability Distributions
    Tang, Yi-Kun
    Mao, Xian-Ling
    Hao, Yi-Jing
    Xu, Cheng
    Huang, Heyan
    SOCIAL MEDIA PROCESSING, SMP 2017, 2017, 774 : 3 - 15
  • [34] Finding the Nearest Neighbors in Biological Databases Using Less Distance Computations
    Zhou, Jianjun
    Sander, Joerg
    Cai, Zhipeng
    Wang, Lusheng
    Lin, Guohui
    IEEE-ACM TRANSACTIONS ON COMPUTATIONAL BIOLOGY AND BIOINFORMATICS, 2010, 7 (04) : 669 - 680
  • [35] Algorithm for finding k-nearest neighbors based on spatial sub-cubes and dynamic sphere
    Ma, Juan
    Fang, Yuanmin
    Zhao, Wenliang
    Feng, Yujin
    Wuhan Daxue Xuebao (Xinxi Kexue Ban)/Geomatics and Information Science of Wuhan University, 2011, 36 (03): : 358 - 362
  • [36] Clustering method based on nearest neighbors representation
    State Key Laboratory for Novel Software Technology , Nanjing
    210023, China
    Ruan Jian Xue Bao, 11 (2847-2855):
  • [37] A hybrid classifier based on boxes and nearest neighbors
    Anthony, Martin
    Ratsaby, Joel
    DISCRETE APPLIED MATHEMATICS, 2014, 172 : 1 - 11
  • [38] Nearest neighbors and continous nearest neighbor queries based on voronoi diagrams
    Wang M.
    Hao Z.
    Information Technology Journal, 2010, 9 (07) : 1467 - 1475
  • [39] A clustering algorithm based absorbing nearest neighbors
    Hu, JJ
    Tang, CJ
    Peng, J
    Li, C
    Yuan, CA
    Chen, AL
    ADVANCES IN WEB-AGE INFORMATION MANAGEMENT, PROCEEDINGS, 2005, 3739 : 700 - 705
  • [40] On efficiently finding reverse k-nearest neighbors over uncertain graphs
    Yunjun Gao
    Xiaoye Miao
    Gang Chen
    Baihua Zheng
    Deng Cai
    Huiyong Cui
    The VLDB Journal, 2017, 26 : 467 - 492