The complexity of the Multiple Pattern Matching Problem for random strings

Abstract

We generalise a multiple string pattern matching algorithm, recently proposed by Fredriksson and Grabowski [J. Discr. Alg. 7, 2009], to deal with arbitrary dictionaries on an alphabet of size s. If rm is the number of words of length m in the dictionary, and φ(r) = m (s\, m\, rm)/m, the complexity rate for the string characters to be read by this algorithm is at most _UB\, φ(r) for some constant _UB. On the other side, we generalise the classical lower bound of Yao [SIAM J. Comput. 8, 1979], for the problem with a single pattern, to deal with arbitrary dictionaries, and determine it to be at least _LB\, φ(r). This proves the optimality of the algorithm, improving and correcting previous claims.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…