An Improved Constant-Factor Approximation Algorithm for Planar Visibility Counting Problem
نویسندگان
چکیده
Given a set S of n disjoint line segments in R, the visibility counting problem (VCP) is to preprocess S such that the number of segments in S visible from any query point p can be computed quickly. This problem can trivially be solved in logarithmic query time using O(n) 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ǫ(n ) with Oǫ(n ) of preprocessing time and space, where α is a constant 0 ≤ α ≤ 1, ǫ > 0 is another constant that can be made arbitrarily small, and Oǫ(f(n)) = O(f(n)n ). 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 ≤ β ≤ 2 3 and 0 < δ < 1, the expected preprocessing time, the expected space, and the query time of our algorithm are O(n logn), O(n), and O( 1 δ n logn), respectively. The algorithm computes the number of visible segments from p, or mp, exactly if mp ≤ 1 δ n logn. Otherwise, it computes a (1 + δ)-approximation m′p with the probability of at least 1− 1 logn , where mp ≤ m ′ p ≤ (1 + δ)mp.
منابع مشابه
Approximate Counting via Correlation Decay on Planar Graphs
We show for a broad class of counting problems, correlation decay (strong spatial mixing) implies FPTAS on planar graphs. The framework for the counting problems considered by us is the Holant problems with arbitrary constant-size domain and symmetric constraint functions. We define a notion of regularity on the constraint functions, which covers a wide range of natural and important counting p...
متن کاملVisibility Testing and Counting
For a set of n disjoint line segments S in R, the visibility testing problem (VTP) is to test whether the query point p sees a query segment s ∈ S. For this configuration, the visibility counting problem (VCP) is to preprocess S such that the number of visible segments in S from any query point p can be computed quickly. In this paper, we solve VTP in expected logarithmic query time using quadr...
متن کاملApproximation and randomized method for Visibility Counting Problem
For a set of n disjoint line segments S in R, the visibility counting problem (VCP) is to preprocess S such that the number of visible segments in S from a query point p can be computed quickly. This problem can be solved in logarithmic query time using O(n) preprocessing time and space. In this paper, we propose a randomized approximation algorithm for this problem. The space of our algorithm ...
متن کاملA Tighter Insertion-Based Approximation of the Crossing Number
Let G be a planar graph and F a set of additional edges not yet in G. The multiple edge insertion problem (MEI) asks for a drawing of G+F with the minimum number of pairwise edge crossings, such that the subdrawing of G is plane. As an exact solution to MEI is NP-hard for general F , we present the first approximation algorithm for MEI which achieves an additive approximation factor (depending ...
متن کاملApproximability of guarding weak visibility polygons
The art gallery problem enquires about the least number of guards that are sufficient to ensure that an art gallery, represented by a polygon P , is fully guarded. In 1998, the problems of finding the minimum number of point guards, vertex guards, and edge guards required to guard P were shown to be APX-hard by Eidenbenz, Widmayer and Stamm. In 1987, Ghosh presented approximation algorithms for...
متن کامل