Skip to main navigation Skip to search Skip to main content

Optimal Parallel Pattern Matching Through Randomization

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

We present an optimal parallel pattern matching algorithm for d-dimensional patterns. Namely, for two d-dimensional arrays A and B, ∣A∣ = md= M, ∣B∣ = nd= N, and k ≤ N/log2m processors, all occurrences of A in B can be found in time dcN/k + log2k on an exclusive read exclusive write (EREW) PRAM, or in time dcN/k on a concurrent read exclusive write (CREW) PRAM. In the CREW algorithm, concurrent read is invoked just once. The main tools are parallel prefix computation and randomization. All previous results in this area [Vishkin, 85; Kedem, Landau, Palem, 89] employed a concurrent read concurrent write (CRCW) PRAM model. As a demonstration of the power of this method, we provide a simple optimally efficient algorithm for the suffix-prefix matching problem of [Kedem, Landau Palem, 89] again for an EREW rather than for a CRCW machine.
Original languageEnglish
Title of host publicationSequences II
EditorsRenato Capocelli, Alfredo De Santis, Ugo Vaccaro
Place of PublicationNew York, NY
PublisherSpringer New York
Pages292-299
Number of pages8
ISBN (Print)978-1-4613-9323-8
DOIs
StatePublished - 1993

Fingerprint

Dive into the research topics of 'Optimal Parallel Pattern Matching Through Randomization'. Together they form a unique fingerprint.

Cite this