ACM Home Page
Please provide us with feedback. Feedback
Optimal parallel algorithms for string matching
Full text PdfPdf (652 KB)
Source Annual ACM Symposium on Theory of Computing archive
Proceedings of the sixteenth annual ACM symposium on Theory of computing table of contents
Pages: 240 - 248  
Year of Publication: 1984
ISBN:0-89791-133-4
Author
Sponsor
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 9,   Downloads (12 Months): 62,   Citation Count: 14
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/800057.808687
What is a DOI?

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
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
 
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