搜索资源列表
pattern_matching
- 分别用KMP、Monte Carlo 和Las Vegas 算法编制3 个程序,随机生成不小于5000 对、 长度很长、且长度不等的01 串X 和Y(三个程序生成 相同的串),然后统计算法的执行时间、Monte Carlo算法出错的比率,并根据运行结果对三种算法进行深入的比较。注意, 先利用本题下方所给素数实现上述算法,学完素数判定 算法之后,将该算法编程,产生一定数量的大素数并用数组保存起来(分别试不超过5000、500000、50000000),以供上述随机算法使用-The
GA_cluster
- 聚类算法的实现,结合遗传算法的实现方案,原创代码。还有个kmp算法的实现,请参见kmp.c-Clustering algorithm, combined with genetic algorithm implementation, the original code. There achieve a kmp algorithm, see kmp.cpp
KMP
- 【数据结构&&算法系列】KMP算法介绍及实现(c++ && java)-KMP algorithm data structure && algorithm series introduction and implementation (c++ && Java)
282182
- 本文给出KMP算法的C++源代码 很好用的 直接下载后就能用()
hreorder
- 实现KMP算法,简单易懂,由学生实验实现,对于ACM学习有很大帮助,()
