2005
DOI: 10.7146/brics.v12i29.21896
|View full text |Cite
|
Sign up to set email alerts
|

On Obtaining the Boyer-Moore String-Matching Algorithm by Partial Evaluation

Abstract: We present the first derivation of the search phase of the Boyer-Moore stringmatching algorithm by partial evaluation of an inefficient string matcher. The derivation hinges on identifying the bad-character-shift heuristic as a bindingtime improvement, bounded static variation. An inefficient string matcher incorporating this binding-time improvement specializes into the search phase of the Horspool algorithm, which is a simplified variant of the Boyer-Moore algorithm. Combining the bad-character-shift binding… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
6
0

Year Published

2017
2017
2022
2022

Publication Types

Select...
3

Relationship

0
3

Authors

Journals

citations
Cited by 3 publications
(6 citation statements)
references
References 8 publications
0
6
0
Order By: Relevance
“…The right-to-left scan, the bmBc shift rule, and the bmGs shift rule are three ingenious concepts used by the Boyer-Moore algorithm. [25][26][27] Together, these approaches result in a method that, for suitably big alphabets and extensive patterns, often runs in "sublinear" time. This approach use the bmBc and bmGs tables to compute the amount of moves necessary to slide the window over the text, ensuring that no match is overlooked.…”
Section: 11mentioning
confidence: 99%
See 2 more Smart Citations
“…The right-to-left scan, the bmBc shift rule, and the bmGs shift rule are three ingenious concepts used by the Boyer-Moore algorithm. [25][26][27] Together, these approaches result in a method that, for suitably big alphabets and extensive patterns, often runs in "sublinear" time. This approach use the bmBc and bmGs tables to compute the amount of moves necessary to slide the window over the text, ensuring that no match is overlooked.…”
Section: 11mentioning
confidence: 99%
“…The Shift-Or method 10,24,26,39,40 works on the principle of representing the search state as a number, with each search attempt doing a small number of arithmetic and logical operations. When the pattern length is smaller than the memory-word size of the machine, the Shift-Or method can be efficient by leveraging bitwise techniques.…”
Section: Shift-or Algorithmmentioning
confidence: 99%
See 1 more Smart Citation
“…Boyer-Moore algorithm is an algorithm used for string searching [12][13][14][15][16][17][18][19][20]. In conducting string searching, the Boyer-Moore algorithm is highly accurate.…”
Section: Ambiguous Word Search Using Boyer-moorementioning
confidence: 99%
“…There are a number of tools available to delete the duplicate files in the system. The main disadvantage of these tools is that they only help to delete the files with similar categories (doc to doc, pdf to pdf, txt to txt, xls to xls).In file comparison, string searching algorithms are used and it tries to find a position where one or more than a few strings (also called patterns) are found within a string or text [2] [16].…”
Section: Introductionmentioning
confidence: 99%