文件名称:RK
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 213kb
- 下载次数:
- 0次
- 提 供 者:
- ch***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
实验RK算法,即利用Hash方法和素数理论,首先定义一个Hash函数(hash (r) = r mod q),然后将模式串P和文本串T中长度为m的子串利用Hash函数转换成数值。显然只需比较那些与模式串具有相同Hash函数值的子串。
当然因为Hash冲突的存在,还要进一步进行字符串比较,但只要选择适当的素数q, Hash冲突的概率就会很小
-Experimental RK algorithm, namely the use of Hash methods and prime number theory, first of all define a Hash Function (hash (r) = r mod q), then the pattern string P and text string T of length m substring using Hash function to convert values . Clearly only those with the pattern string comparison Hash function values ??with the same substring. Of course, the existence of the conflict because of Hash, but also further string comparison, but as long as selecting the appropriate prime q, Hash is very small the probability of conflict
当然因为Hash冲突的存在,还要进一步进行字符串比较,但只要选择适当的素数q, Hash冲突的概率就会很小
-Experimental RK algorithm, namely the use of Hash methods and prime number theory, first of all define a Hash Function (hash (r) = r mod q), then the pattern string P and text string T of length m substring using Hash function to convert values . Clearly only those with the pattern string comparison Hash function values ??with the same substring. Of course, the existence of the conflict because of Hash, but also further string comparison, but as long as selecting the appropriate prime q, Hash is very small the probability of conflict
(系统自动生成,下载前可以参看下载内容)
下载文件列表
RK\Debug\PK.exe
..\.....\PK.ilk
..\.....\PK.pdb
..\PK\Debug\BuildLog.htm
..\..\.....\main.obj
..\..\.....\mt.dep
..\..\.....\PK.exe.embed.manifest
..\..\.....\PK.exe.embed.manifest.res
..\..\.....\PK.exe.intermediate.manifest
..\..\.....\vc90.idb
..\..\.....\vc90.pdb
..\..\main.cpp
..\..\PK.vcproj
..\..\PK.vcproj.WWW-9C81DB4521C.Administrator.user
..\PK.ncb
..\PK.sln
..\PK.suo
..\..\Debug
..\Debug
..\PK
RK
..\.....\PK.ilk
..\.....\PK.pdb
..\PK\Debug\BuildLog.htm
..\..\.....\main.obj
..\..\.....\mt.dep
..\..\.....\PK.exe.embed.manifest
..\..\.....\PK.exe.embed.manifest.res
..\..\.....\PK.exe.intermediate.manifest
..\..\.....\vc90.idb
..\..\.....\vc90.pdb
..\..\main.cpp
..\..\PK.vcproj
..\..\PK.vcproj.WWW-9C81DB4521C.Administrator.user
..\PK.ncb
..\PK.sln
..\PK.suo
..\..\Debug
..\Debug
..\PK
RK