On Implementation of Improved Karp-Rabin Pattern Matching Algorighmic

Xi-hong WU
DOI: https://doi.org/10.13718/j.cnki.xsxb.2016.10.019
2016-01-01
Abstract:An improved Karp-Rabin (I_KR)algorithm has been promoted in this paper for string matching based on the detailed analysis of Karp-Rabin (KR)algorithm.The improvements of I_KR algorithm are in two ways:one is that,after the hashed value of the T'substrings,two times Hash functions has been used,which is compared with the hashed value of the P;the other is that bidirectional parallel is used when matching.To analyze the performance of the I_KR algorithm,some experiments have been done from some aspects which are matched times and compared characters'numbers through the number of dif-ferent text strings and pattern strings.The experimental results show the I_KR algorithm can reduce the times of matching and shorten the time of matching.The I_KR algorithm enhances the algorithm's speed effectively.
What problem does this paper attempt to address?