Near-Linear Algorithms for Visibility Graphs over a 1.5-Dimensional Terrain

Matthew J. Katz*, Rachel Saban*, Micha Sharir*

*Corresponding author for this work

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

Abstract

We present several near-linear algorithms for problems involving visibility over a 1.5-dimensional terrain. Concretely, we have a 1.5-dimensional terrain T, i.e., a bounded x-monotone polygonal path in the plane, with n vertices, and a set P of m points that lie on or above T. The visibility graph V G(P, T) is the graph with P as its vertex set and {(p, q) | p and q are visible to each other} as its edge set. We present algorithms that perform BFS and DFS on V G(P, T), which run in O(n log n + m log3(m + n)) time. We also consider three optimization problems, in which P is a set of points on T, and we erect a vertical tower of height h at each p ∈ P. In the first problem, called the reverse shortest path problem, we are given two points s, t ∈ P, and an integer k, and wish to find the smallest height h for which V G(P(h), T) contains a path from s to t of at most k edges, where P(h) is the set of the tips of the towers of height h erected at the points of P. In the second problem we wish to find the smallest height h for which V G(P(h), T) contains a cycle, and in the third problem we wish to find the smallest height h for which V G(P(h), T) is nonempty; we refer to that problem as “Seeing the most without being seen”. We present algorithms for the first two problems that run in O((m + n)6/5) time, where the O(·) notation hides subpolynomial factors. The third problem can be solved by a faster algorithm, which runs in O((n + m) log3(m + n)) time.

Original languageEnglish
Title of host publication32nd Annual European Symposium on Algorithms, ESA 2024
EditorsTimothy Chan, Johannes Fischer, John Iacono, Grzegorz Herman
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
ISBN (Electronic)9783959773386
DOIs
StatePublished - Sep 2024
Event32nd Annual European Symposium on Algorithms, ESA 2024 - London, United Kingdom
Duration: 2 Sep 20244 Sep 2024

Publication series

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

Conference

Conference32nd Annual European Symposium on Algorithms, ESA 2024
Country/TerritoryUnited Kingdom
CityLondon
Period2/09/244/09/24

Keywords

  • 1.5-dimensional terrain
  • parametric search
  • range searching
  • reverse shortest path
  • shrink-and-bifurcate
  • visibility
  • visibility graph

Fingerprint

Dive into the research topics of 'Near-Linear Algorithms for Visibility Graphs over a 1.5-Dimensional Terrain'. Together they form a unique fingerprint.

Cite this