Loading...

Randomized approximation algorithms for planar visibility counting problem

Alipour, S ; Sharif University of Technology | 2018

504 Viewed
  1. Type of Document: Article
  2. DOI: 10.1016/j.tcs.2017.10.009
  3. Publisher: Elsevier B.V , 2018
  4. Abstract:
  5. 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 be solved trivially in O(log⁡n) query time using O(n4log⁡n) preprocessing time and O(n4) space. Gudmundsson and Morin (2010) [10] proposed a 2-approximation algorithm for this problem with a tradeoff between the space and the query time. For any constant 0≤α≤1, their algorithm answers any query in Oϵ(m(1−α)/2) time with Oϵ(m1+α) of preprocessing time and space, where ϵ>0 is a constant that can be made arbitrarily small and Oϵ(f(n))=O(f(n)nϵ) and m=O(n2) is a number that depends on the configuration of the segments. In this paper, we propose two randomized approximation algorithms for VCP. The first algorithm depends on two constants 0≤β≤[Formula presented] and 0<δ≤1, and the expected preprocessing time, the expected space, and the expected query time are O(m2−3β/2log⁡m), O(m2−3β/2), and O([Formula presented]mβ/2log⁡m), respectively. The algorithm, in the preprocessing phase, selects a sequence of random samples, whose size and number depend on the tradeoff parameters. When a query point p is given by an adversary unaware of the random sample of our algorithm, it computes the number of visible segments from p, denoted by mp, exactly, if mp≤[Formula presented]mβ/2log⁡(2m). Otherwise, it computes an approximated value, mp ′, such that with the probability of at least 1−[Formula presented], we have (1−δ)mp≤mp ′≤(2+2δ)mp. The preprocessing time and space of the second algorithm are O(n2log⁡n) and O(n2), respectively. This algorithm computes the exact value of mp if mp≤[Formula presented]nlog⁡n, otherwise it returns an approximated value mp ″ in expected O([Formula presented]nlog⁡n) time, such that with the probability at least 1−[Formula presented], we have (1−3δ)mp≤mp ″≤(1.5+3δ)mp. © 2017 Elsevier B.V
  6. Keywords:
  7. Approximation algorithm ; Randomized algorithm ; Computation theory ; Computational geometry ; Graph theory ; Visibility ; Counting problems ; Line segment ; Preprocessing phase ; Preprocessing time ; Random sample ; Randomized Algorithms ; Randomized approximation ; Tradeoff parameters ; Approximation algorithms
  8. Source: Theoretical Computer Science ; Volume 707 , 2018 , Pages 46-55 ; 03043975 (ISSN)
  9. URL: https://www.sciencedirect.com/science/article/pii/S0304397517307375