Streaming algorithms for language recognition problems

  • Authors:
  • Ajesh Babu;Nutan Limaye;Jaikumar Radhakrishnan;Girish Varma

  • Affiliations:
  • Yahoo! Labs, Bangalore, India;Computer Science and Engineering Department, Indian Institute of Technology, Mumbai, India;School of Technology and Computer Science, Tata Institute of Fundamental Research, Mumbai, India;School of Technology and Computer Science, Tata Institute of Fundamental Research, Mumbai, India

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2013

Quantified Score

Hi-index 5.23

Visualization

Abstract

We study the complexity of the following problems in the streaming model. Membership testing forDLIN. We show that every language in DLIN can be recognized by a randomized one-pass O(logn) space algorithm with an 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 forLL(k). For languages generated by LL(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(rlogn) space algorithm with an inverse polynomial (in n) one-sided error. Membership testing forDCFL. We show that randomized algorithms as efficient as the ones described above for DLIN and LL(k) (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 an error bounded by @e