arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2203.01794cs.CG
收藏

段的有效Fréchet距离查询

Efficient Fréchet distance queries for segments

Maike Buchin, Ivor van der Hoog, Tim Ophelders, Lena Schlipf, Rodrigo I. Silveira, Frank Staals

摘要:

我们研究的问题,构建一个数据结构,可以存储一个二维多边形曲线$P$,这样对于任何查询段$\overline{ab}$可以有效地计算$P$和$\overline{ab}$之间的Fréchet距离。首先,我们提出了一个数据结构的大小$O(n \log n)$,可以计算之间的Fréchet距离$P$和水平查询段$\overline{ab}$在$O(\log n)$时间,其中$n$是$P$的顶点数。与以前的工作相比,这大大减少了所需的空间。我们扩展了允许的查询类型,因为我们允许查询是水平段$\overline{ab}$和两个点$s, t \in P$(不一定是顶点),并要求$\overline{ab}$和$s$和$t$之间的$P$曲线之间的Fréchet距离。使用$O(n\log^2n)$存储,此类查询需要花费$O(\log^3 n)$时间,从而简化并显着改进了之前的结果。然后,我们将我们的结果推广到任意方向的查询段。我们提出了一个$O(nk^{3+\varepsilon}+n^2)$大小的数据结构,其中$k \in [1..n]$是一个参数,用户可以选择,和$\varepsilon > 0$是一个任意小的常数,这样,给定任何段$\overline{ab}$和两个点$s, t \in P$,我们可以计算在$O((n/k)\log^2n+\log^4 n)$时间$\overline{ab}$和$P$之间的曲线$P$之间的Fréchet距离。这是第一个结果,允许有效的精确Fréchet距离查询任意定向段。我们还提出了两个应用程序,我们的数据结构:我们表明,我们可以计算一个本地$δ$简化(相对于Fréchet距离)的多边形曲线在$O(n^{5/2+\varepsilon})$的时间,我们可以有效地找到一个翻译的任意查询段$\overline{ab}$,最大限度地减少Fréchet距离相对于$P$的子曲线。

英文摘要:

We study the problem of constructing a data structure that can store a two-dimensional polygonal curve $P$, such that for any query segment $\overline{ab}$ one can efficiently compute the Fréchet distance between $P$ and $\overline{ab}$. First we present a data structure of size $O(n \log n)$ that can compute the Fréchet distance between $P$ and a horizontal query segment $\overline{ab}$ in $O(\log n)$ time, where $n$ is the number of vertices of $P$. In comparison to prior work, this significantly reduces the required space. We extend the type of queries allowed, as we allow a query to be a horizontal segment $\overline{ab}$ together with two points $s, t \in P$ (not necessarily vertices), and ask for the Fréchet distance between $\overline{ab}$ and the curve of $P$ in between $s$ and $t$. Using $O(n\log^2n)$ storage, such queries take $O(\log^3 n)$ time, simplifying and significantly improving previous results. We then generalize our results to query segments of arbitrary orientation. We present an $O(nk^{3+\varepsilon}+n^2)$ size data structure, where $k \in [1..n]$ is a parameter the user can choose, and $\varepsilon > 0$ is an arbitrarily small constant, such that given any segment $\overline{ab}$ and two points $s, t \in P$ we can compute the Fréchet distance between $\overline{ab}$ and the curve of $P$ in between $s$ and $t$ in $O((n/k)\log^2n+\log^4 n)$ time. This is the first result that allows efficient exact Fréchet distance queries for arbitrarily oriented segments. We also present two applications of our data structure: we show that we can compute a local $δ$-simplification (with respect to the Fréchet distance) of a polygonal curve in $O(n^{5/2+\varepsilon})$ time, and that we can efficiently find a translation of an arbitrary query segment $\overline{ab}$ that minimizes the Fréchet distance with respect to a subcurve of $P$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑