English

Sublinear data structures for short Fr\'echet queries

Computational Geometry 2019-07-15 v2

Abstract

We study metric data structures for curves in doubling spaces, such as trajectories of moving objects in Euclidean Rd\mathbb{R}^d, where the distance between two curves is measured using the discrete Fr\'echet distance. We design data structures in an \emph{asymmetric} setting where the input is a curve (or a set of nn curves) each of complexity mm and the queries are with curves of complexity kmk\ll m. We show that there exist approximate data structures that are independent of the input size N=dnmN = d \cdot n \cdot m and we study how to maintain them dynamically if the input is given in the stream. Concretely, we study two types of data structures: (i) distance oracles, where the task is to store a compressed version of the input curve, which can be used to answer queries for the distance of a query curve to the input curve, and (ii) nearest-neighbor data structures, where the task is to preprocess a set of input curves to answer queries for the input curve closest to the query curve. In both cases we are interested in approximation. For curves embedded in Euclidean Rd\mathbb{R}^d with constant dd, our distance oracle uses space in O((klog(ϵ1)ϵd)k)\mathcal{O}((k \log(\epsilon^{-1}) \epsilon^{-d})^k) (ϵ\epsilon is the precision parameter). The oracle performs (1+ϵ)(1+\epsilon)-approximate queries in time in O(k2)\mathcal{O}(k^2) and is deterministic. We show how to maintain this distance oracle in the stream using polylogarithmic additional memory. In the stream, we can dynamically answer distance queries to the portion of the stream seen so far in O(k4log2m)\mathcal{O}(k^4 \log^2 m) time. We apply our techniques to the second problem, approximate near neighbor (ANN) data structures, and achieve an exponential improvement in the dependency on the complexity of the input curves compared to the state of the art.

Keywords

Cite

@article{arxiv.1907.04420,
  title  = {Sublinear data structures for short Fr\'echet queries},
  author = {Anne Driemel and Ioannis Psarros and Melanie Schmidt},
  journal= {arXiv preprint arXiv:1907.04420},
  year   = {2019}
}

Comments

40 pages, 2 figures

R2 v1 2026-06-23T10:16:51.530Z