English

Longest Alignment with Edits in Data Streams

Data Structures and Algorithms 2017-11-15 v1

Abstract

Analyzing patterns in data streams generated by network traffic, sensor networks, or satellite feeds is a challenge for systems in which the available storage is limited. In addition, real data is noisy, which makes designing data stream algorithms even more challenging. Motivated by such challenges, we study algorithms for detecting the similarity of two data streams that can be read in sync. Two strings S,TΣnS, T\in \Sigma^n form a dd-near-alignment if the distance between them in some given metric is at most dd. We study the problem of identifying a longest substring of SS and TT that forms a dd-near-alignment under the edit distance, in the simultaneous streaming model. In this model, symbols of strings SS and TT are streamed at the same time, and the amount of available processing space is sublinear in the length of the strings. We give several algorithms, including an exact one-pass algorithm that uses O(d2+dlogn)\mathcal{O}(d^2+d\log n) bits of space. We couple these results with comparable lower bounds.

Keywords

Cite

@article{arxiv.1711.04367,
  title  = {Longest Alignment with Edits in Data Streams},
  author = {Elena Grigorescu and Erfan Sadeqi Azer and Samson Zhou},
  journal= {arXiv preprint arXiv:1711.04367},
  year   = {2017}
}
R2 v1 2026-06-22T22:43:36.311Z