Weak visibility counting in simple polygons

被引:2
|
作者
Bygi, Mojtaba Nouri [1 ]
Daneshpajouh, Shervin [1 ]
Alipour, Sharareh [1 ]
Ghodsi, Mohammad [1 ,2 ]
机构
[1] Sharif Univ Technol, Dept Comp Engn, Tehran, Iran
[2] Inst Res Fundamental Sci IPM, Sch Comp Sci, Tehran, Iran
关键词
Computational geometry; Weak visibility; Visibility counting; QUERIES;
D O I
10.1016/j.cam.2015.04.018
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
For a simple polygon P of size n, we define weak visibility counting problem (WVCP) as finding the number of visible segments of P from a query line segment pq. We present different algorithms to compute WVCP in sub-linear time. In our first algorithm, we spend O(n(7)) time to preprocess the polygon and build a data structure of size O(n(6)), so that we can optimally answer WVCP in O(log n) time. Then, we reduce the preprocessing costs to O(n(4+epsilon)) time and space at the expense of more query time of O(log(5) n). We also obtain a trade-off between preprocessing and query time costs. Finally, we propose an approximation method to reduce the preprocessing costs to O(n(2)) time and space and O(n(1/2+epsilon)) query time. (C) 2015 Elsevier B.V. All rights reserved.
引用
收藏
页码:215 / 222
页数:8
相关论文
共 50 条