English

The Discrete and Semi-continuous Fr\'echet Distance with Shortcuts via Approximate Distance Counting and Selection Techniques

Computational Geometry 2016-09-09 v3

Abstract

The \emph{Fr\'echet distance} is a well studied similarity measures between curves. The \emph{discrete Fr\'echet distance} is an analogous similarity measure, defined for a sequence AA of mm points and a sequence BB of nn points, where the points are usually sampled from input curves. In this paper we consider a variant, called the \emph{discrete Fr\'echet distance with shortcuts}, which captures the similarity between (sampled) curves in the presence of outliers. For the \emph{two-sided} case, where shortcuts are allowed in both curves, we give an O((m2/3n2/3+m+n)log3(m+n))O((m^{2/3}n^{2/3}+m+n)\log^3 (m+n))-time algorithm for computing this distance. When shortcuts are allowed only in one noise-containing curve, we give an even faster randomized algorithm that runs in O((m+n)6/5+ε)O((m+n)^{6/5+\varepsilon}) expected time, for any ε>0\varepsilon>0. Our techniques are novel and may find further applications. One of the main new technical results is: Given two sets of points AA and BB and an interval II, we develop an algorithm that decides whether the number of pairs (x,y)A×B(x,y)\in A\times B whose distance dist(x,y){\rm dist}(x,y) is in II, is less than some given threshold LL. The running time of this algorithm decreases as LL increases. In case there are more than LL pairs of points whose distance is in II, we can get a small sample of pairs that contains a pair at approximate median distance (i.e., we can approximately "bisect" II). We combine this procedure with additional ideas to search, with a small overhead, for the optimal one-sided Fr\'echet distance with shortcuts, using a very fast decision procedure. We also show how to apply this technique for approximating distance selection (with respect to rank), and for computing the semi-continuous Fr\'echet distance with one-sided shortcuts.

Keywords

Cite

@article{arxiv.1310.5245,
  title  = {The Discrete and Semi-continuous Fr\'echet Distance with Shortcuts via Approximate Distance Counting and Selection Techniques},
  author = {Rinat Ben Avraham and Omrit Filtser and Haim Kaplan and Matthew J. Katz and Micha Sharir},
  journal= {arXiv preprint arXiv:1310.5245},
  year   = {2016}
}

Comments

This version also corrects mistakes that appeared in the journal version of this paper: "The Discrete and Semicontinuous Fr\'echet Distance with Shortcuts via Approximate Distance Counting and Selection." ACM Trans. Algorithms 11(4): 29 (2015)