Quickest Visibility Queries in Polygonal Domains

Abstract

Let s be a point in a polygonal domain P of h-1 holes and n vertices. We consider a 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) n) that can answer each query in O(K2 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 h + h2) that can answer each query in O(h h n) 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 a 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) n) that can answer each query in O(2 n) time, and another data structure of size O(n3 n) with O( n) query time. We present a data structure of size O(n) with query time O(h nh), which also favors small values of h and is optimal when h=O(1).

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…