Fast Parallel and Serial Approximate Array Matching

A. Amihood, G. Landau

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

Abstract

Consider the multidimensional array matching problem, where differences between characters of the pattern and characters of the text are permitted. A difference may be due to a mismatch between a text and pattern character, superfluous text character or superfluous pattern character. Given a d-dimensional array of size nd (text) and a d-dimensional array of size md pattern we present the following algorithms: For a given k, find all occurrences of the pattern in the text with at most k differences. Our serial algorithm runs in time O(nd(dk+k2)) and the parallel algorithm runs in time O(d(dlog n+ k)+k2) using nd processors. If superfluous characters are not allowed and the only permitted errors are mismatches, we solve the problem serially in time O(nddk) and in parallel in time O(d(dlogn+k)) using nd processors. We present an alternate algorithm for the mismatches problem which runs serially in time O(2dndlog2 m) and in parallel in time O(d log n) using nd processors. This algorithm is more efficient for large k. We also give an efficient solution to the close-match problem. Here a mismatch weight function f:Σ×Σ→[0,1] is assigned. The weight function gives weight to the mismatches, some mismatches being worse than others. We present a serial algorithm for finding all appearances of the pattern in the text with a bounded total error in time O(2dnd log2 m). Our parallel algorithm is again of time complexity O(d log n) using nd processors.
Original languageAmerican English
Title of host publicationSequences: Combinatorics, Compression, Security and Transmission
StatePublished - 1988

Bibliographical note

Place of conference:Positano, Italy

Fingerprint

Dive into the research topics of 'Fast Parallel and Serial Approximate Array Matching'. Together they form a unique fingerprint.

Cite this