Streaming algorithms for language recognition problems
Abstract
We study the complexity of the following problems in the streaming model. Membership testing for \DLIN We show that every language in \DLIN\ can be recognised by a randomized one-pass space algorithm with inverse polynomial one-sided error, and by a deterministic p-pass space algorithm. We show that these algorithms are optimal. Membership testing for \LL For languages generated by \LL grammars with a bound of on the number of nonterminals at any stage in the left-most derivation, we show that membership can be tested by a randomized one-pass space algorithm with inverse polynomial (in ) one-sided error. Membership testing for \DCFL We show that randomized algorithms as efficient as the ones described above for \DLIN\ and (which are subclasses of \DCFL) cannot exist for all of \DCFL: there is a language in \VPL\ (a subclass of \DCFL) for which any randomized p-pass algorithm with error bounded by must use space. Degree sequence problem We study the problem of determining, given a sequence and a graph , whether the degree sequence of is precisely . We give a randomized one-pass space algorithm with inverse polynomial one-sided error probability. We show that our algorithms are optimal. Our randomized algorithms are based on the recent work of Magniez et al. \cite{MMN09}; our lower bounds are obtained by considering related communication complexity problems.
Cite
@article{arxiv.1104.0848,
title = {Streaming algorithms for language recognition problems},
author = {Ajesh Babu and Nutan Limaye and Jaikumar Radhakrishnan and Girish Varma},
journal= {arXiv preprint arXiv:1104.0848},
year = {2011}
}