Randomized sliding window algorithms for regular languages
Abstract
A sliding window algorithm receives a stream of symbols and has to output at each time instant a certain value which only depends on the last symbols. If the algorithm is randomized, then at each time instant it produces an incorrect output with probability at most , which is a constant error bound. This work proposes a more relaxed definition of correctness which is parameterized by the error bound and the failure ratio : A randomized sliding window algorithm is required to err with probability at most at a portion of of all time instants of an input stream. This work continues the investigation of sliding window algorithms for regular languages. In previous works a trichotomy theorem was shown for deterministic algorithms: the optimal space complexity is either constant, logarithmic or linear in the window size. The main results of this paper concerns three natural settings (randomized algorithms with failure ratio zero and randomized/deterministic algorithms with bounded failure ratio) and provide natural language theoretic characterizations of the space complexity classes.
Cite
@article{arxiv.1802.07600,
title = {Randomized sliding window algorithms for regular languages},
author = {Moses Ganardi and Danny Hucke and Markus Lohrey},
journal= {arXiv preprint arXiv:1802.07600},
year = {2018}
}