文件名称:hafuman
介绍说明--下载内容均来自于网络,请自行研究使用
哈夫曼编码/译码器
1)问题描述
设计一个利用哈夫曼算法的编码,重复地显示并处理以下项目,直到选择退出为止。
2)基本要求
(1)初始化:键盘输入字符集大小n、n个字符和n个权值,建立哈夫曼树;
(2)编码:利用建好的哈夫曼树生成哈夫曼编码;
(3)输出编码;
-Huffman Encoder/Decoder 1) Descr iption of the problem to design an algorithm using Huffman coding, repeat show and deal with the following items until the opt-out so far. 2) the basic requirements (1) Initialization: keyboard input character set size of n, n and n characters of the right value, the establishment of Huffman tree (2) Coding: Using the built Huffman Huffman tree generated coding (3) the output coding
1)问题描述
设计一个利用哈夫曼算法的编码,重复地显示并处理以下项目,直到选择退出为止。
2)基本要求
(1)初始化:键盘输入字符集大小n、n个字符和n个权值,建立哈夫曼树;
(2)编码:利用建好的哈夫曼树生成哈夫曼编码;
(3)输出编码;
-Huffman Encoder/Decoder 1) Descr iption of the problem to design an algorithm using Huffman coding, repeat show and deal with the following items until the opt-out so far. 2) the basic requirements (1) Initialization: keyboard input character set size of n, n and n characters of the right value, the establishment of Huffman tree (2) Coding: Using the built Huffman Huffman tree generated coding (3) the output coding
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建 文本文档.txt