Streaming algorithms for language recognition problems

Abstract

We study the complexity of the following problems in the streaming model. Membership testing for We show that every language in \ can be recognised by a randomized one-pass O( n) space algorithm with inverse polynomial one-sided error, and by a deterministic p-pass O(n/p) space algorithm. We show that these algorithms are optimal. Membership testing for (k) For languages generated by (k) grammars with a bound of r 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 O(r n) space algorithm with inverse polynomial (in n) one-sided error. Membership testing for We show that randomized algorithms as efficient as the ones described above for \ and (k) (which are subclasses of ) cannot exist for all of : there is a language in \ (a subclass of ) for which any randomized p-pass algorithm with error bounded by ε < 1/2 must use (n/p) space. Degree sequence problem We study the problem of determining, given a sequence d1, d2,..., dn and a graph G, whether the degree sequence of G is precisely d1, d2,..., dn. We give a randomized one-pass O( n) 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. MMN09; our lower bounds are obtained by considering related communication complexity problems.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…