paper

A faster algorithm for the Fréchet distance in 1D for the imbalanced case

arXiv:2404.18738

Abstract

The fine-grained complexity of computing the Fréchet 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échet distance in 1D. However, the imbalanced case, which was shown by Bringmann to be tight in dimensions , was still left open. Filling in this gap, we show that a faster algorithm for the Fréchet distance in the imbalanced case is possible: Given two 1-dimensional curves of complexity and for some , we can compute their Fréchet distance in time. This rules out a conditional lower bound of the form that Bringmann showed for and any in turn showing a strict separation with the setting . At the heart of our approach lies a data structure that stores a 1-dimensional curve of complexity , and supports queries with a curve of complexity~ for the continuous Fréchet distance between and . The data structure has size in and uses query time in . 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šija and Sohler from 2015.