A lower bound for parallel string matching

We present an Q(log log rn) lower bound on the number of rounds necessary for finding occurrences of a pattern string P[l. .rn] in a text string T[l ..2rn] in lparallel using m comparisons in each round. This is the first lower bound for this problem. The bound is within a constant factor of the fastest algorithm for this problem [BG] and also holds for an m-processor CRCW-PRAM in the case of a general alphabet. Consequently we derive the parallel complexity of the string matching problem using p processors for general alphabets which is, ● @(log logm) if &<P<m or in short Q( [~1 + log log(l+pi~l 2P).

[1]  Ming Li Lower Bounds on String-Matching , 1984 .

[2]  Ming Li,et al.  String-Matching Cannot be Done by a Two-Head One-Way Deterministic Finite Automation , 1986, Inf. Process. Lett..

[3]  Donald E. Knuth,et al.  Fast Pattern Matching in Strings , 1977, SIAM J. Comput..

[4]  Zvi Galil,et al.  Saving Space in Fast String-Matching , 1980, SIAM J. Comput..

[5]  Allan Borodin,et al.  A time-space tradeoff for sorting on a general sequential model of computation , 1980, STOC '80.

[6]  Robert S. Boyer,et al.  A fast string searching algorithm , 1977, CACM.

[7]  Zvi Galil Optimal Parallel Algorithms for String Matching , 1985, Inf. Control..

[8]  Allan Borodin,et al.  A time-space tradeoff for sorting on non-oblivious machines , 1979, 20th Annual Symposium on Foundations of Computer Science (sfcs 1979).

[9]  Maxime Crochemore,et al.  String-matching and periods , 1989, Bull. EATCS.

[10]  Faith Ellen,et al.  Relations between concurrent-write models of parallel computation , 1984, PODC '84.

[11]  J. Rosser,et al.  Approximate formulas for some functions of prime numbers , 1962 .

[12]  Faith Ellen,et al.  Relations Between Concurrent-Write Models of Parallel Computation , 1988, SIAM J. Comput..

[13]  Zvi Galil,et al.  Optimal parallel algorithms for string matching , 1984, STOC '84.

[14]  Zvi Galil,et al.  An Optimal O(log log n) Time Parallel String Matching Algorithm , 1990, SIAM J. Comput..

[15]  J. Barkley Rosser,et al.  Approximate Formulas for Some Functions of Prime Numbers , 1963 .

[16]  Andrew Hume,et al.  Fast string searching , 1991, USENIX Summer.

[17]  Zvi Galil,et al.  Time-Space-Optimal String Matching , 1983, J. Comput. Syst. Sci..

[18]  Uzi Vishkin,et al.  Deterministic sampling—a new technique for fast pattern matching , 1990, STOC '90.

[19]  Wojciech Rytter,et al.  Analysis of algorithms and data structures , 1991, International computer science series.

[20]  Uzi Vishkin,et al.  Optimal Parallel Pattern Matching in Strings , 2017, Inf. Control..