节点文献

KMP算法的一种新的简化算法

A New Improved KMP Algorithm

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 王淑礼孙伟

【Author】 WANG Shu-li,SUN Wei (Department of Computer Science,Xinyang Normal University,Xinyang 464000,China)

【机构】 信阳师范学院计算机与信息技术学院

【摘要】 通过对字符串模式匹配算法BF与KMP的分析,提出了一种简化KMP算法的方法,构造了一种新的计算next函数的方法,简化后的算法比KMP更清晰直观.经过复杂性分析和上机实验,得出当模式串的长度不大时,简化算法是一种高效的模式匹配算法.

【Abstract】 This paper analyses the BF algorithm and KMP algorithm of string matching. Then provides a new algorithm for next function of KMP.The new algorithm is more clear and intuitional.By ways of complex analysis and computer experiment,gets the conclusion that the improved algorithm of KMP is effective when the string model is shorter.

【关键词】 KMP算法模式匹配next函数
【Key words】 KMP algorithmstring matchingnext function
【基金】 河南省基础与前沿技术研究计划项目(122300410151);河南省高等教育教学改革研究项目(2012SJGLX205)
  • 【文献出处】 数学的实践与认识 ,Mathematics in Practice and Theory , 编辑部邮箱 ,2012年12期
  • 【分类号】TP301.6
  • 【被引频次】8
  • 【下载频次】280
节点文献中: 

本文链接的文献网络图示:

本文的引文网络