文件名称:KMP--suanfa
介绍说明--下载内容来自于网络,使用问题请自行百度
初看kmp算法的时候有点模糊,第一次就根本没明白过。 仔细的推敲。找相关类似的问题。现在把源程序贴出来供大家参考。 关键一点就是要了解next函数的构造,以及为什么要这么做。在数据结构中的next推倒,不过不是很好理解。 其中next是按1开始。
-Kmp algorithm for the beginning of the time look a bit vague on the first did not understand too. Careful scrutiny. To find a similar problem related. Now put out the source code posted for your reference. The key point is to know the structure of next function, and why to do so. Data structure at the next tear down, but not well understood. 1 are in accordance with one of next start.
-Kmp algorithm for the beginning of the time look a bit vague on the first did not understand too. Careful scrutiny. To find a similar problem related. Now put out the source code posted for your reference. The key point is to know the structure of next function, and why to do so. Data structure at the next tear down, but not well understood. 1 are in accordance with one of next start.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
KMP算法.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.