{"title":"不平衡情况下一维弗雷谢特距离的快速算法","authors":"Lotte Blank, Anne Driemel","doi":"arxiv-2404.18738","DOIUrl":null,"url":null,"abstract":"The fine-grained complexity of computing the Fr\\'echet distance has been a\ntopic of much recent work, starting with the quadratic SETH-based conditional\nlower bound by Bringmann from 2014. Subsequent work established largely the\nsame complexity lower bounds for the Fr\\'echet distance in 1D. However, the\nimbalanced case, which was shown by Bringmann to be tight in dimensions $d\\geq\n2$, was still left open. Filling in this gap, we show that a faster algorithm\nfor the Fr\\'echet distance in the imbalanced case is possible: Given two\n1-dimensional curves of complexity $n$ and $n^{\\alpha}$ for some $\\alpha \\in\n(0,1)$, we can compute their Fr\\'echet distance in $O(n^{2\\alpha} \\log^2 n + n\n\\log n)$ time. This rules out a conditional lower bound of the form\n$O((nm)^{1-\\epsilon})$ that Bringmann showed for $d \\geq 2$ and any\n$\\varepsilon>0$ in turn showing a strict separation with the setting $d=1$. At\nthe heart of our approach lies a data structure that stores a 1-dimensional\ncurve $P$ of complexity $n$, and supports queries with a curve $Q$ of\ncomplexity~$m$ for the continuous Fr\\'echet distance between $P$ and $Q$. The\ndata structure has size in $\\mathcal{O}(n\\log n)$ and uses query time in\n$\\mathcal{O}(m^2 \\log^2 n)$. Our proof uses a key lemma that is based on the\nconcept of visiting orders and may be of independent interest. We demonstrate\nthis by substantially simplifying the correctness proof of a clustering\nalgorithm by Driemel, Krivo\\v{s}ija and Sohler from 2015.","PeriodicalId":501570,"journal":{"name":"arXiv - CS - Computational Geometry","volume":"8 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-04-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A faster algorithm for the Fréchet distance in 1D for the imbalanced case\",\"authors\":\"Lotte Blank, Anne Driemel\",\"doi\":\"arxiv-2404.18738\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The fine-grained complexity of computing the Fr\\\\'echet distance has been a\\ntopic of much recent work, starting with the quadratic SETH-based conditional\\nlower bound by Bringmann from 2014. Subsequent work established largely the\\nsame complexity lower bounds for the Fr\\\\'echet distance in 1D. However, the\\nimbalanced case, which was shown by Bringmann to be tight in dimensions $d\\\\geq\\n2$, was still left open. Filling in this gap, we show that a faster algorithm\\nfor the Fr\\\\'echet distance in the imbalanced case is possible: Given two\\n1-dimensional curves of complexity $n$ and $n^{\\\\alpha}$ for some $\\\\alpha \\\\in\\n(0,1)$, we can compute their Fr\\\\'echet distance in $O(n^{2\\\\alpha} \\\\log^2 n + n\\n\\\\log n)$ time. This rules out a conditional lower bound of the form\\n$O((nm)^{1-\\\\epsilon})$ that Bringmann showed for $d \\\\geq 2$ and any\\n$\\\\varepsilon>0$ in turn showing a strict separation with the setting $d=1$. At\\nthe heart of our approach lies a data structure that stores a 1-dimensional\\ncurve $P$ of complexity $n$, and supports queries with a curve $Q$ of\\ncomplexity~$m$ for the continuous Fr\\\\'echet distance between $P$ and $Q$. The\\ndata structure has size in $\\\\mathcal{O}(n\\\\log n)$ and uses query time in\\n$\\\\mathcal{O}(m^2 \\\\log^2 n)$. Our proof uses a key lemma that is based on the\\nconcept of visiting orders and may be of independent interest. We demonstrate\\nthis by substantially simplifying the correctness proof of a clustering\\nalgorithm by Driemel, Krivo\\\\v{s}ija and Sohler from 2015.\",\"PeriodicalId\":501570,\"journal\":{\"name\":\"arXiv - CS - Computational Geometry\",\"volume\":\"8 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-04-29\",\"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-2404.18738\",\"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-2404.18738","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
A faster algorithm for the Fréchet distance in 1D for the imbalanced case
The fine-grained complexity of computing the Fr\'echet distance has been a
topic of much recent work, starting with the quadratic SETH-based conditional
lower bound by Bringmann from 2014. Subsequent work established largely the
same complexity lower bounds for the Fr\'echet distance in 1D. However, the
imbalanced case, which was shown by Bringmann to be tight in dimensions $d\geq
2$, was still left open. Filling in this gap, we show that a faster algorithm
for the Fr\'echet distance in the imbalanced case is possible: Given two
1-dimensional curves of complexity $n$ and $n^{\alpha}$ for some $\alpha \in
(0,1)$, we can compute their Fr\'echet distance in $O(n^{2\alpha} \log^2 n + n
\log n)$ time. This rules out a conditional lower bound of the form
$O((nm)^{1-\epsilon})$ that Bringmann showed for $d \geq 2$ and any
$\varepsilon>0$ in turn showing a strict separation with the setting $d=1$. At
the heart of our approach lies a data structure that stores a 1-dimensional
curve $P$ of complexity $n$, and supports queries with a curve $Q$ of
complexity~$m$ for the continuous Fr\'echet distance between $P$ and $Q$. The
data structure has size in $\mathcal{O}(n\log n)$ and uses query time in
$\mathcal{O}(m^2 \log^2 n)$. Our proof uses a key lemma that is based on the
concept of visiting orders and may be of independent interest. We demonstrate
this by substantially simplifying the correctness proof of a clustering
algorithm by Driemel, Krivo\v{s}ija and Sohler from 2015.