| 摘要: |
| 本文讨论了动态矩形交查询算法.文中介绍了两个半动态矩形查询的新算法,它们分别基于一维数据结构和二维数据结构.一维查询算法的查询时间复杂度是O(logM+k′),更新时间复杂度是O(logMlogn),空间复杂度是O(nlogM/).二维查询算法的查询时间复杂度是O(log2M+k),更新时间复杂度是O(log2Mlogn),空间复杂度是O(nlog2M).本文分别实现了这两个算法,通过对它们的性能进行比较,发现一维查询算法是一种高效、实用的算法. |
| 关键词: 计算几何 短形交查询 动态查询 |
| DOI: |
| 分类号: |
| 基金项目:本文研究得到国家863高科技项目基金资助. |
|
| SEMI-DYNAMIC RECTANGLE INTERSECTION SEARCHING ALGORITHM |
|
GAO Jingbo,LI Xinyou,TANG Zesheng,ZHOU Xiaohui
|
| Abstract: |
| This paper introduces a solution to dynamic rectangle intersection searching problem.There are two semi-dynamic algorithms which are based on 1-dimensional data structure and 2-dimensional data structure respectively.The computational complexity Of 1-D searching algorithm is as follows:query time O(1ogM+k'),update time O(1ogMlogn),space O(nlogM).The computational complexity of 2-D searching algorithm is as follows:query time O(1og2M+k),update time O(1og2Mlogn),space O(nlog2M).The two algorithms are implemented respectively.With an experimental comparison,the authors found that 1-D searching algorithm is far better than 2-D searching algorithm. |
| Key words: Computational geometry rectangle intersection searching dynamic searching |