English

Discrete Fr\'echet Distance Oracles

Computational Geometry 2024-04-08 v1

Abstract

It is unlikely that the discrete Fr\'echet distance between two curves of length nn can be computed in strictly subquadratic time. We thus consider the setting where one of the curves, PP, is known in advance. In particular, we wish to construct data structures (distance oracles) of near-linear size that support efficient distance queries with respect to PP in sublinear time. Since there is evidence that this is impossible for query curves of length Θ(nα)\Theta(n^\alpha), for any α>0\alpha > 0, we focus on query curves of (small) constant length, for which we are able to devise distance oracles with the desired bounds. We extend our tools to handle subcurves of the given curve, and even arbitrary vertex-to-vertex subcurves of a given geometric tree. That is, we construct an oracle that can quickly compute the distance between a short polygonal path (the query) and a path in the preprocessed tree between two query-specified vertices. Moreover, we define a new family of geometric graphs, tt-local graphs (which strictly contains the family of geometric spanners with constant stretch), for which a similar oracle exists: we can preprocess a graph GG in the family, so that, given a query segment and a pair u,vu,v of vertices in GG, one can quickly compute the smallest discrete Fr\'echet distance between the segment and any (u,v)(u,v)-path in GG. The answer is exact, if t=1t=1, and approximate if t>1t>1.

Keywords

Cite

@article{arxiv.2404.04065,
  title  = {Discrete Fr\'echet Distance Oracles},
  author = {Boris Aronov and Tsuri Farhana and Matthew J. Katz and Indu Ramesh},
  journal= {arXiv preprint arXiv:2404.04065},
  year   = {2024}
}
R2 v1 2026-06-28T15:45:05.821Z