Loading...

Visibility testing and counting for uncertain segments

Abam, M. A ; Sharif University of Technology | 2019

522 Viewed
  1. Type of Document: Article
  2. DOI: 10.1016/j.tcs.2019.01.035
  3. Publisher: Elsevier B.V , 2019
  4. Abstract:
  5. We study two well-known planar visibility problems, namely visibility testing and visibility counting, in a model where there is uncertainty about the input data. The standard versions of these problems are defined as follows: we are given a set S of n segments in R 2 , and we would like to preprocess S so that we can quickly answer queries of the form: is the given query segment s∈S visible from the given query point q∈R 2 (for visibility testing) and how many segments in S are visible from the given query point q∈R 2 (for visibility counting). In our model of uncertainty, each segment may or may not exist, and if it does, it is located in one of finitely many possible locations, given by a discrete probability distribution. In this setting, the probabilistic visibility testing problem (PVTP, for short) is to compute the probability that a given segment s∈S is visible from a given query point q and the probabilistic visibility counting problem (PVCP, for short) is to compute the expected number of segments in S that are visible from a query point q. We first show that PVTP is #P-complete. In the special case where uncertainty is only about whether segments exist and not about their location, we show that PVTP is solvable in O(nlog⁡n) time. Our algorithm for PVTP combined with linearity of expectation gives an O(n 2 log⁡n) time algorithm for PVCP. Using the algorithm for PVTP, together with a few old tricks, we can show that one can preprocess S in O(n 5 log⁡n) time into a data structure of size O(n 4 ), so that each PVTP query for a fixed segment s can be answered in O(log⁡n) time. We also give a faster 2-approximation algorithm for this problem. At the end, we improve the approximation factor of the algorithm. © 2019 Elsevier B.V
  6. Keywords:
  7. Approximation algorithm ; Computational geometry ; Randomized algorithm ; Visibility ; Probability distributions ; Query processing ; Approximation factor ; Counting problems ; Discrete probability distribution ; Model of uncertainty ; Probabilistic segments ; Randomized Algorithms ; Standard versions ; Time algorithms ; Approximation algorithms
  8. Source: Theoretical Computer Science ; Volume 779 , 2019 , Pages 1-7 ; 03043975 (ISSN)
  9. URL: https://www.sciencedirect.com/science/article/pii/S0304397519300763