Computing the Fr\'echet Distance When Just One Curve is c-Packed: A Simple Almost-Tight Algorithm

Abstract

We study approximating the continuous Fr\'echet distance of two curves with complexity n and m, under the assumption that only one of the two curves is c-packed. Driemel, Har-Peled and Wenk DCG'12 studied Fr\'echet distance approximations under the assumption that both curves are c-packed. In Rd, they prove a (1+)-approximation in O(d \, c\,n+m) time. Bringmann and K\"unnemann IJCGA'17 improved this to O(c\,n + m ) time, which they showed is near-tight under SETH. Recently, Gudmundsson, Mai, and Wong ISAAC'24 studied our setting where only one of the curves is c-packed. They provide an involved O( d · (c+-1)(cn-2 + c2m-7 + -2d-1))-time algorithm when the c-packed curve has n vertices and the arbitrary curve has m, where d is the dimension in Euclidean space. In this paper, we show a simple technique to compute a (1+)-approximation in Rd in time O(d · c\,n+mn+m) when one of the curves is c-packed. Our approach is not only simpler than previous work, but also significantly improves the dependencies on c, , and d. Moreover, it almost matches the asymptotically tight bound for when both curves are c-packed. Our algorithm is robust in the sense that it does not require knowledge of c, nor information about which of the two input curves is c-packed.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…