English

On the Approximate Nearest Neighbor Queries among Curves under the Fr\'echet Distance

Computational Geometry 2021-03-02 v2

Abstract

Approximate near-neighbors search (\textsc{ANNS}) is a long-studied problem in computational geometry. %that has received considerable attention by researchers in the community. In this paper, we revisit the problem and propose the first data structure for curves under the (continuous) Fr\'echet distance in Rd\Reals^d. Given a set \P of nn curves of size at most mm each in Rd\Reals^d, and a real fixed δ>0\delta>0, we aim to preprocess \P into a data structure so that for any given query curve QQ of size kk, we can efficiently report all curves in \P whose Fr\'echet distances to QQ are at most δ\delta. In the case that kk is given in the preprocessing stage, for any \eps>0\eps>0 we propose a deterministic data structure whose space is nO(max{(d\eps)kd,(\Dd\eps2)kd})n \cdot O\big(\max\big\{\big(\frac{\sqrt{d}}{\eps}\big)^{kd}, \big(\frac{\D\sqrt{d}}{\eps^2}\big)^{kd}\big\}\big) that can answer \textsc{(1+\eps)δ(1+\eps)\delta-ANNS} queries in O(kd)O(kd) query time, where \D\D is the diameter of \P. Considering kk as part of the query slightly changes the space to nO(1\eps)mdn \cdot O\big(\frac{1}{\eps}\big)^{md} with O(kd)O(kd) query time within an approximation factor of 5+\eps5+\eps. We show that our generic data structure for ANNS can give an alternative treatment of the approximate subtrajectory range searching problem studied by de Berg et al. [8]. We also revisit the time-window data structure for spatial density maps in [6]. Given θ>0\theta>0, and nn time-stamped points spread over mm regions in a map, for any query window WW, we propose a data structure of size O(n/\eps2)O(n/\eps^2) and construction time O((n+m)/\eps2)O((n+m)/\eps^2) that can approximately return the regions containing at least θ\theta points whose times are within WW in O(1)O(1) query time.

Keywords

Cite

@article{arxiv.2004.08444,
  title  = {On the Approximate Nearest Neighbor Queries among Curves under the Fr\'echet Distance},
  author = {Majid Mirzanezhad},
  journal= {arXiv preprint arXiv:2004.08444},
  year   = {2021}
}

Comments

22 pages, 2 figure