English

The $k$-Fr\'echet distance

Computational Geometry 2019-03-07 v1

Abstract

We introduce a new distance measure for comparing polygonal chains: the kk-Fr\'echet distance. As the name implies, it is closely related to the well-studied Fr\'echet distance but detects similarities between curves that resemble each other only piecewise. The parameter kk denotes the number of subcurves into which we divide the input curves. The kk-Fr\'echet distance provides a nice transition between (weak) Fr\'echet distance and Hausdorff distance. However, we show that deciding this distance measure turns out to be NP-complete, which is interesting since both (weak) Fr\'echet and Hausdorff distance are computable in polynomial time. Nevertheless, we give several possibilities to deal with the hardness of the kk-Fr\'echet distance: besides an exponential-time algorithm for the general case, we give a polynomial-time algorithm for k=2k=2, i.e., we ask that we subdivide our input curves into two subcurves each. We also present an approximation algorithm that outputs a number of subcurves of at most twice the optimal size. Finally, we give an FPT algorithm using parameters kk (the number of allowed subcurves) and zz (the number of segments of one curve that intersects the ε\varepsilon-neighborhood of a point on the other curve).

Keywords

Cite

@article{arxiv.1903.02353,
  title  = {The $k$-Fr\'echet distance},
  author = {Hugo A Akitaya and Maike Buchin and Leonie Ryvkin and Jérôme Urhausen},
  journal= {arXiv preprint arXiv:1903.02353},
  year   = {2019}
}
R2 v1 2026-06-23T07:59:48.518Z