Abstract
Let P be a simple polygon with n vertices, and let A be a set of m points or line segments inside P. We develop data structures that can efficiently count the objects from A that are visible to a query point or a query segment. Our main aim is to obtain fast, O(polylog nm), query times, while using as little space as possible.
In case the query is a single point, a simple visibility-polygon-based solution achieves O(log nm) query time using O(nm²) space. In case A also contains only points, we present a smaller, O(n + m^{2+ε} log n)-space, data structure based on a hierarchical decomposition of the polygon.
Building on these results, we tackle the case where the query is a line segment and A contains only points. The main complication here is that the segment may intersect multiple regions of the polygon decomposition, and that a point may see multiple such pieces. Despite these issues, we show how to achieve O(log n log nm) query time using only O(nm^{2+ε} + n²) space. Finally, we show that we can even handle the case where the objects in A are segments with the same bounds.
In case the query is a single point, a simple visibility-polygon-based solution achieves O(log nm) query time using O(nm²) space. In case A also contains only points, we present a smaller, O(n + m^{2+ε} log n)-space, data structure based on a hierarchical decomposition of the polygon.
Building on these results, we tackle the case where the query is a line segment and A contains only points. The main complication here is that the segment may intersect multiple regions of the polygon decomposition, and that a point may see multiple such pieces. Despite these issues, we show how to achieve O(log n log nm) query time using only O(nm^{2+ε} + n²) space. Finally, we show that we can even handle the case where the objects in A are segments with the same bounds.
| Originalsprog | Engelsk |
|---|---|
| Titel | ISAAC 2022 : 33rd International Symposium on Algorithms and Computation |
| Antal sider | 16 |
| Vol/bind | 248 |
| Forlag | Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik GmbH |
| Publikationsdato | 2022 |
| Udgave | 33 |
| Sider | 58:1-58:16 |
| ISBN (Trykt) | 978-3-95977-258-7 |
| DOI | |
| Status | Udgivet - 2022 |
| Begivenhed | Algorithms and Computation - Korea, Democratic People's Republic of, Seoul, Nordkorea Varighed: 19 dec. 2022 → 21 dec. 2022 Konferencens nummer: 33 https://drops.dagstuhl.de/entities/volume/LIPIcs-volume-248 |
Konference
| Konference | Algorithms and Computation |
|---|---|
| Nummer | 33 |
| Lokation | Korea, Democratic People's Republic of |
| Land/Område | Nordkorea |
| By | Seoul |
| Periode | 19/12/2022 → 21/12/2022 |
| Internetadresse |
| Navn | Leibniz International Proceedings in Informatics (LIPIcs) |
|---|---|
| Nummer | 33 |
| ISSN | 1868-8969 |