• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2012, Vol. 34 ›› Issue (9): 104-108.

• 论文 • 上一篇    下一篇

一个多维数据搜索算法

钟声,钟小双,虞衍聪   

  1. (海南大学信息科学技术学院,海南 海口 570228)
  • 收稿日期:2012-04-15 修回日期:2012-06-25 出版日期:2012-09-25 发布日期:2012-09-25
  • 基金资助:

    海南省自然科学基金资助项目(611121)

A Search Algorithm for Multidimensional Data

ZHONG Sheng,ZHONG Xiaoshuang,YU Yancong   

  1. (College of Information Science and Technology,Hainan University,Haikou 570228,China)
  • Received:2012-04-15 Revised:2012-06-25 Online:2012-09-25 Published:2012-09-25

摘要:

本文提出了一种使用二叉树组织多维数据的数据结构,在这种结构下提出了一个区域搜索算法,确定空间中给定点的区域内所有在给定数据集中的点,搜索效率与维数无关,算法的平均时间复杂性为O(logn),为了保证算法的效率,提出了一种平衡树操作算法。

关键词: 搜索树, 空间数据, 区域搜索

Abstract:

This paper proposes a data structure that uses the binary tree to organize multidimensional data.Based on the proposed data structure,an area search algorithm is proposed in order to find out all points in the given data set in the domain of given points.The search efficiency of the algorithm is not related with the space dimension.The average time complexity of the algorithm is O(logn).To guarantee the algorithm efficiency,the paper also proposes a balanced tree adjustment algorithm.

Key words: search tree;spatial data;area search