Optimal Window Queries on Line Segments using the Trapezoidal Search DAG
Milutin Brankovic, Martin P. Seybold

TL;DR
This paper introduces an efficient method for performing vertical and window segment queries on line segments using the Trapezoidal Search DAG, achieving optimal or improved expected query and construction times.
Contribution
It presents a simple DFS-based approach for trapezoid intersection queries with optimal expected time and improved construction time for certain graph classes.
Findings
Query time is O(k + log n) expected, matching the best known bounds.
Construction time for certain graphs is improved to O(n log* n).
The method extends to axis-aligned window queries with efficient expected performance.
Abstract
We propose a new query application for the well-known Trapezoidal Search DAG (TSD) of a set of ~line segments in the plane, where queries are allowed to be {\em vertical line segments}. We show that a simple Depth-First Search reports the trapezoids that are intersected by the query segment in expected time, regardless of the spatial location of the query. This bound is optimal and matches known data structures with size. In the important case of edges from a connected, planar graph, our simplistic approach yields an expected construction time, which improves on the construction time of known structures for vertical segment-queries. Also for connected input, a simple extension allows the TSD approach to directly answer axis-aligned window-queries in expected time, where is the result size.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsData Management and Algorithms · Computational Geometry and Mesh Generation · Remote Sensing and LiDAR Applications
