Analysis of Boyer-Moore-Horspool string-
β
Hosam M. Mahmoud; Robert T. Smythe; Mireille RΓ©gnier
π
Article
π
2000
π
John Wiley and Sons
π
English
β 216 KB
We investigate the probabilistic behavior of a string-matching heuristic used for searching for the occurrences of a pattern in a random text. Our investigation covers the two cases when the pattern itself is fixed or random. Under suitable normalization we show that the total search time is asympto