We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Mathematics/Regular Languages in the Sliding Window Model
PeriodicalsMathematics

Regular Languages in the Sliding Window Model

Checking your access to this record.

Abstract & Overview

We study the space complexity of the following problem: For a fixed regular language $L$, we receive a stream of symbols and want to test membership of a sliding window of size $n$ in $L$. For deterministic streaming algorithms we prove a trichotomy theorem, namely that the (optimal) space complexity is either constant, logarithmic or linear, measured in the window size $n$. Additionally, we provide natural language-theoretic characterizations of the space classes. We then extend the results to randomized streaming algorithms and we show that in this setting, the space complexity of any regular language is either constant, doubly logarithmic, logarithmic or linear. Finally, we introduce sliding window testers, which can distinguish whether a sliding window of size $n$ belongs to the language $L$ or has Hamming distance $> \epsilon n$ to $L$. We prove that every regular language has a deterministic (resp., randomized) sliding window tester that requires only logarithmic (resp., constant) space. Comment: 75 pages. This is the TheoretiCS journal version

Cite this record

Moses Ganardi, Danny Hucke, Markus Lohrey, Konstantinos Mamouras, Tatiana Starikovskaya (2025). Regular Languages in the Sliding Window Model. TheoretiCS, Volume 4. https://doi.org/10.46298/theoretics.25.8

Copy in another style

Ganardi, M., Hucke, D., Lohrey, M., Mamouras, K., & Starikovskaya, T. (2025). Regular Languages in the Sliding Window Model. TheoretiCS, Volume 4. https://doi.org/10.46298/theoretics.25.8
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.