On Tuning the Bad-Character Rule: the Worst-Character Rule

Computer Science – Data Structures and Algorithms

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

10 pages

Scientific paper

In this note we present the worst-character rule, an efficient variation of the bad-character heuristic for the exact string matching problem, firstly introduced in the well-known Boyer-Moore algorithm. Our proposed rule selects a position relative to the current shift which yields the largest average advancement, according to the characters distribution in the text. Experimental results show that the worst-character rule achieves very good results especially in the case of long patterns or small alphabets in random texts and in the case of texts in natural languages.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

On Tuning the Bad-Character Rule: the Worst-Character Rule does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with On Tuning the Bad-Character Rule: the Worst-Character Rule, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and On Tuning the Bad-Character Rule: the Worst-Character Rule will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-479286

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.