A Fast Single-Pattern Match Algorithm
Yang Zijian
Abstract
Yang Zijian
Abstract
After analyzing BM algorithm and some important improved algorithms,a new improved algorithm called Y_BMHS is put forward. With a two-dimensional array,the algorithm considers the uniqueness of text string's last two interval characters and pattern string's first character. The proposed algorithm makes the maximum displacement enhance to m + 3,and the occurrence probability and match speed are also improved. The experimental results show that the Y_BMHS algorithm performs better than BM,BMH,BMHS and other improved algorithms as well.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
After analyzing BM algorithm and some important improved algorithms,a new improved algorithm called Y_BMHS is put forward. With a two-dimensional array,the algorithm considers the uniqueness of text string's last two interval characters and pattern string's first character. The proposed algorithm makes the maximum displacement enhance to m + 3,and the occurrence probability and match speed are also improved. The experimental results show that the Y_BMHS algorithm performs better than BM,BMH,BMHS and other improved algorithms as well.
Key concepts: Algorithm, Uniqueness, String (physics), String searching algorithm, Character (mathematics), Interval (graph theory), Computer science, Displacement (psychology)