节点文献

KMP算法的理论研究

Theoretical Research of KMP Algorithm

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

【作者】 韩光辉曾诚

【Author】 HAN Guang-hui~1,ZENG Cheng~(2,3) (1 Information Engineering Department,Wuhan Commercial Service College,Wuhan 430056,China; 2 College of Mathematics & Computer Science,Hubei University,Wuhan 430062,China; 3 State Key Laboratory of Software Engineering.Wuhan University,Wuhan 430072,China)

【机构】 武汉商业服务学院信息工程系湖北大学数学与计算机科学学院武汉大学软件工程国家重点实验室

【摘要】 KMP算法是经典的串匹配算法之一.本文首先引入刻划模式串前缀特征的集合K_j及其划分,讨论了其若干性质.然后定义函数f与next,利用f刻划了K_j的构造,由此得到了f的迭代计算方法;证明了next与f之间的关系,从而给出了KMP算法原理的形式表述和数学证明.最后,基于f的迭代计算方法以及next与f之间的关系,给出了算法描述,分析了时间复杂度.

【Abstract】 KMP algorithm is one of classic string matching algorithms.A set K,,for 1 <j≤m,which characterize a pattern prefix,and its partition are introduced,their some properties are discussed.Then,functions / and next are defined,the structure of K_j is described by f,a iterative computing method of / is proposed,the relationship between functions next and f is proved.Thus,mathematical principles of KMP algorithm is strictly established. Finally,the algorithm is described based on the iterative computing method of / and the relationship between functions next and f,and its complexity is analyzed.

【基金】 国家自然科学基金项目(60903034,61100018,61100025,61100026);湖北省自然科学基金项目(2011CDB069)
  • 【文献出处】 微电子学与计算机 ,Microelectronics & Computer , 编辑部邮箱 ,2013年04期
  • 【分类号】TP301.6
  • 【被引频次】22
  • 【下载频次】389
节点文献中: 

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

本文的引文网络