文件名称:Ed-hoffmann-decoder-
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:15.07kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
设计一个哈弗曼编译码器,功能如下:
(1) 初始化:从终端读入字符集大小n,n个字符和n个权值,建立哈夫曼树,存入文件hfmTree
(2) 编码:利用已建立好的哈夫曼树,对文件中的正文进行编码,存入文件CodeFile
(3) 译码:利用已建立好的哈夫曼树将代码进行译码;或对目标正文编码,存入文件TextFile
(4) 印代码文件:50个每行,存入文件CodePrin
(5) 打印哈弗曼树:t同时将字符形式的哈弗曼树存入文件TreePrint
-Design a Hafu Man codec, the following functions: (1) Initialization: read from the terminal character set size n, n a n-weight character and to establish Huffman tree, into the file hfmTree (2) Coding: Using the Huffman tree has been well-established, the body of the document is encoded, stored in the file CodeFile (3) decoding: the use of already well-established code for decoding Huffman tree or text encoding of the target , into the file TextFile (4) Indian code files: 50 per line, into the file CodePrin (5) Print Hafu Man Tree: t the same time, the character form of the tree into the file TreePrint Hafu Man
(1) 初始化:从终端读入字符集大小n,n个字符和n个权值,建立哈夫曼树,存入文件hfmTree
(2) 编码:利用已建立好的哈夫曼树,对文件中的正文进行编码,存入文件CodeFile
(3) 译码:利用已建立好的哈夫曼树将代码进行译码;或对目标正文编码,存入文件TextFile
(4) 印代码文件:50个每行,存入文件CodePrin
(5) 打印哈弗曼树:t同时将字符形式的哈弗曼树存入文件TreePrint
-Design a Hafu Man codec, the following functions: (1) Initialization: read from the terminal character set size n, n a n-weight character and to establish Huffman tree, into the file hfmTree (2) Coding: Using the Huffman tree has been well-established, the body of the document is encoded, stored in the file CodeFile (3) decoding: the use of already well-established code for decoding Huffman tree or text encoding of the target , into the file TextFile (4) Indian code files: 50 per line, into the file CodePrin (5) Print Hafu Man Tree: t the same time, the character form of the tree into the file TreePrint Hafu Man
(系统自动生成,下载前可以参看下载内容)
下载文件列表
哈夫曼编译码器.txt
哈夫曼编译码器.doc
哈夫曼编译码器.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.