Simple Optimal String Matching Algorithm
โ
Cyril Allauzen; Mathieu Raffinot
๐
Article
๐
2000
๐
Elsevier Science
๐
English
โ 140 KB
We present a new string matching algorithm optimal on average (with equiprobability and independence of letters, in O m + n log m/m , where n is the size of the text and m the size of the searched word, both taken on an alphabet ) and linear in the worst case (in O m + n ). Of all the algorithms tha