简单多边形的内存约束算法
Memory-Constrained Algorithms for Simple Polygons
摘要:
恒定工作空间算法对输入数组具有只读访问权限,并且只能使用O(1)个$O(\log n)$位的附加字,其中$n$是输入的大小。我们假设一个简单的$n$ -边形由它的顶点的有序序列给出。我们证明了我们可以在$O(n^2)$时间内找到平面直线图的三角剖分。我们还考虑预处理一个简单的多边形的最短路径查询时,空间约束放松,允许$s$字的工作空间。经过$O(n^2)$时间的预处理,我们能够在$O(n^2/s)$时间内解决多边形内任意两点之间的最短路径查询。
英文摘要:
A constant-workspace algorithm has read-only access to an input array and may use only O(1) additional words of $O(\log n)$ bits, where $n$ is the size of the input. We assume that a simple $n$-gon is given by the ordered sequence of its vertices. We show that we can find a triangulation of a plane straight-line graph in $O(n^2)$ time. We also consider preprocessing a simple polygon for shortest path queries when the space constraint is relaxed to allow $s$ words of working space. After a preprocessing of $O(n^2)$ time, we are able to solve shortest path queries between any two points inside the polygon in $O(n^2/s)$ time.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。