Boris Aronov, Tsuri Farhana, Matthew J. Katz, Indu Ramesh
{"title":"Discrete Fréchet Distance Oracles","authors":"Boris Aronov, Tsuri Farhana, Matthew J. Katz, Indu Ramesh","doi":"arxiv-2404.04065","DOIUrl":null,"url":null,"abstract":"It is unlikely that the discrete Fr\\'echet distance between two curves of\nlength $n$ can be computed in strictly subquadratic time. We thus consider the\nsetting where one of the curves, $P$, is known in advance. In particular, we\nwish to construct data structures (distance oracles) of near-linear size that\nsupport efficient distance queries with respect to $P$ in sublinear time. Since\nthere is evidence that this is impossible for query curves of length\n$\\Theta(n^\\alpha)$, for any $\\alpha > 0$, we focus on query curves of (small)\nconstant length, for which we are able to devise distance oracles with the\ndesired bounds. We extend our tools to handle subcurves of the given curve, and even\narbitrary vertex-to-vertex subcurves of a given geometric tree. That is, we\nconstruct an oracle that can quickly compute the distance between a short\npolygonal path (the query) and a path in the preprocessed tree between two\nquery-specified vertices. Moreover, we define a new family of geometric graphs,\n$t$-local graphs (which strictly contains the family of geometric spanners with\nconstant stretch), for which a similar oracle exists: we can preprocess a graph\n$G$ in the family, so that, given a query segment and a pair $u,v$ of vertices\nin $G$, one can quickly compute the smallest discrete Fr\\'echet distance\nbetween the segment and any $(u,v)$-path in $G$. The answer is exact, if $t=1$,\nand approximate if $t>1$.","PeriodicalId":501570,"journal":{"name":"arXiv - CS - Computational Geometry","volume":"15 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-04-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Computational Geometry","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2404.04065","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
It is unlikely that the discrete Fr\'echet distance between two curves of
length $n$ can be computed in strictly subquadratic time. We thus consider the
setting where one of the curves, $P$, 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 $P$ in sublinear time. Since
there is evidence that this is impossible for query curves of length
$\Theta(n^\alpha)$, for any $\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,
$t$-local graphs (which strictly contains the family of geometric spanners with
constant stretch), for which a similar oracle exists: we can preprocess a graph
$G$ in the family, so that, given a query segment and a pair $u,v$ of vertices
in $G$, one can quickly compute the smallest discrete Fr\'echet distance
between the segment and any $(u,v)$-path in $G$. The answer is exact, if $t=1$,
and approximate if $t>1$.