文件名称:hfm
-
所属分类:
- 标签属性:
- 上传时间:2012-10-23
-
文件大小:7.5kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
树形结构的应用
——哈弗曼编码/译码1.程序的功能:
输入明文,通过统计不同字符出现的频率作为权值,生成哈弗曼树,并存于文件中;编码生成暗文,存于文件中;再由暗文生成明文,存于文件中。
2.输入输出的要求:
仅能输入英文字母作为明文,输出0、1组成的暗文。
3.测试数据:
(1)asdjfas
(2 ) dkfskjdfcijj
(3 ) ovenmkjovi-1. Program features: input plaintext, through statistical frequency of occurrence of different characters as weights to generate Hafu Man tree, co-exist in the file code generation dark text, stored in the document and then the text generated by the dark, plain text, stored in file . 2. Input and output requirements: only enter the letter as plain text, composed of dark text output 0,1. 3. Test data: (1) asdjfas (2) dkfskjdfcijj (3) ovenmkjovi
——哈弗曼编码/译码1.程序的功能:
输入明文,通过统计不同字符出现的频率作为权值,生成哈弗曼树,并存于文件中;编码生成暗文,存于文件中;再由暗文生成明文,存于文件中。
2.输入输出的要求:
仅能输入英文字母作为明文,输出0、1组成的暗文。
3.测试数据:
(1)asdjfas
(2 ) dkfskjdfcijj
(3 ) ovenmkjovi-1. Program features: input plaintext, through statistical frequency of occurrence of different characters as weights to generate Hafu Man tree, co-exist in the file code generation dark text, stored in the document and then the text generated by the dark, plain text, stored in file . 2. Input and output requirements: only enter the letter as plain text, composed of dark text output 0,1. 3. Test data: (1) asdjfas (2) dkfskjdfcijj (3) ovenmkjovi
(系统自动生成,下载前可以参看下载内容)
下载文件列表
哈弗曼实验报告hfm.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.