Pattern Matching in Multiple Streams [article]

Raphael Clifford, Markus Jalsenius, Ely Porat, Benjamin Sach
<span title="2012-04-25">2012</span> <i > arXiv </i> &nbsp; <span class="release-stage" >pre-print</span>
We investigate the problem of deterministic pattern matching in multiple streams. In this model, one symbol arrives at a time and is associated with one of s streaming texts. The task at each time step is to report if there is a new match between a fixed pattern of length m and a newly updated stream. As is usual in the streaming context, the goal is to use as little space as possible while still reporting matches quickly. We give almost matching upper and lower space bounds for three distinct
more &raquo; ... attern matching problems. For exact matching we show that the problem can be solved in constant time per arriving symbol and O(m+s) words of space. For the k-mismatch and k-difference problems we give O(k) time solutions that require O(m+ks) words of space. In all three cases we also give space lower bounds which show our methods are optimal up to a single logarithmic factor. Finally we set out a number of open problems related to this new model for pattern matching.
<span class="external-identifiers"> <a target="_blank" rel="external noopener" href="https://arxiv.org/abs/1202.3470v2">arXiv:1202.3470v2</a> <a target="_blank" rel="external noopener" href="https://fatcat.wiki/release/b4oazacdljcwtb74ee7mcvsn3a">fatcat:b4oazacdljcwtb74ee7mcvsn3a</a> </span>
<a target="_blank" rel="noopener" href="https://web.archive.org/web/20171006110703/https://core.ac.uk/download/pdf/2255467.pdf" title="fulltext PDF download" data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"> <button class="ui simple right pointing dropdown compact black labeled icon button serp-button"> <i class="icon ia-icon"></i> Web Archive [PDF] <div class="menu fulltext-thumbnail"> <img src="https://blobs.fatcat.wiki/thumbnail/pdf/42/7a/427a30f330e128c7822418eb7cda2dc61862b7c1.180px.jpg" alt="fulltext thumbnail" loading="lazy"> </div> </button> </a> <a target="_blank" rel="external noopener" href="https://arxiv.org/abs/1202.3470v2" title="arxiv.org access"> <button class="ui compact blue labeled icon button serp-button"> <i class="file alternate outline icon"></i> arxiv.org </button> </a>