Sariel Har-Peled, Benjamin Raichel, Eliot W. Robson
{"title":"释放弗雷谢特距离:用青蛙逼近狗","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":"9 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"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\":\"9 1\",\"pages\":\"\"},\"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}","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}
The Fréchet Distance Unleashed: Approximating a Dog with a Frog
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.