一般二维的细分点定位的改进实现
Improved Implementation of Point Location in General Two-Dimensional Subdivisions
摘要:
我们提出了一个重大的改造点位置的数据结构,一般二维的【形】细分通过随机增量建设,实施CGAL,计算几何算法库。我们现在可以保证构造的有向无环图G是线性大小的,并提供对数查询时间。通过构造一个给定的点集S的大小为n的沃罗诺伊图,这也使最近邻查询在保证O(log n)的时间。另一个主要的创新是支持一般的无界细分,以及细分的二维的【形】参数曲面,如球体,环面,圆柱体。实现是精确的、完整的和通用的,即,它还可以处理非线性细分。与前一版本一样,数据结构支持在初始预处理后修改细分,例如插入和删除边。一个主要的挑战是保持预期的O(n log n)预处理时间,同时提供上述(确定性)空间和查询时间保证。我们描述了一个有效的预处理算法,它明确验证的最长查询路径的长度L在O(n log n)的时间。然而,我们的实现不是使用L,而是基于G的深度D。虽然我们证明了D和L的最坏情况下的比率是Theta(n/log n),我们推测,根据我们的实验结果,这种解决方案实现了预期的O(n log n)预处理时间。
英文摘要:
We present a major revamp of the point-location data structure for general two-dimensional subdivisions via randomized incremental construction, implemented in CGAL, the Computational Geometry Algorithms Library. We can now guarantee that the constructed directed acyclic graph G is of linear size and provides logarithmic query time. Via the construction of the Voronoi diagram for a given point set S of size n, this also enables nearest-neighbor queries in guaranteed O(log n) time. Another major innovation is the support of general unbounded subdivisions as well as subdivisions of two-dimensional parametric surfaces such as spheres, tori, cylinders. The implementation is exact, complete, and general, i.e., it can also handle non-linear subdivisions. Like the previous version, the data structure supports modifications of the subdivision, such as insertions and deletions of edges, after the initial preprocessing. A major challenge is to retain the expected O(n log n) preprocessing time while providing the above (deterministic) space and query-time guarantees. We describe an efficient preprocessing algorithm, which explicitly verifies the length L of the longest query path in O(n log n) time. However, instead of using L, our implementation is based on the depth D of G. Although we prove that the worst case ratio of D and L is Theta(n/log n), we conjecture, based on our experimental results, that this solution achieves expected O(n log n) preprocessing time.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。