Let $m$ and $n$ be the numbers of vertices of two polygonal curves in $\mathbb{R}^d$ for any fixed $d$ such that $m \leq n$. Since it was known in 1995 how to compute the Fréchet distance of these two curves in $O(mn\log (mn))$ time, it has been an open problem whether the running time can be reduced to $o(n^2)$ when $m = Ω(n)$. In the mean time, several well-known quadratic time barriers in computational geometry have been overcome: 3SUM, some 3SUM-hard problems, and the computation of some distances between two polygonal curves, including the discrete Fréchet distance, the dynamic time warping distance, and the geometric edit distance. It is curious that the quadratic time barrier for Fréchet distance still stands. We present an algorithm to compute the Fréchet distance in $O(mn(\log\log n)^{2+μ}\log n/\log^{1+μ} m)$ expected time for some constant $μ\in (0,1)$. It is the first algorithm that returns the Fréchet distance in $o(mn)$ time when $m = Ω(n^{\varepsilon})$ for any fixed $\varepsilon \in (0,1]$.
Truly Subquadratic Time Algorithms for Diameter and Related Problems in Graphs of Bounded VC-dimension
University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Dartmouth College(达特茅斯学院);Rutgers University(罗格斯大学);Aalto University(阿尔托大学);UMass Amherst(马萨诸塞大学阿默斯特分校);Institute of Science and Technology Austria(奥地利科学技术研究所)
Algorithms for Distance Problems in Continuous Graphs
University of Ljubljana(卢布尔雅那大学);Institute of Mathematics, Physics and Mechanics(数学、物理与力学研究所);University of Seville(塞维利亚大学);Technical University of Dortmund(多特蒙德工业大学);Universitat Politècnica de Catalunya(加泰罗尼亚理工大学)
研究连续图直径和平均距离计算问题,利用几何技术为两类稀疏图设计次二次时间算法,树宽至多为\(k\)的连续图计算时间为\(O(n\log^{O(k)} n)\),\(n\)个顶点\(F\)个面的连续平面图计算时间为\(O(n F \log n)\)。
Walking the Dog Fast in Practice: Algorithm Engineering of the Fréchet Distance
Fréchet距离为计算两条(多边形)曲线的相似性的流行任务提供了一种自然和直观的度量。虽然一个简单的算法计算它在近二次时间,一个强次二次算法不存在,除非强指数时间假设失败。尽管如此,Fréchet距离的快速实际实现,特别是对于真实的输入曲线,是非常可取的。这甚至导致了一个指定的竞争,ACM SIGSPATIAL GIS Cup 2017:在这里,挑战是在Fréchet距离下实现近邻数据结构。前三个实现的瓶颈恰恰是Fréchet距离的决策过程。在这项工作中,我们提出了一个快速的,认证的实现决定Fréchet距离,以(1)补充其悲观的最坏情况下的硬度通过对现实的输入数据的实证分析,并(2)提高GIS杯挑战的最先进的。我们的实验评估我们的实现一个大型的基准组成的几个数据集(包括手写字符和GPS轨迹)。的GIS杯的获奖实施相比,我们获得了运行时间的改善,高达两个以上的数量级的决策过程和查询的近邻数据结构的因素高达30。