当前位置: X-MOL 学术Theory Comput. Syst. › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Computing the k -Visibility Region of a Point in a Polygon
Theory of Computing Systems ( IF 0.5 ) Pub Date : 2020-08-11 , DOI: 10.1007/s00224-020-09999-0
Yeganeh Bahoo , Prosenjit Bose , Stephane Durocher , Thomas C. Shermer

Two points p and q in a simple polygon P are k-visible when the line segment pq crosses the boundary of P at most k times. Given a query point q, a positive integer k, and a polygon P, we design an algorithm that computes the region of P that is k-visible from q in O(nk) time, where n denotes the number of vertices of P. This region is called the k-visibility region of q. This is the first algorithm parameterized in terms of k, resulting in an asymptotically faster worst-case running time compared to previous algorithms when k is \(o(\log {n})\), and bridging the gap between the O(n)-time algorithm for computing the 0-visibility region of q in P and the \(O(n\log n)\)-time algorithm for computing the k-visibility region of q in P for any k.

We also design a data structure of size O(n5) that supports visibility queries, returning the k-visible region of P for any arbitrary query point q in \(O(\log {n}+m)\) time, where m denotes the number of vertices on the boundary of the output visibility region.



中文翻译:

计算多边形中点的k可见性区域

当线段pq最多跨越KP的边界时,简单多边形P中的两个点pqk可见的。给定查询点q,一个正整数ķ,和多边形P,我们设计一个计算的区域的算法Pķ从-可见光qÖÑ ķ)时间,其中Ñ表示的顶点的数量P。该区域称为kq的可见区域。这是第一个用k参数化的算法,当k\(o(\ log {n})\)时,与以前的算法相比,渐近地加快了最坏情况的运行时间,并弥合了On)-time算法用于计算的0-可见区域qP\(O(N \ log n)的\) -time算法用于计算ķ的-visibility区域qP为任何ķ

我们还设计了一个大小为On 5)的数据结构,该结构支持可见性查询,并在\(O(\ log {n} + m)\)时间内返回任意查询点qPk可见区域,其中m表示输出可见性区域边界上的顶点数。

更新日期:2020-08-11
down
wechat
bug