Loading...
Space/query-time tradeoff for computing the visibility polygon
Nouri Baygi, M ; Sharif University of Technology | 2013
340
Viewed
- Type of Document: Article
- DOI: 10.1016/j.comgeo.2012.10.004
- Publisher: 2013
- Abstract:
- In this paper, we consider the problem of computing the visibility polygon (VP) of a query point q (or VP(q)) in a scene consisting of some obstacles with total complexity of n. We show that the combinatorial representation of VP(q) can be computed in logarithmic time by preprocessing the scene in O( n4logn) time and using O( n4) space. We can also report the actual VP(q) in additional O(|VP(q)|) time. As a main result of this paper, we will prove that we can have a tradeoff between the query time and the preprocessing time/space. In other words, we will show that using O(m) space, we can obtain O( n2log(m/n)/m) query time, where m is a parameter satisfying n2≤m≤ n4. For example, when m= n3, the query time of our algorithm is O(nlogn), that improves the query time of the only available algorithm with this memory usage (Zarei and Ghodsi, 2008 [26]), which degrades to O(nlogn) in the worst case. An elegant feature of our algorithm that makes it useful in many applications is that it can determine the properties of the VP without actually computing it
- Keywords:
- Logarithmic query time ; Visibility polygon ; Logarithmic time ; Memory usage ; Preprocessing time ; Query points ; Query time ; Space/query-time tradeoff ; Algorithms ; Geometry ; Visibility ; Commerce
- Source: Computational Geometry: Theory and Applications ; Volume 46, Issue 3 , April , 2013 , Pages 371-381 ; 09257721 (ISSN)
- URL: http://www.sciencedirect.com/science/article/pii/S0925772112001319