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 条
  • [1] 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
  • [2] A SWEEP ALGORITHM FOR THE ALL-NEAREST-NEIGHBORS PROBLEM
    HINRICHS, K
    NIEVERGELT, J
    SCHORN, P
    LECTURE NOTES IN COMPUTER SCIENCE, 1988, 333 : 43 - 54
  • [3] SYSTOLIC ARRAY FOR ALL-NEAREST-NEIGHBORS PROBLEM
    PETKOV, N
    ELECTRONICS LETTERS, 1987, 23 (24) : 1259 - 1260
  • [4] NEW SYSTOLIC ARRAY FOR ALL-NEAREST-NEIGHBORS PROBLEM
    LIN, YC
    ELECTRONICS LETTERS, 1992, 28 (11) : 1073 - 1074
  • [5] AN O(N LOG N) ALGORITHM FOR THE ALL-NEAREST-NEIGHBORS PROBLEM
    VAIDYA, PM
    DISCRETE & COMPUTATIONAL GEOMETRY, 1989, 4 (02) : 101 - 115
  • [6] A SWEEP ALGORITHM AND ITS IMPLEMENTATION - THE ALL-NEAREST-NEIGHBORS PROBLEM REVISITED
    HINRICHS, K
    NIEVERGELT, J
    SCHORN, P
    LECTURE NOTES IN COMPUTER SCIENCE, 1989, 344 : 442 - 457
  • [7] Algorithm for finding all k nearest neighbors
    Piegl, LA
    Tiller, W
    COMPUTER-AIDED DESIGN, 2002, 34 (02) : 167 - 172
  • [8] Finding All Nearest Neighbors with a Single Graph Traversal
    Xu, Yixin
    Qi, Jianzhong
    Borovica-Gajic, Renata
    Kulik, Lars
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, DASFAA 2018, PT I, 2018, 10827 : 221 - 238
  • [9] PROBABILISTIC ANALYSIS OF AN ALGORITHM FOR SOLVING THE K-DIMENSIONAL ALL-NEAREST-NEIGHBORS PROBLEM BY PROJECTION
    BARTLING, F
    HINRICHS, K
    BIT, 1991, 31 (04): : 558 - 565
  • [10] ALGORITHM FOR FINDING NEAREST NEIGHBORS
    DELANNOY, C
    RAIRO-INFORMATIQUE-COMPUTER SCIENCE, 1980, 14 (03): : 275 - 286