EFFICIENT RANDOMIZED PATTERN-MATCHING ALGORITHMS
EFFICIENT RANDOMIZED PATTERN-MATCHING ALGORITHMS
复制标题
DOI:
10.1147/rd.312.0249
复制
发表时间:
1987-03-01
影响因子:
1.3
通讯作者:
RABIN, MO
中科院分区:
文献类型:
--
作者:
KARP, RM;RABIN, MO
We present randomized algorithms to solve the following string-matching problem and some of its generalizations: Given a string X of length n (the pattern) and a string Y (the text), find the first occurrence of X as a consecutive block within Y. The algorithms represent strings of length n by much shorter strings called fingerprints, and achieve their efficiency by manipulating fingerprints instead of longer strings. The algorithms require a constant number of storage locations, and essentially run in real time. They are conceptually simple and easy to implement. The method readily generalizes to higher-dimensional pattern-matching problems.