Average case analysis of the Boyer-Moore algorithm

  • Authors:
  • Tsung-Hsi Tsai

  • Affiliations:
  • Institute of Statistical Science, Academia Sinica, Taipei 115, Taiwan

  • Venue:
  • Random Structures & Algorithms
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Limit theorems (including a Berry-Esseen bound) are derived for the number of comparisons taken by the Boyer-Moore algorithm for finding the occurrences of a given pattern in a random text. Previously, only special variants of this algorithm have been analyzed. We also propose a means of computing the limiting constants for the mean and the variance. © 2005 Wiley Periodicals, Inc. Random Struct. Alg., 2006.