Papers
Topics
Authors
Recent
Search
2000 character limit reached

Simplification of Trajectory Streams

Published 29 Mar 2025 in cs.CG | (2503.23025v1)

Abstract: While there are software systems that simplify trajectory streams on the fly, few curve simplification algorithms with quality guarantees fit the streaming requirements. We present streaming algorithms for two such problems under the Fr\'{e}chet distance dFd_F in R<sup>d\mathbb{R}<sup>d for some constant d2d \geq 2. Consider a polygonal curve τ\tau in R<sup>d\mathbb{R}<sup>d in a stream. We present a streaming algorithm that, for any ε(0,1)\varepsilon\in (0,1) and $\delta &gt; 0$, produces a curve σ\sigma such that dF(σ,τ[v1,vi])(1+ε)δd_F(\sigma,\tau[v_1,v_i])\le (1+\varepsilon)\delta and σ2opt2|\sigma|\le 2\,\mathrm{opt}-2, where τ[v1,vi]\tau[v_1,v_i] is the prefix in the stream so far, and $\mathrm{opt} = \min{|\sigma&#39;|: d_F(\sigma&#39;,\tau[v_1,v_i])\le \delta}$. Let α=2(d1)d/2<sup>2</sup>+d\alpha = 2(d-1){\lfloor d/2 \rfloor}<sup>2</sup> + d. The working storage is O(ε<sup>α)O(\varepsilon<sup>{-\alpha}). Each vertex is processed in O(ε<sup>αlog1ε)O(\varepsilon<sup>{-\alpha}\log\frac{1}{\varepsilon}) time for d2,3d \in {2,3} and O(ε<sup>α)O(\varepsilon<sup>{-\alpha}) time for d4d \geq 4 . Thus, the whole τ\tau can be simplified in O(ε<sup>ατlog1ε)O(\varepsilon<sup>{-\alpha}|\tau|\log\frac{1}{\varepsilon}) time. Ignoring polynomial factors in 1/ε1/\varepsilon, this running time is a factor τ|\tau| faster than the best static algorithm that offers the same guarantees. We present another streaming algorithm that, for any integer k2k \geq 2 and any ε(0,117)\varepsilon \in (0,\frac{1}{17}), maintains a curve σ\sigma such that σ2k2|\sigma| \leq 2k-2 and $d_F(\sigma,\tau[v_1,v_i])\le (1+\varepsilon) \cdot \min{d_F(\sigma&#39;,\tau[v_1,v_i]): |\sigma&#39;| \leq k}$, where τ[v1,vi]\tau[v_1,v_i] is the prefix in the stream so far. The working storage is O((kε<sup>1+ε<sup>(α+1))log</sup></sup>1ε)O((k\varepsilon<sup>{-1}+\varepsilon<sup>{-(\alpha+1)})\log</sup></sup> \frac{1}{\varepsilon}). Each vertex is processed in O(kε<sup>(α+1)log<sup>21ε)O(k\varepsilon<sup>{-(\alpha+1)}\log<sup>2\frac{1}{\varepsilon}) time for d2,3d \in {2,3} and O(kε<sup>(α+1)log1ε)O(k\varepsilon<sup>{-(\alpha+1)}\log\frac{1}{\varepsilon}) time for d4d \geq 4.

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.