首页    期刊浏览 2024年10月06日 星期日
登录注册

文章基本信息

  • 标题:Streaming algorithms for some problems in log-space.
  • 本地全文:下载
  • 作者:Ajesh Babu ; Nutan Limaye ; Girish Varma
  • 期刊名称:Electronic Colloquium on Computational Complexity
  • 印刷版ISSN:1433-8092
  • 出版年度:2010
  • 卷号:2010
  • 出版社:Universität Trier, Lehrstuhl für Theoretische Computer-Forschung
  • 摘要:In this paper, we give streaming algorithms for some problems which are known to be in deterministic log-space, when the number of passes made on the input is unbounded. If the input data is massive, the conventional deterministic log-space algorithms may not run efficiently. We study the complexity of the problems when the number of passes is bounded. The first problem we consider is the membership testing problem for deterministic linear languages, DLIN. Extending the recent work of Magniez et al. (to appear in STOC 2010), we study the use of fingerprinting technique for this problem. We give the following streaming algorithms for the membership testing of DLINs: a randomized one pass algorithm that uses O(logn) space (one-sided error, inverse polynomial error probability), and also a p-pass O(np) -space deterministic algorithm. We also prove that there exists a language in DLIN, for which any p-pass deterministic algorithm for membership testing, requires (np) space. We also study the application of fingerprinting technique to visibly pushdown languages, VPLs. The other problem we consider is, given a degree sequence and a graph, checking whether the graph has the given degree sequence, DEGSEQ. We prove that, any p-pass deterministic algorithm that takes as its input a degree sequence, followed by an adjacency list of a graph, requires (np) space to decide DEGSEQ. However, using randomness, for a more general input format: degree sequence, followed by a list of edges in any arbitrary order, DEGSEQ can be decided in O(logn) space. We also give a p-pass, O(np) -space deterministic algorithm for DEGSEQ.
  • 关键词:Streaming algorithms, membership testing, context-free languages, finger printing
国家哲学社会科学文献中心版权所有