文件名称:StringMatch
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2.18mb
- 下载次数:
- 0次
- 提 供 者:
- 小*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
分别用KMP、Monte Carlo和Las Vegas算法编制3个程序,
随机生成不小于5000对的、长度不等的01串X和Y(三个程序生成相同的串),然后统计算法的执行时间、Monte Carlo算法出错的比率,并根据运行结果对三种算法进行深入的比较。注意,
先利用本题下方所给素数实现上述算法,学完素数判定算法之后,
将该算法编程,产生少量的大素数并用数组保存起来,
以供上述随机算法使用(素数判定算法写在上述随机算法之外)。
-Were used to KMP, Monte Carlo and Las Vegas algorithm for the preparation of three procedures, not less than 5000 pairs of randomly generated, the length ranging from 01 strings X and Y (three procedures generate the same string), and then statistical algorithm execution time, Monte Carlo algorithm is the ratio of errors and, based on the results of the three kinds of algorithms to run an in-depth comparison. Note that the first use of the title given by prime numbers below to achieve the above algorithm, completion of prime number algorithm to determine, after the algorithm is programmed to generate a small number of large prime numbers and use an array to save up for the random algorithm used (algorithm to determine prime numbers written in the above-mentioned random algorithm outside).
随机生成不小于5000对的、长度不等的01串X和Y(三个程序生成相同的串),然后统计算法的执行时间、Monte Carlo算法出错的比率,并根据运行结果对三种算法进行深入的比较。注意,
先利用本题下方所给素数实现上述算法,学完素数判定算法之后,
将该算法编程,产生少量的大素数并用数组保存起来,
以供上述随机算法使用(素数判定算法写在上述随机算法之外)。
-Were used to KMP, Monte Carlo and Las Vegas algorithm for the preparation of three procedures, not less than 5000 pairs of randomly generated, the length ranging from 01 strings X and Y (three procedures generate the same string), and then statistical algorithm execution time, Monte Carlo algorithm is the ratio of errors and, based on the results of the three kinds of algorithms to run an in-depth comparison. Note that the first use of the title given by prime numbers below to achieve the above algorithm, completion of prime number algorithm to determine, after the algorithm is programmed to generate a small number of large prime numbers and use an array to save up for the random algorithm used (algorithm to determine prime numbers written in the above-mentioned random algorithm outside).
相关搜索: StringMatch
(系统自动生成,下载前可以参看下载内容)
下载文件列表
StringMatch\算法设计说明.doc
...........\PatternMatching\PatternMatching.sln
...........\...............\PatternMatching.suo
...........\...............\UpgradeLog.XML
...........\...............\PatternMatching.sln.old
...........\...............\PatternMatching.suo.old
...........\...............\_UpgradeReport_Files\UpgradeReport.css
...........\...............\....................\UpgradeReport_Minus.gif
...........\...............\....................\UpgradeReport_Plus.gif
...........\...............\....................\UpgradeReport.xslt
...........\...............\PatternMatching\PatternMatching.cpp
...........\...............\...............\PatternMatching.vcproj
...........\...............\...............\PatternMatching.vcproj.Autumn-PC.Autumn.user
...........\...............\...............\ReadMe.txt
...........\...............\...............\stdafx.cpp
...........\...............\...............\stdafx.h
...........\...............\...............\PatternMatching.vcproj.8.00.old
...........\...............\...............\PatternMatching.vcproj.PC-200912082359.Administrator.user
...........\...............\...............\Debug\BuildLog.htm
...........\...............\...............\.....\mt.dep
...........\...............\...............\.....\PatternMatching.exe.embed.manifest
...........\...............\...............\.....\PatternMatching.exe.embed.manifest.res
...........\...............\...............\.....\PatternMatching.exe.intermediate.manifest
...........\...............\...............\.....\vc80.idb
...........\...............\...............\.....\vc80.pdb
...........\...............\...............\.....\vc90.idb
...........\...............\...............\.....\PatternMatching.pch
...........\...............\...............\.....\vc90.pdb
...........\...............\...............\.....\stdafx.obj
...........\...............\debug\PatternMatching.exe
...........\...............\.....\PatternMatching.pdb
...........\...............\.....\PatternMatching.ilk
...........\...............\PatternMatching.ncb
...........\...............\...............\Debug
...........\...............\_UpgradeReport_Files
...........\...............\PatternMatching
...........\...............\debug
...........\PatternMatching
StringMatch
...........\PatternMatching\PatternMatching.sln
...........\...............\PatternMatching.suo
...........\...............\UpgradeLog.XML
...........\...............\PatternMatching.sln.old
...........\...............\PatternMatching.suo.old
...........\...............\_UpgradeReport_Files\UpgradeReport.css
...........\...............\....................\UpgradeReport_Minus.gif
...........\...............\....................\UpgradeReport_Plus.gif
...........\...............\....................\UpgradeReport.xslt
...........\...............\PatternMatching\PatternMatching.cpp
...........\...............\...............\PatternMatching.vcproj
...........\...............\...............\PatternMatching.vcproj.Autumn-PC.Autumn.user
...........\...............\...............\ReadMe.txt
...........\...............\...............\stdafx.cpp
...........\...............\...............\stdafx.h
...........\...............\...............\PatternMatching.vcproj.8.00.old
...........\...............\...............\PatternMatching.vcproj.PC-200912082359.Administrator.user
...........\...............\...............\Debug\BuildLog.htm
...........\...............\...............\.....\mt.dep
...........\...............\...............\.....\PatternMatching.exe.embed.manifest
...........\...............\...............\.....\PatternMatching.exe.embed.manifest.res
...........\...............\...............\.....\PatternMatching.exe.intermediate.manifest
...........\...............\...............\.....\vc80.idb
...........\...............\...............\.....\vc80.pdb
...........\...............\...............\.....\vc90.idb
...........\...............\...............\.....\PatternMatching.pch
...........\...............\...............\.....\vc90.pdb
...........\...............\...............\.....\stdafx.obj
...........\...............\debug\PatternMatching.exe
...........\...............\.....\PatternMatching.pdb
...........\...............\.....\PatternMatching.ilk
...........\...............\PatternMatching.ncb
...........\...............\...............\Debug
...........\...............\_UpgradeReport_Files
...........\...............\PatternMatching
...........\...............\debug
...........\PatternMatching
StringMatch