Quickest Visibility Queries in Polygonal Domains
نویسنده
چکیده
Let s be a point in a polygonal domain P of h−1 holes and n vertices. We consider the following quickest visibility query problem. Given a query point q in P, the goal is to find a shortest path in P to move from s to see q as quickly as possible. Previously, Arkin et al. (SoCG 2015) built a data structure of size O(n22α(n) logn) that can answer each query in O(K log2 n) time, where α(n) is the inverse Ackermann function and K is the size of the visibility polygon of q in P (and K can be Θ(n) in the worst case). In this paper, we present a new data structure of size O(n log h+h2) that can answer each query in O(h log h logn) time. Our result improves the previous work when h is relatively small. In particular, if h is a constant, then our result even matches the best result for the simple polygon case (i.e., h = 1), which is optimal. As a by-product, we also have a new algorithm for the following shortest-path-to-segment query problem. Given a query line segment τ in P, the query seeks a shortest path from s to all points of τ . Previously, Arkin et al. gave a data structure of size O(n22α(n) logn) that can answer each query in O(log2 n) time, and another data structure of size O(n3 logn) with O(logn) query time. We present a data structure of size O(n) with query time O(h log nh ), which favors small values of h and is optimal when h = O(1). 1998 ACM Subject Classification I.3.5 Computational Geometry and Object Modeling, F.2.2 Nonnumerical Algorithms and Problems
منابع مشابه
Visualizing Quickest Visibility Maps
Consider the following modification to the shortest path query problem in polygonal domains: instead of finding shortest path to a query point q, we find the shortest path to any point that sees q. We present an interactive visualization applet visualizing these quickest visibility paths. The applet also visualizes quickest visibility maps, that is the subdivision of the domain into cells by th...
متن کاملOpenGL-assisted Visibility Queries of Large Polygonal Models
We present an OpenGL-assisted visibility culling algorithm to improve the rendering performance of large polygonal models. Using a combination of OpenGL-assisted frustum culling, hierarchical model-space partitioning, and OpenGL based occlusion culling, we achieve a significant better performance on general polygonal models than previous approaches. In contrast to these approaches, we only expl...
متن کاملShortest Path to a Segment and Quickest Visibility Queries
We show how to preprocess a polygonal domain with a fixed starting point s in order to answer efficiently the following queries: Given a point q, how should one move from s in order to see q as soon as possible? This query resembles the well-known shortest-path-to-a-point query, except that the latter asks for the fastest way to reach q, instead of seeing it. Our solution methods include a data...
متن کاملWeak visibility queries of line segments in simple polygons and polygonal domains
In this paper we consider the problem of computing the weak visibility polygon of any query line segment pq (or WVP(pq)) inside a given polygon P . Our first non-trivial algorithm runs in simple polygons and needs O(n log n) time and O(n) space in the preprocessing phase to report WVP(pq) of any query line segment pq in time O(log n + |WVP(pq)|). We also give an algorithm to compute the weak vi...
متن کاملWeak Visibility of Two Objects in Planar Polygonal Scenes
Determining whether two segments s and t in a planar polygonal scene weakly see each other is a classical problem in computational geometry. In this problem we seek for a segment connecting two points of s and t without intersecting edges of the scene. In planar polygonal scenes, this problem is 3sum-hard and its time complexity is Ω(n) where n is the complexity of the scene. This problem can b...
متن کامل