arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.07728cs.CGcs.DS
收藏

关于使用青蛙方法计算(精确的)弗雷歇距离

On computing the (exact) Fréchet distance with a frog

University of Copenhagen(哥本哈根大学);IT University of Copenhagen(哥本哈根信息技术大学)

Jacobus Conradi, Ivor van der Hoog, Eva Rotenberg

AI总结:

本文重新审视青蛙方法,解决了其精确性、收敛性和简化技术的局限性,并提出新的方法保证精确性、多项式时间收敛和无损简化。通过实验证明,尽管精确计算引入开销,但方法在最坏情况或平均情况下表现更优,且现有实现仍优于青蛙方法。

摘要:

两种多边形曲线的连续弗雷歇距离通常通过探索自由空间图来计算。最近,Har-Peled、Raichel和Robson [SoCG'25] 提出了一种完全不同方法:不直接遍历连续自由空间,而是通过递归分割边的离散图计算路径,从而逼近连续弗雷歇距离。本文重新审视该方法并解决其三个局限性:首先,该方法无法精确计算弗雷歇距离;其次,递归分割过程仅引入单调事件,仅在极限下实现弗雷歇距离;第三,应用的简化技术是启发式的。受理论启发,我们开发了新的技术,保证精确性、多项式时间收敛和无损简化。我们提供了一个开源的C++实现。我们的主要贡献是广泛的实证评估。尽管精确计算引入开销并增加中位运行时间,但我们的方法在最坏情况、最慢的10%实例或平均情况下表现更优。更令人惊讶的是,在实验中,Bringmann、Kuennemann和Nusser [SoCG'19] 的实现始终优于所有青蛙方法。这些结果提供了对青蛙方法的深入见解:既突显了理论吸引力,也揭示了实际限制。

英文摘要:

The continuous Frechet distance between two polygonal curves is classically computed by exploring their free space diagram. Recently, Har-Peled, Raichel, and Robson [SoCG'25] proposed a radically different approach: instead of directly traversing the continuous free space, they approximate the distance by computing paths in a discrete graph derived from the discrete free space, recursively bisecting edges until the discrete distance converges to the continuous Frechet distance. They implement this so-called frog-based technique and report substantial practical speedups over the state of the art. We revisit the frog-based approach and address three of its limitations. First, the method does not compute the Frechet distance exactly. Second, the recursive bisection procedure only introduces the monotonicity events required to realise the Frechet distance asymptotically, that is, only in the limit. Third, the applied simplification technique is heuristic. Motivated by theoretical considerations, we develop new techniques that guarantee exactness, polynomial-time convergence, and near-optimal lossless simplifications. We provide an open-source C++ implementation of our variant. Our primary contribution is an extensive empirical evaluation. As expected, exact computation introduces overhead and increases the median running time. Yet, our method is often faster in the worst case, the slowest ten percent of instances, or even on average due to its convergence guarantees. More surprisingly, in our experiments, the implementation of Bringmann, Kuennemann, and Nusser [SoCG'19] consistently outperforms all frog-based approaches in practice. This appears to contrast published claims of the efficiency of the frog-based techniques. These results thereby provide nuanced perspective on frogs: highlighting both the theoretical appeal, but also the practical limitations.

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

↑