English

Range Reporting for Time Series via Rectangle Stabbing

Computational Geometry 2024-01-09 v1

Abstract

We study the Fr\'echet queries problem. It is a data structure problem, where we are given a set SS of nn polygonal curves and a distance threshold ρ\rho. The data structure should support queries with a polygonal curve qq for the elements of SS, for which the continuous Fr\'echet distance to qq is at most ρ\rho. Afshani and Driemel in 2018 studied this problem for two-dimensional polygonal curves and gave upper and lower bounds on the space-query time tradeoff. We study the case that the ambient space of the curves is one-dimensional and show an intimate connection to the well-studied rectangle stabbing problem. Here, we are given a set of hyperrectangles as input and a query with a point qq should return all input rectangles that contain this point. Using known data structures for rectangle stabbing or orthogonal range searching this directly leads to a data structure with O(nlogt1n)\mathcal{O}(n \log ^{t-1} n) storage and O(logt1n+k)\mathcal{O}(\log^{t-1} n+k) query time, where kk denotes the output size and tt can be chosen as the maximum number of vertices of either (a) the stored curves or (b) the query curves. The resulting bounds improve upon the bounds by Afshani and Driemel in both the storage and query time. In addition, we show that known lower bounds for rectangle stabbing and orthogonal range reporting with dimension parameter d=t/2d= \lfloor t/2 \rfloor can be applied to our problem via reduction. .

Keywords

Cite

@article{arxiv.2401.03762,
  title  = {Range Reporting for Time Series via Rectangle Stabbing},
  author = {Lotte Blank and Anne Driemel},
  journal= {arXiv preprint arXiv:2401.03762},
  year   = {2024}
}
R2 v1 2026-06-28T14:11:00.429Z