Boyer–Moore string search algorithm

Boyer–Moore string search algorithm

Jesse Russell Ronald Cohn

     

бумажная книга



ISBN: 978-5-5089-7184-7

High Quality Content by WIKIPEDIA articles! In computer science, the Boyer–Moore string search algorithm is an efficient string searching algorithm that is the standard benchmark for practical string search literature. It was developed by Robert S. Boyer and J Strother Moore in 1977. The algorithm preprocesses the string being searched for (the pattern), but not the string being searched in (the text). It is thus well-suited for applications in which the text does not persist across multiple searches. The Boyer-Moore algorithm uses information gathered during the preprocess step to skip sections of the text, resulting in a lower constant factor than many other string algorithms. In general, the algorithm runs faster as the pattern length increases.