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

简单多边形中的$L_1$最短路径搜索

$L_1$ Shortest Path Queries in Simple Polygons

Sang Won Bae, Haitao Wang

摘要:

设$P$是$n$顶点的简单多边形。我们考虑两点$L_1$最短路径查询在$P$。我们建立了一个$O(n)$时间内的$O(n)$大小的数据结构,使得给定任何两个查询点$s$和$t$,$P$中从$s$到$t$的$L_1$最短路径的长度可以在$O(\log n)$时间内计算,或者如果$s$和$t$都是$P$的顶点,则在$O(1)$时间内计算,为了实现这个结果,我们提出了一个简单多边形的山分解,它本身可能是有趣的。最重要的是,我们的方法比以前在这个问题上的工作要简单得多。

英文摘要:

Let $P$ be a simple polygon of $n$ vertices. We consider two-point $L_1$ shortest path queries in $P$. We build a data structure of $O(n)$ size in $O(n)$ time such that given any two query points $s$ and $t$, the length of an $L_1$ shortest path from $s$ to $t$ in $P$ can be computed in $O(\log n)$ time, or in $O(1)$ time if both $s$ and $t$ are vertices of $P$, and an actual shortest path can be output in additional linear time in the number of edges of the path. To achieve the result, we propose a mountain decomposition of simple polygons, which may be interesting in its own right. Most importantly, our approach is much simpler than the previous work on this problem.

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

↑