首页    期刊浏览 2024年11月28日 星期四
登录注册

文章基本信息

  • 标题:Streaming Dictionary Matching with Mismatches
  • 本地全文:下载
  • 作者:Pawel Gawrychowski ; Tatiana Starikovskaya
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2019
  • 卷号:128
  • 页码:1-15
  • DOI:10.4230/LIPIcs.CPM.2019.21
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:In the k-mismatch problem we are given a pattern of length m and a text and must find all locations where the Hamming distance between the pattern and the text is at most k. A series of recent breakthroughs have resulted in an ultra-efficient streaming algorithm for this problem that requires only O(k log m/k) space [Clifford, Kociumaka, Porat, SODA 2019]. In this work, we consider a strictly harder problem called dictionary matching with k mismatches, where we are given a dictionary of d patterns of lengths at most m and must find all their k-mismatch occurrences in the text, and show the first streaming algorithm for it. The algorithm uses O(k d log^k d polylog m) space and processes each position of the text in O(k log^k d polylog m + occ) time, where occ is the number of k-mismatch occurrences of the patterns that end at this position. The algorithm is randomised and outputs correct answers with high probability.
  • 关键词:Streaming; multiple pattern matching; Hamming distance
国家哲学社会科学文献中心版权所有