The Fréchet Distance Unleashed: Approximating a Dog with a Frog

Sariel Har-Peled, Benjamin Raichel, Eliot W. Robson
{"title":"The Fréchet Distance Unleashed: Approximating a Dog with a Frog","authors":"Sariel Har-Peled, Benjamin Raichel, Eliot W. Robson","doi":"arxiv-2407.03101","DOIUrl":null,"url":null,"abstract":"We show that a minor variant of the continuous Fr\\'echet distance between\npolygonal curves can be computed using essentially the same algorithm used to\nsolve the discrete version, thus dramatically simplifying the algorithm for\ncomputing it. The new variant is not necessarily monotone, but this shortcoming\ncan be easily handled via refinement. Combined with a Dijkstra/Prim type algorithm, this leads to a realization of\nthe Fr\\'echet distance (i.e., a morphing) that is locally optimal (aka locally\ncorrect), that is both easy to compute, and in practice, takes near linear time\non many inputs. The new morphing has the property that the leash is always as\nshort-as-possible. We implemented the new algorithm, and developed various strategies to get a\nfast execution in practice. Among our new contributions is a new simplification\nstrategy that is distance-sensitive, and enables us to compute the exact\ncontinuous Fr\\'echet distance in near linear time in practice. We preformed\nextensive experiments on our new algorithm, and released \\texttt{Julia} and\n\\texttt{Python} packages with these new implementations.","PeriodicalId":501570,"journal":{"name":"arXiv - CS - Computational Geometry","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-07-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Computational Geometry","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2407.03101","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

We show that a minor variant of the continuous Fr\'echet distance between polygonal curves can be computed using essentially the same algorithm used to solve the discrete version, thus dramatically simplifying the algorithm for computing it. The new variant is not necessarily monotone, but this shortcoming can be easily handled via refinement. Combined with a Dijkstra/Prim type algorithm, this leads to a realization of the Fr\'echet distance (i.e., a morphing) that is locally optimal (aka locally correct), that is both easy to compute, and in practice, takes near linear time on many inputs. The new morphing has the property that the leash is always as short-as-possible. We implemented the new algorithm, and developed various strategies to get a fast execution in practice. Among our new contributions is a new simplification strategy that is distance-sensitive, and enables us to compute the exact continuous Fr\'echet distance in near linear time in practice. We preformed extensive experiments on our new algorithm, and released \texttt{Julia} and \texttt{Python} packages with these new implementations.
释放弗雷谢特距离:用青蛙逼近狗
我们展示了多边形曲线间连续 Fr\'echet 距离的一个次要变体,它基本上可以用求解离散变体的相同算法来计算,从而大大简化了计算它的算法。新变体不一定是单调的,但这一缺点可以通过细化轻松解决。与 Dijkstra/Prim 类型的算法相结合,就能实现局部最优(又称局部正确)的 Fr\'echet 距离(即变形),它既易于计算,在实践中又能在许多输入上花费接近线性的时间。新的变形具有这样一个特性,即拴绳总是尽可能短。我们实现了新算法,并开发了各种策略,以便在实践中快速执行。我们的新贡献包括一种新的简化策略,它对距离敏感,使我们能够在实践中以接近线性的时间计算精确的连续 Fr\'echet 距离。我们在新算法上进行了大量实验,并发布了带有这些新实现的 texttt{Julia} 和 texttt{Python} 包。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信