Overview
Frechet distance compares two curves by asking how closely they can be traversed from start to end without moving backward along either curve.
Measures curve similarity while preserving the order of points along each curve.
Compact metadata for implementation and discovery.
Frechet distance compares two curves by asking how closely they can be traversed from start to end without moving backward along either curve.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n log n)
Worst
O(n^2)
Space
O(n)
ca(i,j) = max(d(P_i,Q_j), min(ca(i-1,j), ca(i-1,j-1), ca(i,j-1)))Tracks the best leash length for prefixes of two curves.
Show tracking the minimum leash length needed to traverse two curves in order on a small curve distance example.
Frechet distance is order-aware; it answers a different question from unordered point-set distances.
What each reference supports for this entry.
Textbook support for Frechet Distance's computational geometry problem family, predicates, structures, or geometric construction.
Open sourceAlgorithm catalog support for Frechet Distance in the computational geometry benchmark area.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Geometry · Core
Both address curve distance, but they make different modeling or performance tradeoffs.
Compare with thisGeometry · Core
Procrustes Analysis and Frechet Distance solve related shape alignment problems with different assumptions and tradeoffs.
Compare with thisBoth address curve distance, but they make different modeling or performance tradeoffs.
Both address curve distance, but they make different modeling or performance tradeoffs.
Both address curve distance, but they make different modeling or performance tradeoffs.