{"title":"关于计算 \\(k\\) -Shortcut Fréchet 距离","authors":"Jacobus Conradi, Anne Driemel","doi":"10.1145/3663762","DOIUrl":null,"url":null,"abstract":"<p>The Fréchet distance is a popular measure of dissimilarity for polygonal curves. It is defined as a min-max formulation that considers all orientation-preserving bijective mappings between the two curves. Because of its susceptibility to noise, Driemel and Har-Peled introduced the shortcut Fréchet distance in 2012, where one is allowed to take shortcuts along one of the curves, similar to the edit distance for sequences. We analyse the parameterized version of this problem, where the number of shortcuts is bounded by a parameter \\(k\\). The corresponding decision problem can be stated as follows: Given two polygonal curves \\(T\\) and \\(B\\) of at most \\(n\\) vertices, a parameter \\(k\\) and a distance threshold \\(\\delta\\), is it possible to introduce \\(k\\) shortcuts along \\(B\\) such that the Fréchet distance of the resulting curve and the curve \\(T\\) is at most \\(\\delta\\)? We study this problem for polygonal curves in the plane. We provide a complexity analysis for this problem with the following results: (i) there exists a decision algorithm with running time in \\(\\mathcal{O}(kn^{2k+2}\\log n)\\); (ii) assuming the exponential-time-hypothesis (ETH), there exists no algorithm with running time bounded by \\(n^{o(k)}\\). In contrast, we also show that efficient approximate decider algorithms are possible, even when \\(k\\) is large. We present a \\((3+\\varepsilon)\\)-approximate decider algorithm with running time in \\(\\mathcal{O}(kn^{2}\\log^{2}n)\\) for fixed \\(\\varepsilon\\). In addition, we can show that, if \\(k\\) is a constant and the two curves are \\(c\\)-packed for some constant \\(c\\), then the approximate decider algorithm runs in near-linear time.</p>","PeriodicalId":50922,"journal":{"name":"ACM Transactions on Algorithms","volume":"56 1","pages":""},"PeriodicalIF":0.9000,"publicationDate":"2024-05-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"On Computing the \\\\(k\\\\) -Shortcut Fréchet Distance\",\"authors\":\"Jacobus Conradi, Anne Driemel\",\"doi\":\"10.1145/3663762\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p>The Fréchet distance is a popular measure of dissimilarity for polygonal curves. It is defined as a min-max formulation that considers all orientation-preserving bijective mappings between the two curves. Because of its susceptibility to noise, Driemel and Har-Peled introduced the shortcut Fréchet distance in 2012, where one is allowed to take shortcuts along one of the curves, similar to the edit distance for sequences. We analyse the parameterized version of this problem, where the number of shortcuts is bounded by a parameter \\\\(k\\\\). The corresponding decision problem can be stated as follows: Given two polygonal curves \\\\(T\\\\) and \\\\(B\\\\) of at most \\\\(n\\\\) vertices, a parameter \\\\(k\\\\) and a distance threshold \\\\(\\\\delta\\\\), is it possible to introduce \\\\(k\\\\) shortcuts along \\\\(B\\\\) such that the Fréchet distance of the resulting curve and the curve \\\\(T\\\\) is at most \\\\(\\\\delta\\\\)? We study this problem for polygonal curves in the plane. We provide a complexity analysis for this problem with the following results: (i) there exists a decision algorithm with running time in \\\\(\\\\mathcal{O}(kn^{2k+2}\\\\log n)\\\\); (ii) assuming the exponential-time-hypothesis (ETH), there exists no algorithm with running time bounded by \\\\(n^{o(k)}\\\\). In contrast, we also show that efficient approximate decider algorithms are possible, even when \\\\(k\\\\) is large. We present a \\\\((3+\\\\varepsilon)\\\\)-approximate decider algorithm with running time in \\\\(\\\\mathcal{O}(kn^{2}\\\\log^{2}n)\\\\) for fixed \\\\(\\\\varepsilon\\\\). In addition, we can show that, if \\\\(k\\\\) is a constant and the two curves are \\\\(c\\\\)-packed for some constant \\\\(c\\\\), then the approximate decider algorithm runs in near-linear time.</p>\",\"PeriodicalId\":50922,\"journal\":{\"name\":\"ACM Transactions on Algorithms\",\"volume\":\"56 1\",\"pages\":\"\"},\"PeriodicalIF\":0.9000,\"publicationDate\":\"2024-05-23\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"ACM Transactions on Algorithms\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://doi.org/10.1145/3663762\",\"RegionNum\":3,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, THEORY & METHODS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM Transactions on Algorithms","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1145/3663762","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
The Fréchet distance is a popular measure of dissimilarity for polygonal curves. It is defined as a min-max formulation that considers all orientation-preserving bijective mappings between the two curves. Because of its susceptibility to noise, Driemel and Har-Peled introduced the shortcut Fréchet distance in 2012, where one is allowed to take shortcuts along one of the curves, similar to the edit distance for sequences. We analyse the parameterized version of this problem, where the number of shortcuts is bounded by a parameter \(k\). The corresponding decision problem can be stated as follows: Given two polygonal curves \(T\) and \(B\) of at most \(n\) vertices, a parameter \(k\) and a distance threshold \(\delta\), is it possible to introduce \(k\) shortcuts along \(B\) such that the Fréchet distance of the resulting curve and the curve \(T\) is at most \(\delta\)? We study this problem for polygonal curves in the plane. We provide a complexity analysis for this problem with the following results: (i) there exists a decision algorithm with running time in \(\mathcal{O}(kn^{2k+2}\log n)\); (ii) assuming the exponential-time-hypothesis (ETH), there exists no algorithm with running time bounded by \(n^{o(k)}\). In contrast, we also show that efficient approximate decider algorithms are possible, even when \(k\) is large. We present a \((3+\varepsilon)\)-approximate decider algorithm with running time in \(\mathcal{O}(kn^{2}\log^{2}n)\) for fixed \(\varepsilon\). In addition, we can show that, if \(k\) is a constant and the two curves are \(c\)-packed for some constant \(c\), then the approximate decider algorithm runs in near-linear time.
期刊介绍:
ACM Transactions on Algorithms welcomes submissions of original research of the highest quality dealing with algorithms that are inherently discrete and finite, and having mathematical content in a natural way, either in the objective or in the analysis. Most welcome are new algorithms and data structures, new and improved analyses, and complexity results. Specific areas of computation covered by the journal include
combinatorial searches and objects;
counting;
discrete optimization and approximation;
randomization and quantum computation;
parallel and distributed computation;
algorithms for
graphs,
geometry,
arithmetic,
number theory,
strings;
on-line analysis;
cryptography;
coding;
data compression;
learning algorithms;
methods of algorithmic analysis;
discrete algorithms for application areas such as
biology,
economics,
game theory,
communication,
computer systems and architecture,
hardware design,
scientific computing