Trajectory Visibility

Patrick Eades, I.D. van der Hoog, M. Löffler, F. Staals

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

Abstract

We study the problem of testing whether there exists a time at which two entities moving along different piece-wise linear trajectories among polygonal obstacles are mutually visible. We study several variants, depending on whether or not the obstacles form a simple polygon, trajectories may intersect the polygon edges, and both or only one of the entities are moving. For constant complexity trajectories contained in a simple polygon with n vertices, we provide an 𝒪(n) time algorithm to test if there is a time at which the entities can see each other. If the polygon contains holes, we present an 𝒪(n log n) algorithm. We show that this is tight. We then consider storing the obstacles in a data structure, such that queries consisting of two line segments can be efficiently answered. We show that for all variants it is possible to answer queries in sublinear time using polynomial space and preprocessing time. As a critical intermediate step, we provide an efficient solution to a problem of independent interest: preprocess a convex polygon such that we can efficiently test intersection with a quadratic curve segment. If the obstacles form a simple polygon, this allows us to answer visibility queries in 𝒪(n³/4log³ n) time using 𝒪(nlog⁵ n) space. For more general obstacles the query time is 𝒪(log^k n), for a constant but large value k, using 𝒪(n^{3k}) space. We provide more efficient solutions when one of the entities remains stationary.
Original languageEnglish
Title of host publication17th Scandinavian Symposium and Workshops on Algorithm Theory (SWAT 2020)
PublisherSchloss Dagstuhl - Leibniz-Zentrum fuer Informatik
ISBN (Print)978-3-95977-150-4
DOIs
Publication statusPublished - 2020

Publication series

NameLeibniz International Proceedings in Informatics (LIPIcs)
Volume162
ISSN (Print)1868-8969

Keywords

  • trajectories
  • visibility
  • data structures
  • semi-algebraic range searching

Fingerprint

Dive into the research topics of 'Trajectory Visibility'. Together they form a unique fingerprint.

Cite this