|
ABSTRACT
Let WRAM [PRAM] be a parallel computer with p processors (RAM's) which share a common memory and are allowed simultaneous reads and writes [only simultaneous reads]. The only type of simultaneous writes allowed is a simultaneous AND: several processors may write O simultaneously into the same memory cell. Let t be the time bound of the computer. We design below families of parallel algorithms that solve the string matching problem with inputs of size n (n is the sum of lengths of the pattern and the text) and have the following performance in terms of p, t and n: 1. For WRAM: pt &equil; O(n) for for p ≤ n/log n. 2. For PRAM: pt &equil; O(n) for P ≤ n/log2n. 3. For WRAM: t &equil; constant for p &equil; nl+&egr; and any &egr; > O. 4. For WRAM: t &equil; O(log n/log log n) for p &equil; n. Similar families are also obtained for the problem of finding all initial palindromes of a given string.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
 |
2
|
A. Borodin , J. E. Hopcroft, Routing, merging and sorting on parallel models of computation, Proceedings of the fourteenth annual ACM symposium on Theory of computing, p.338-344, May 05-07, 1982, San Francisco, California, United States
[doi> 10.1145/800070.802209]
|
 |
3
|
|
| |
4
|
I. Bar-On and U. Vishkin, Optimal parallel generation of a computation tree form, Manuscript, Department of Computer Science, Courant Institute, October 1983.
|
 |
5
|
|
| |
6
|
M.J. Fischer and M.S. Paterson, String-matching and other products, in Complexity and Computation, SIAMAMS Proceedings 7 (R.M. Karp, Ed.), pp. 113-125, American Mathematical Society, Providence, R.I., 1974.
|
| |
7
|
F.E. Fich, R.L. Ragde and A. Wigderson, Relations between concurrent-write models of parallel computation, Manuscript, November 1983.
|
| |
8
|
Z. Galil and J.I. Seiferas, Time-space-optimal string matching, JCSS 26 (1983), pp. 280-294.
|
| |
9
|
D.E. Knuth, J.H. Morris and V.R. Pratt, Fast pattern matching in strings, SIAM J. Comput. 6 (1977), pp. 322-350.
|
 |
10
|
Richard M. Karp , Raymond E. Miller , Arnold L. Rosenberg, Rapid identification of repeated patterns in strings, trees and arrays, Proceedings of the fourth annual ACM symposium on Theory of computing, p.125-136, May 01-03, 1972, Denver, Colorado, United States
[doi> 10.1145/800152.804905]
|
| |
11
|
R.M. Karp and M.O. Rabin, Efficient randomized pattern-matching algorithms, a manuscript.
|
| |
12
|
R.C. Lyndon and M.P. Schutzenberger, The equation aM &equil; bNcP in a free group, Michigan Math. J. 9 (1962), 289-298.
|
| |
13
|
F.P. Preparata and J. Vuillemin, The cube-connected-cycles: a versatile network for parallel computation, Proc. 20th IEEE FOCS (1979), pp. 140-147.
|
| |
14
|
Y. Shiloach and U. Vishkin, Finding the maximum, merging and sorting in a parallel computation model, J. of Algorithms 2 (1981), pp. 88-102.
|
| |
15
|
L.G. Valiat, Parallelism in comparison problems, SIAM J. on Computing 4 (1975), pp. 348-355.
|
| |
16
|
U. Vishkin, An optimal parallel algorithm for selection, Manuscript, Department of Computer Science, Courant Institute, December 1983.
|
CITED BY 14
|
|
|
|
|
R M Karp , E Upfal , A Wigderson, Are search and decision programs computationally equivalent?, Proceedings of the seventeenth annual ACM symposium on Theory of computing, p.464-475, May 06-08, 1985, Providence, Rhode Island, United States
|
|
|
F E Fich , F Meyer auf der Heide , P Ragde , A Wigderson, One, two, three . . . infinity: lower bounds for parallel computation, Proceedings of the seventeenth annual ACM symposium on Theory of computing, p.48-58, May 06-08, 1985, Providence, Rhode Island, United States
|
|
|
|
|
|
|
|
|
|
|
|
Ming Gu , Martin Farach , Richard Beigel, An efficient algorithm for dynamic text indexing, Proceedings of the fifth annual ACM-SIAM symposium on Discrete algorithms, p.697-704, January 23-25, 1994, Arlington, Virginia, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Z. M. Kedem , G. M. Landau , K. V. Palem, Optimal parallel suffix-prefix matching algorithm and applications, Proceedings of the first annual ACM symposium on Parallel algorithms and architectures, p.388-398, June 18-21, 1989, Santa Fe, New Mexico, United States
|
|