On the Discrete Fréchet Distance in a Graph

  • Anne Driemel*
  • , Ivor van der Hoog
  • , Eva Rotenberg
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

70 Downloads (Orbit)

Abstract

The Fréchet distance is a well-studied similarity measure between curves that is widely used throughout computer science. Motivated by applications where curves stem from paths and walks on an underlying graph (such as a road network), we define and study the Fréchet distance for paths and walks on graphs. When provided with a distance oracle of G with O(1) query time, the classical quadratic-time dynamic program can compute the Fréchet distance between two walks P and Q in a graph G in O(|P |· |Q|) time. We show that there are situations where the graph structure helps with computing Fréchet distance: when the graph G is planar, we apply existing (approximate) distance oracles to compute a (1 + e)-approximation of the Fréchet distance between any shortest path P and any walk Q in O(|G| log |G|/ve + |P | + |Qe| ) time. We generalise this result to near-shortest paths, i.e. ?-straight paths, as we show how to compute a (1 + e)-approximation between a ?-straight path P and any walk Q in O(|G| log |G|/ve + |P | + ?|eQ| ) time. Our algorithmic results hold for both the strong and the weak discrete Fréchet distance over the shortest path metric in G. Finally, we show that additional assumptions on the input, such as our assumption on path straightness, are indeed necessary to obtain truly subquadratic running time. We provide a conditional lower bound showing that the Fréchet distance, or even its 1.01-approximation, between arbitrary paths in a weighted planar graph cannot be computed in O((|P | · |Q|)1-d) time for any d > 0 unless the Orthogonal Vector Hypothesis fails. For walks, this lower bound holds even when G is planar, unit-weight and has O(1) vertices.

Original languageEnglish
Title of host publicationProceedings of 38th International Symposium on Computational Geometry
EditorsXavier Goaoc, Michael Kerber
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
Publication date1 Jun 2022
Article number36
ISBN (Electronic)9783959772273
DOIs
Publication statusPublished - 1 Jun 2022
Event38th International Symposium on Computational Geometry - Berlin, Germany
Duration: 7 Jun 202210 Jun 2022

Conference

Conference38th International Symposium on Computational Geometry
Country/TerritoryGermany
CityBerlin
Period07/06/202210/06/2022
SeriesLeibniz International Proceedings in Informatics, LIPIcs
Volume224
ISSN1868-8969

Keywords

  • Complexity analysis
  • Fréchet
  • Graphs
  • Planar

Fingerprint

Dive into the research topics of 'On the Discrete Fréchet Distance in a Graph'. Together they form a unique fingerprint.

Cite this