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

Abstract

Given a set S of n disjoint line segments in R2, 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(n4) 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-α) with Oε(n2+2α) 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≤ β≤ 23 and 0<δ <1, the expected preprocessing time, the expected space, and the query time of our algorithm are O(n4-3β n), O(n4-3β), and O(1δ3nβ n), respectively. The algorithm computes the number of visible segments from p, or mp, exactly if mp≤ 1δ3nβ n. Otherwise, it computes a (1+δ)-approximation m'p with the probability of at least 1-1 n, where mp≤ m'p≤ (1+δ)mp.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…