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 条
  • [41] On efficiently finding reverse k-nearest neighbors over uncertain graphs
    Gao, Yunjun
    Miao, Xiaoye
    Chen, Gang
    Zheng, Baihua
    Cai, Deng
    Cui, Huiyong
    VLDB JOURNAL, 2017, 26 (04): : 467 - 492
  • [42] ANN-DPC: Density peak clustering by finding the adaptive nearest neighbors
    Yan, Huan
    Wang, Mingzhao
    Xie, Juanying
    KNOWLEDGE-BASED SYSTEMS, 2024, 294
  • [43] 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
  • [44] 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
  • [45] Kinetic and Dynamic Data Structures for Closest Pair and All Nearest Neighbors
    Agarwal, Pankaj K.
    Kaplan, Haim
    Sharir, Micha
    ACM TRANSACTIONS ON ALGORITHMS, 2008, 5 (01)
  • [46] ON COMPUTING ALL NORTHEAST NEAREST NEIGHBORS IN THE L1 METRIC
    GUIBAS, LJ
    STOLFI, J
    INFORMATION PROCESSING LETTERS, 1983, 17 (04) : 219 - 223
  • [47] 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
  • [48] OPTIMAL DOUBLY LOGARITHMIC PARALLEL ALGORITHMS BASED ON FINDING ALL NEAREST SMALLER VALUES
    BERKMAN, O
    SCHIEBER, B
    VISHKIN, U
    JOURNAL OF ALGORITHMS, 1993, 14 (03) : 344 - 370
  • [49] THE EFFICIENCY OF USING K-D TREES FOR FINDING NEAREST NEIGHBORS IN DISCRETE SPACE
    MURPHY, OJ
    SELKOW, SM
    INFORMATION PROCESSING LETTERS, 1986, 23 (04) : 215 - 218
  • [50] TOOLPATH BASED ON HILBERT CURVE
    GRIFFITHS, JG
    COMPUTER-AIDED DESIGN, 1994, 26 (11) : 839 - 844