Computer Science ›› 2013, Vol. 40 ›› Issue (7): 201-205.

Previous Articles     Next Articles

CP_SDD+RDS:An Algorithm Based on Row-divided Sorting and Single-direction Detecting for Finding Closest Pair of Points

YAO Hua-chuan,WANG Li-zhen,CHEN Hong-mei and HU Xin   

  • Online:2018-11-16 Published:2018-11-16

Abstract: Finding out the closest pair of points has been widely applied in many areas,such as the geographic information query system and spatial databases etc.But so far,there is not an efficient algorithm for the problem.For example,the divide and conquer algorithm contains much comparison,slow convergence and much computing of the distance between two points.Grid-based methods used to solve the nearest neighbor problem can not determine the size of the grid reasonably,and they are inefficient.For this reason,a single-direction detecting algorithm (CP_SDD) was presented in the paper.Then a row-divided sorting algorithm was proposed.Finally,an algorithm based on row-divided sorting and single-direction detecting for finding the closest pair of points (CP_SDD+RDS) was formed.Compared with the divide and conquer algorithm,our algorithm not only efficiently overcomes these drawbacks that occur in the divide and conquer algorithm,the row-divided strategy of the RDS algorithm is also effective to solve these problems that occur in grid-based methods.A large number of experiments show that the CP_SDD+RDS algorithm is efficient and feasible.

Key words: Closest pair of points,Right-angled distance,Fuzzy distance,Point density,Point-intensive areas

[1] Shamos M I,Hoey D.Closest-point problems[C]∥ Proc.16th IEEE Annu.Symp.Found.Comput.Sci.Berkeley,US,1975:151-162
[2] Zhou Yu-lin,Xiong Peng-rong,Zhu Hong.An improved algo-rithm about the closest pair of points on plane set[J].Computer Reachearch and Development,1998,35(10):957-960
[3] Ge Qi,Wang Hai-tao,Zhu Hong.An Improved Algorithm for Finding the Closest Pair of Points[J].J.Comput.Sci.& Tech-nol.,2006,21(1):27-31
[4] Xiong X P,Mohamed F,et al.SEA-CNN:Scalable processing of continuous K-nearest neighbor queries in spatio-temporal databases[C]∥Proc of ICDE2005.Piscataway,NJ:IEEE,2005:643-654
[5] Yu X H,Pu K Q,et al.Monitoring K-nearest neighbor queries over moving objects[C]∥Proc of Data Engineering (ICDE2005).Piscataway,NJ:IEEE,2005:631-642
[6] Mouratidis K,Hadjieleftheriou M.Conceptual partitioning:Anefficient method for continuous nearest neighbor monitoring[C]∥Proc of ACM SIGMOD2005.New York:ACM,2005:634-645
[7] Zhang Xiao-feng,Wang Li-zhen,Xiao Qing,et al.ContinuousNearest Neighbor Query Based on Conceptual Partitioning[J].Journal of Computer Research and Development,2010,47(Suppl.):154-160
[8] Xu Hong-bo,Hao Zhong-xiao.Nearest-neighbor Query Algo-rithm Based on Grid Partition of Space-filling Curve[J].Computer Science,2010,37(1)
[9] 张丽平,李松.数据集中强邻近对的查询方法[J].计算机工程与设计,2008,9(16):4353-4355
[10] 张奋,潘梅生,邹北骥.基于SR-树的空间对象最近邻查询[J].计算机工程与应用,2007,3(4):173-175
[11] 李松,郝忠孝.移动对象的动态反向最近邻查询技术[J].计算机工程,2008,34(10):40-42
[12] Sack J R,Urrutia J.Closest-point problems in computational geometry[M].Handbook on Computational Geometry.Ottawa:Elesvier Science,2000:877-935
[13] Corral A,Manolopoulos Y,Theodoridis Y,et al.Algorithms for processing k-closest-pair queries in spatial databases[J].Data and Knowledge Engineering,2004,49(1):67-104
[14] Fabrizio A,Clara P.Approximate k-closest-pairs in large high dimensional data sets[J].Journal of Mathematical Modeling and Algorithms Springer Netherlands,2005,4(2):149-179

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!