Title :
Improved Pattern Matching Algorithm of BMHS
Author :
Xie, Lin Quan ; Liu, Xiao Ming ; Yue, Guangxue
Author_Institution :
Sch. of Sci., Jiangxi Univ. of Sci. & Technol., Ganzhou, China
Abstract :
Based on the discussion and comparison of BMH, BMHS string matching algorithm, The optimum choice of which BMHS algorithm is improved, BMHS algorithm for the shortcomings, That is the algorithm fails in matching text strings match´s last bit characters to participate in the next match, in the case of a series of characters appearing, It cann´t achieve a maximum moving distance m+1.An improved algorithm of BMHS2 is proposed. In most cases, The paper proposed an improved algorithm of BMHS2 which can achieve maximum moving distance m+1 .Simulation results showed its efficiency.
Keywords :
search problems; string matching; text analysis; BMHS text string matching algorithm; Boyer-Moore-Horspool-Sunday algorithm; improved pattern matching algorithm; Information science; Algorithm; Pattern Matching; String;
Conference_Titel :
Information Science and Engineering (ISISE), 2010 International Symposium on
Conference_Location :
Shanghai
Print_ISBN :
978-1-61284-428-2
DOI :
10.1109/ISISE.2010.154