文件名称:Substituter.java
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:3.88kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
代入法的启发示搜索
我的代码实现是:按照自然语言各字母出现频率的大小从高到低(已经有人作国统计分析了)先生成一张字母出现频率统计表(A)--------(e),(t,a,o,i,n,s,h,r),(d,l),(c,u,m,w,f,g,y,p,b),(v,k,j,x,q,z)
,再对密文字母计算频率,并按频率从高到低生成一张输入密文字母的统计表(B),通过两张表的对应关系,不断用A中的字母去替换B中的字母,搜索不成功时就回退,在这里回朔是一个关键。
-generation into a search of inspiration I said a code is : According to the Natural Language alphabet frequency of the size of precedence (has been for the State Statistical Analysis), Mr. into an alphabet frequency tables (A )--------( e), (t, a, o, i, n, s, h r), (d, l), (c, u, m, w, f, g, y, p, b), (v, k, j, x, q, z), again close to the mother language calculated frequency and frequency input precedence generate a secret letter to the mother TAB (B), Table 2 by the corresponding relations, use of the letters A to B to replace the letters of the alphabet, when unsuccessful search regression, Here is a retrospective key.
我的代码实现是:按照自然语言各字母出现频率的大小从高到低(已经有人作国统计分析了)先生成一张字母出现频率统计表(A)--------(e),(t,a,o,i,n,s,h,r),(d,l),(c,u,m,w,f,g,y,p,b),(v,k,j,x,q,z)
,再对密文字母计算频率,并按频率从高到低生成一张输入密文字母的统计表(B),通过两张表的对应关系,不断用A中的字母去替换B中的字母,搜索不成功时就回退,在这里回朔是一个关键。
-generation into a search of inspiration I said a code is : According to the Natural Language alphabet frequency of the size of precedence (has been for the State Statistical Analysis), Mr. into an alphabet frequency tables (A )--------( e), (t, a, o, i, n, s, h r), (d, l), (c, u, m, w, f, g, y, p, b), (v, k, j, x, q, z), again close to the mother language calculated frequency and frequency input precedence generate a secret letter to the mother TAB (B), Table 2 by the corresponding relations, use of the letters A to B to replace the letters of the alphabet, when unsuccessful search regression, Here is a retrospective key.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Substituter.java/Substituter.java
Substituter.java
www.dssz.com.txt
Substituter.java
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.