文件名称:4
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:7.15kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
哈夫曼编/译码器
需求分析
根据程序目录建立函数,分别为CREATE-建立哈夫曼树,TABLE-输出编码,CODING-编码,DECODING-译码。
CREATE 函数实现从键盘输入字符集中的所有字符及其对应的频率值,建立哈夫曼编码树。
TABLE函数实现利用已建好的哈夫曼树,列出字符集中的所有字符及其对应的哈夫曼编码。
CODING函数实现利用建好哈夫曼树,对从键盘输入的正文串进行编码,并在屏幕上显示结果。
DECODING函数实现利用已建好的哈夫曼树,对从键盘输入的0,1代码串进行译码,并在屏幕上显示结果。-Huffman encoder/decoder needs analysis in accordance with procedures established directory function, namely the establishment of CREATE-Huffman tree, TABLE-output coding, CODING-coding, DECODING-decoding. CREATE function keyboard input from all the characters in character and its corresponding frequency value, the establishment of Huffman coding tree. TABLE function has been built using Huffman tree, listed in character all the characters and their corresponding Huffman. CODING function built using Huffman tree, keyboard input from the body encoded string, and the result will be displayed on the screen. Decoding function has been built using Huffman tree, from the keyboard input of 0,1 decoding code strings, and the result will be displayed on the screen.
需求分析
根据程序目录建立函数,分别为CREATE-建立哈夫曼树,TABLE-输出编码,CODING-编码,DECODING-译码。
CREATE 函数实现从键盘输入字符集中的所有字符及其对应的频率值,建立哈夫曼编码树。
TABLE函数实现利用已建好的哈夫曼树,列出字符集中的所有字符及其对应的哈夫曼编码。
CODING函数实现利用建好哈夫曼树,对从键盘输入的正文串进行编码,并在屏幕上显示结果。
DECODING函数实现利用已建好的哈夫曼树,对从键盘输入的0,1代码串进行译码,并在屏幕上显示结果。-Huffman encoder/decoder needs analysis in accordance with procedures established directory function, namely the establishment of CREATE-Huffman tree, TABLE-output coding, CODING-coding, DECODING-decoding. CREATE function keyboard input from all the characters in character and its corresponding frequency value, the establishment of Huffman coding tree. TABLE function has been built using Huffman tree, listed in character all the characters and their corresponding Huffman. CODING function built using Huffman tree, keyboard input from the body encoded string, and the result will be displayed on the screen. Decoding function has been built using Huffman tree, from the keyboard input of 0,1 decoding code strings, and the result will be displayed on the screen.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
哈夫曼编译码器.opt
huffman.cpp
哈夫曼编译码器.ncb
哈夫曼编译码器.plg
哈夫曼编译码器.dsp
哈夫曼编译码器.dsw
huffman.cpp
哈夫曼编译码器.ncb
哈夫曼编译码器.plg
哈夫曼编译码器.dsp
哈夫曼编译码器.dsw
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.