Edward A. Fox
Department of Computer Science,
Virginia Tech, Blacksburg VA 24061-0106
Common string searching, on the other hand, simply takes a pattern and tries to find match(es) in a target string. Since this is such an important operation, fast algorithms are critical. Chapter 10 surveys the numerous algorithms, considers their strengths and weaknesses, and gives empirical performance data. Practice with the grep family of UNIX commands reinforces these results. The xtango package helps clarify the operation of the KMP and Boyer-Moore algorithms.
This Unit has 2 chapters, 2 exercises, 2 lectures, and a session in the laboratory (September 29).