作者
Benny Porat, Ely Porat
发表日期
2009/10/25
研讨会论文
2009 50th Annual IEEE Symposium on Foundations of Computer Science
页码范围
315-323
出版商
IEEE
简介
We present a fully online randomized algorithm for the classical pattern matching problem that uses merely O(log m) space, breaking the O(m) barrier that held for this problem for a long time. Our method can be used as a tool in many practical applications, including monitoring Internet traffic and firewall applications. In our online model we first receive the pattern P of size m and preprocess it. After the preprocessing phase, the characters of the text T of size n arrive one at a time in an online fashion. For each index of the text input we indicate whether the pattern matches the text at that location index or not. Clearly, for index i, an indication can only be given once all characters from index i till index i+m-1 have arrived. Our goal is to provide such answers while using minimal space, and while spending as little time as possible on each character (time and space which are in O(poly(log n)) ).We present an algorithm …
引用总数
20082009201020112012201320142015201620172018201920202021202220232024114846693111012133651
学术搜索中的文章
B Porat, E Porat - 2009 50th Annual IEEE Symposium on Foundations of …, 2009