A HASHING-ORIENTED NEAREST-NEIGHBOR SEARCHING SCHEME

被引:7
作者
CHANG, CC
WU, TC
机构
[1] NATL TAIWAN INST TECHNOL,DEPT INFORMAT MANAGEMENT,TAIPEI 107,TAIWAN
[2] NATL CHUNG CHENG UNIV,INST COMP SCI & INFORMAT ENGN,CHIAYI 601,TAIWAN
关键词
NEAREST NEIGHBOR SEARCHING; COMPUTATIONAL GEOMETRY; VORONOI DIAGRAM; HASHING;
D O I
10.1016/0167-8655(93)90047-H
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
This paper presents a hashing-oriented nearest neighbor searching scheme. Given n points in the Euclidean two-dimensional plane, we first construct a Voronoi diagram and record the Voronoi vertices and the Voronoi edges. By passing each Voronoi vertex, we use two perpendicular lines, one is horizontal and the other is vertical, to partition the plane into some rectangular subdivisions. Here, each rectangular subdivision dominates at most two given points. Then we establish two hashing functions corresponding to horizontal slabs and vertical slabs, respectively. By applying the established hashing functions, we can quickly determine the proper rectangular subdivision containing the query point. After that, we compare the distances between the query point and the dominated points to determine the nearest neighbor. The searching time by our scheme is O(1). The preprocessing time and the amount of required storage are O(n2 + t), respectively, where n is the number of given points and t is the size of the hashing table needed by the established hashing functions.
引用
收藏
页码:625 / 630
页数:6
相关论文
共 8 条
[1]  
Aho Alfred V., 1974, DESIGN ANAL COMPUTER
[2]  
CHANG CC, 1985, 1985 P NAT COMP S TA, P625
[3]  
LEE DT, 1982, IEEE T COMPUT, V31, P478, DOI 10.1109/TC.1982.1676031
[4]  
LEE DT, 1984, IEEE T COMPUT, V33, P1072, DOI 10.1109/TC.1984.1676388
[5]  
Preparata Franco P, 2012, COMPUTATIONAL GEOMET
[6]  
Shamos M.I., 1975, 16 ANN S FDN COMPUTE, P151
[7]  
Shamos MI, 1978, THESIS YALE U NEW HA
[8]  
SHEN CW, 1978, 1978 P INT COMP SOFT, P470