Simplification of Trajectory Streams
Computational Geometry
2025-08-04 v2
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 dF in Rd for some constant d≥2. Consider a polygonal curve τ in Rd in a stream. We present a streaming algorithm that, for any ε∈(0,1) and δ>0, produces a curve σ such that dF(σ,τ[v1,vi])≤(1+ε)δ and ∣σ∣≤2opt−2, where τ[v1,vi] is the prefix in the stream so far, and opt=min{∣σ′∣:dF(σ′,τ[v1,vi])≤δ}. Let α=2(d−1)⌊d/2⌋2+d. The working storage is O(ε−α). Each vertex is processed in O(ε−αlogε1) time for d∈{2,3} and O(ε−α) time for d≥4 . Thus, the whole τ can be simplified in O(ε−α∣τ∣logε1) time. Ignoring polynomial factors in 1/ε, this running time is a factor ∣τ∣ faster than the best static algorithm that offers the same guarantees. We present another streaming algorithm that, for any integer k≥2 and any ε∈(0,171), maintains a curve σ such that ∣σ∣≤2k−2 and dF(σ,τ[v1,vi])≤(1+ε)⋅min{dF(σ′,τ[v1,vi]):∣σ′∣≤k}, where τ[v1,vi] is the prefix in the stream so far. The working storage is O((kε−1+ε−(α+1))logε1). Each vertex is processed in O(kε−(α+1)log2ε1) time for d∈{2,3} and O(kε−(α+1)logε1) time for d≥4.
Cite
@article{arxiv.2503.23025,
title = {Simplification of Trajectory Streams},
author = {Siu-Wing Cheng and Haoqiang Huang and Le Jiang},
journal= {arXiv preprint arXiv:2503.23025},
year = {2025}
}
Comments
SoCG 2025