English

Curve Simplification and Clustering under Fr\'echet Distance

Computational Geometry 2022-11-09 v3 Data Structures and Algorithms

Abstract

We present new approximation results on curve simplification and clustering under Fr\'echet distance. Let T={τi:i[n]}T = \{\tau_i : i \in [n] \} be polygonal curves in RdR^d of mm vertices each. Let ll be any integer from [m][m]. We study a generalized curve simplification problem: given error bounds δi>0\delta_i > 0 for i[n]i \in [n], find a curve σ\sigma of at most ll vertices such that dF(σ,τi)δid_F(\sigma,\tau_i) \le \delta_i for i[n]i \in [n]. We present an algorithm that returns a null output or a curve σ\sigma of at most ll vertices such that dF(σ,τi)δi+ϵδmaxd_F(\sigma,\tau_i) \le \delta_i + \epsilon\delta_{\max} for i[n]i \in [n], where δmax=maxi[n]δi\delta_{\max} = \max_{i \in [n]} \delta_i. If the output is null, there is no curve of at most ll vertices within a Fr\'echet distance of δi\delta_i from τi\tau_i for i[n]i \in [n]. The running time is O~(nO(l)mO(l2)(dl/ϵ)O(dl))\tilde{O}\bigl(n^{O(l)} m^{O(l^2)} (dl/\epsilon)^{O(dl)}\bigr). This algorithm yields the first polynomial-time bicriteria approximation scheme to simplify a curve τ\tau to another curve σ\sigma, where the vertices of σ\sigma can be anywhere in RdR^d, so that dF(σ,τ)(1+ϵ)δd_F(\sigma,\tau) \le (1+\epsilon)\delta and σ(1+α)min{c:dF(c,τ)δ}|\sigma| \le (1+\alpha) \min\{|c| : d_F(c,\tau) \le \delta\} for any given δ>0\delta > 0 and any fixed α,ϵ(0,1)\alpha, \epsilon \in (0,1). The running time is O~(mO(1/α)(d/(αϵ))O(d/α))\tilde{O}\bigl(m^{O(1/\alpha)} (d/(\alpha\epsilon))^{O(d/\alpha)}\bigr). By combining our technique with some previous results in the literature, we obtain an approximation algorithm for (k,l)(k,l)-median clustering. Given TT, it computes a set Σ\Sigma of kk curves, each of ll vertices, such that i[n]minσΣdF(σ,τi)\sum_{i \in [n]} \min_{\sigma \in \Sigma} d_F(\sigma,\tau_i) is within a factor 1+ϵ1+\epsilon of the optimum with probability at least 1μ1-\mu for any given μ,ϵ(0,1)\mu, \epsilon \in (0,1). The running time is O~(nmO(kl2)μO(kl)(dkl/ϵ)O((dkl/ϵ)log(1/μ)))\tilde{O}\bigl(n m^{O(kl^2)} \mu^{-O(kl)} (dkl/\epsilon)^{O((dkl/\epsilon)\log(1/\mu))}\bigr).

Keywords

Cite

@article{arxiv.2207.07809,
  title  = {Curve Simplification and Clustering under Fr\'echet Distance},
  author = {Siu-Wing Cheng and Haoqiang Huang},
  journal= {arXiv preprint arXiv:2207.07809},
  year   = {2022}
}

Comments

30 pages; Corrected some wrong descriptions concerning related work; Add some figures for illustration

R2 v1 2026-06-25T00:57:56.240Z