KMP--suanfa

所属分类:文章/文档
开发工具:Java
文件大小:102KB
下载次数:26
上传日期:2009-03-30 18:51:52
上 传 者zuoxiang2008
说明:  初看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算法.doc (179712, 2009-03-30)

近期下载者

相关文件


收藏者