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

Entry modified 5 February 2007.
HTML page formatted Mon Feb 2 13:10:40 2015.

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