首页 | 本学科首页   官方微博 | 高级检索  
     

BM模式匹配算法的研究和改进
引用本文:揣锦华,郑景,关锐.BM模式匹配算法的研究和改进[J].电子设计工程,2012,20(19):52-54.
作者姓名:揣锦华  郑景  关锐
作者单位:长安大学信息工程学院,陕西西安,710064
摘    要:模式匹配算法在数字通信、入侵检测等多种领域都有着广泛的应用,BM算法以其高效的匹配过程成为模式匹配算法中应用最为广泛的算法之一。尽管如此,BM算法的效率还是可以再提高的。本文在介绍经典BM算法及其改进的BMH、BMHS算法的基础上,通过整合、改进后,提出了一种新的改进的IBMH算法。在对以上算法进行复杂度分析以后,再通过具体的实验验证。结果表明IBMH算法在比较次数、运行时间、稳定性等方面明显优于BM、BMH以及BMHS等算法。

关 键 词:模式匹配  字符串查找  BM算法  BMH算法  BMHS算法

Study and improve of BM pattern matching algorithms
CHUAI Jin-hua,ZHENG Jing,GUAN Rui.Study and improve of BM pattern matching algorithms[J].Electronic Design Engineering,2012,20(19):52-54.
Authors:CHUAI Jin-hua  ZHENG Jing  GUAN Rui
Affiliation:(Department of Information Engineering, Chang' an University, X i ' an 710064, China)
Abstract:Pattern matching algorithms are widely used in digital communications, intrusion detection and other areas. BM algorithm is one of the most widely used pattern matching algorithm for its excellent efficiency. However, the efficiency of BM algorithm can be improved. Based on BM, BMH and BMHS algorithm, and through integrating and improving, the paper proposed IBMH algorithm which is a new improved algorithm. After the analysis of the algorithms complexity, the paper made an experimental test. And the results show that the IBMH algorithm is much better than BM, BMH and BMHS algorithm in comparisons times, running time and stability.
Keywords:pattern matching  string search  Boyer-Moore (BM) Algorithm  BMH algorithm  BMHS algorithm
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号