NIST

Morris-Pratt algorithm

(algorithm)

Definition: (no definition here, yet, but you can help.)

Generalization (I am a kind of ...)
string matching algorithm.

Implementation

Christian Charras' and Thierry Lecroq's explanation, visualization, references, and implementation (C).

More information

James H. Morris, Jr., and Vaughan R. Pratt, A linear pattern-matching algorithm, Technical Report 40, University of California, Berkeley, 1970.


Go to the Dictionary of Algorithms and Data Structures home page.

If you have suggestions, corrections, or comments, please get in touch with Paul E. Black.

Entry modified 5 February 2007.
HTML page formatted Tue Dec 6 16:16:32 2011.

Cite this as:
"Morris-Pratt algorithm", in Dictionary of Algorithms and Data Structures [online], Paul E. Black, ed., U.S. National Institute of Standards and Technology. 5 February 2007. (accessed TODAY) Available from: http://www.nist.gov/dads/HTML/morrispratt.html

to NIST home page