arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0805.2681cs.CGcs.DS
收藏

平面上典型多边形的一种新方法

Canonical polygon Queries on the plane: a New Approach

Spyros Sioutas, Dimitrios Sofotassios, Kostas Tsichlas, Dimitrios Sotiropoulos, Panayiotis Vlamos

摘要:

点上的多边形检索问题是对平面上的一组$n$点进行预处理的问题,以便给定多边形查询,可以有效地报告位于其中的点的子集。它在计算机图形学、CAD应用、空间数据库和GIS开发任务等领域都有很大的兴趣。本文研究平面上的规范$k$ -顶点多边形查询问题。一个规范的$k$ -顶点多边形查询总是满足以下特定的属性:一个点检索查询可以转换成一个线性数量(相对于顶点的数量)的点检索正交对象,如矩形和三角形(在整个这项工作中,我们称三角形正交,如果它的两个边是轴平行的)。我们提出了两个新的算法,这个问题。第一个需要$O(n\log^2{n})$空间和$O(k\frac{log^3n}{loglogn}+A)$查询时间。第一种算法的一个简单的修改方案导致我们的第二种解决方案,它消耗$O(n^2)$空间和$O(k \frac{logn}{loglogn}+A)$查询时间,其中$A$表示答案的大小,$k$是顶点的数量。一般多边形检索问题的最佳先前解决方案使用$O(n^2)$空间,并在$O(k\log{n}+A)$时间内回答查询,其中$k$是顶点数。它也非常复杂,难以用标准命令式程序设计语言(如C或C++)实现。

英文摘要:

The polygon retrieval problem on points is the problem of preprocessing a set of $n$ points on the plane, so that given a polygon query, the subset of points lying inside it can be reported efficiently. It is of great interest in areas such as Computer Graphics, CAD applications, Spatial Databases and GIS developing tasks. In this paper we study the problem of canonical $k$-vertex polygon queries on the plane. A canonical $k$-vertex polygon query always meets the following specific property: a point retrieval query can be transformed into a linear number (with respect to the number of vertices) of point retrievals for orthogonal objects such as rectangles and triangles (throughout this work we call a triangle orthogonal iff two of its edges are axis-parallel). We present two new algorithms for this problem. The first one requires $O(n\log^2{n})$ space and $O(k\frac{log^3n}{loglogn}+A)$ query time. A simple modification scheme on first algorithm lead us to a second solution, which consumes $O(n^2)$ space and $O(k \frac{logn}{loglogn}+A)$ query time, where $A$ denotes the size of the answer and $k$ is the number of vertices. The best previous solution for the general polygon retrieval problem uses $O(n^2)$ space and answers a query in $O(k\log{n}+A)$ time, where $k$ is the number of vertices. It is also very complicated and difficult to be implemented in a standard imperative programming language such as C or C++.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑