为什么遛狗需要时间:除非SETH失败,否则Frechet距离没有强次二次算法
Why walking the dog takes time: Frechet distance has no strongly subquadratic algorithms unless SETH fails
摘要:
Frechet距离是一个研究得很好的,非常流行的两条曲线相似性的度量。自从Alt和Godau在1991年把这种测度引入到计算几何中以来,已经研究了许多变体和扩展。他们原来的算法计算两个多边形曲线的弗雷歇距离与n顶点有一个运行时间为O(n^2 log n)。20多年后,大多数变体的最新算法仍然需要超过O(n^2 / log n)的时间,但没有匹配的下限是已知的,即使在合理的复杂度理论假设下也是如此。为了得到一个有条件的下界,在本文中,我们假设强指数时间假设,或者更准确地说,对于任何delta > 0,CNF-SAT都没有O*((2-delta)^N)算法。在这个假设下,我们证明了Frechet距离不能在强次二次时间内计算,即,时间复杂度为O(n^{2-delta})。这意味着找到更快的弗雷歇距离算法与找到更快的CNF-SAT算法一样困难,并且可以认为不太可能存在强次二次算法。我们的结果适用于连续和离散的Frechet距离。我们在不同的方向上推广了主要结果。基于同样的假设,我们(1)证明了不存在强次二次1.001-近似,(2)在两条曲线的顶点数不平衡的情况下给出了严格的下界,(3)检验了现实的输入假设(c-填充曲线)。
英文摘要:
The Frechet distance is a well-studied and very popular measure of similarity of two curves. Many variants and extensions have been studied since Alt and Godau introduced this measure to computational geometry in 1991. Their original algorithm to compute the Frechet distance of two polygonal curves with n vertices has a runtime of O(n^2 log n). More than 20 years later, the state of the art algorithms for most variants still take time more than O(n^2 / log n), but no matching lower bounds are known, not even under reasonable complexity theoretic assumptions. To obtain a conditional lower bound, in this paper we assume the Strong Exponential Time Hypothesis or, more precisely, that there is no O*((2-delta)^N) algorithm for CNF-SAT for any delta > 0. Under this assumption we show that the Frechet distance cannot be computed in strongly subquadratic time, i.e., in time O(n^{2-delta}) for any delta > 0. This means that finding faster algorithms for the Frechet distance is as hard as finding faster CNF-SAT algorithms, and the existence of a strongly subquadratic algorithm can be considered unlikely. Our result holds for both the continuous and the discrete Frechet distance. We extend the main result in various directions. Based on the same assumption we (1) show non-existence of a strongly subquadratic 1.001-approximation, (2) present tight lower bounds in case the numbers of vertices of the two curves are imbalanced, and (3) examine realistic input assumptions (c-packed curves).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。