基于近似距离计数和选择技术的离散和半连续Fréchet距离及其快捷算法
The Discrete and Semi-continuous Fréchet Distance with Shortcuts via Approximate Distance Counting and Selection Techniques
摘要:
\emph{Fréchet distance}是一种研究得很好的曲线之间的相似性度量。\emph{discrete Fréchet distance}是一种类似的相似性度量,定义用于$m$点的序列$A$和$n$点的序列$B$,其中点通常从输入曲线中采样。在本文中,我们考虑一个变种,称为\emph{discrete Fréchet distance with shortcuts},它捕获(采样)曲线之间的相似性存在离群值。对于\emph{two-sided}的情况下,在两条曲线的捷径是允许的,我们给出了一个$O((m^{2/3}n^{2/3}+m+n)\log^3 (m+n))$时间算法来计算这个距离。当捷径只允许在一个含噪声的曲线,我们给出了一个更快的随机算法,运行在$O((m+n)^{6/5+\varepsilon})$预期的时间,任何$\varepsilon>0$。我们的技术是新颖的,并可能找到进一步的应用。一个主要的新技术成果是:给定两组点$A$和$B$和一个间隔$I$,我们开发了一个算法,决定是否对$(x,y)\in A\times B$的距离${\rm dist}(x,y)$是在$I$,小于一些给定的阈值$L$。该算法的运行时间随着$L$的增加而减少。在存在多于$L$对的点的情况下,其距离在$I$中,我们可以得到包含近似中值距离处的对的对的小样本(即,我们可以近似地“平分”$I$)。我们结合这个过程与其他想法搜索,以一个小的开销,最佳的单边Fréchet距离与捷径,使用一个非常快速的决策过程。我们还展示了如何将这种技术应用于近似距离选择(相对于秩),以及计算半连续的Fréchet距离与单侧捷径。
英文摘要:
The \emph{Fréchet distance} is a well studied similarity measures between curves. The \emph{discrete Fréchet distance} is an analogous similarity measure, defined for a sequence $A$ of $m$ points and a sequence $B$ of $n$ points, where the points are usually sampled from input curves. In this paper we consider a variant, called the \emph{discrete Fréchet 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((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+\varepsilon})$ expected time, for any $\varepsilon>0$. Our techniques are novel and may find further applications. One of the main new technical results is: Given two sets of points $A$ and $B$ and an interval $I$, we develop an algorithm that decides whether the number of pairs $(x,y)\in A\times B$ whose distance ${\rm dist}(x,y)$ is in $I$, is less than some given threshold $L$. The running time of this algorithm decreases as $L$ increases. In case there are more than $L$ pairs of points whose distance is in $I$, we can get a small sample of pairs that contains a pair at approximate median distance (i.e., we can approximately "bisect" $I$). We combine this procedure with additional ideas to search, with a small overhead, for the optimal one-sided Fréchet 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échet distance with one-sided shortcuts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。