English

An improved Constant-Factor Approximation Algorithm for Planar Visibility Counting Problem

Computational Geometry 2016-05-12 v1

Abstract

Given a set SS of nn disjoint line segments in R2\mathbb{R}^{2}, the visibility counting problem (VCP) is to preprocess SS such that the number of segments in SS visible from any query point pp can be computed quickly. This problem can trivially be solved in logarithmic query time using O(n4)O(n^{4}) preprocessing time and space. Gudmundsson and Morin proposed a 2-approximation algorithm for this problem with a tradeoff between the space and the query time. They answer any query in Oϵ(n1α)O_{\epsilon}(n^{1-\alpha}) with Oϵ(n2+2α)O_{\epsilon}(n^{2+2\alpha}) of preprocessing time and space, where α\alpha is a constant 0α10\leq \alpha\leq 1, ϵ>0\epsilon > 0 is another constant that can be made arbitrarily small, and Oϵ(f(n))=O(f(n)nϵ)O_{\epsilon}(f(n))=O(f(n)n^{\epsilon}). In this paper, we propose a randomized approximation algorithm for VCP with a tradeoff between the space and the query time. We will show that for an arbitrary constants 0β230\leq \beta\leq \frac{2}{3} and 0<δ<10<\delta <1, the expected preprocessing time, the expected space, and the query time of our algorithm are O(n43βlogn)O(n^{4-3\beta}\log n), O(n43β)O(n^{4-3\beta}), and O(1δ3nβlogn)O(\frac{1}{\delta^3}n^{\beta}\log n), respectively. The algorithm computes the number of visible segments from pp, or mpm_p, exactly if mp1δ3nβlognm_p\leq \frac{1}{\delta^3}n^{\beta}\log n. Otherwise, it computes a (1+δ)(1+\delta)-approximation mpm'_p with the probability of at least 11logn1-\frac{1}{\log n}, where mpmp(1+δ)mpm_p\leq m'_p\leq (1+\delta)m_p.

Keywords

Cite

@article{arxiv.1605.03542,
  title  = {An improved Constant-Factor Approximation Algorithm for Planar Visibility Counting Problem},
  author = {Sharareh Alipour and Mohammad Ghodsi and Amir Jafari},
  journal= {arXiv preprint arXiv:1605.03542},
  year   = {2016}
}