文件名称:05
介绍说明--下载内容均来自于网络,请自行研究使用
1.接受原始数据:从终端读入字符集大小n,n个字符和n个权值,建立哈夫曼树。2.编码:利用已建立好的哈夫曼树,对文件中的正文进行编码。3.译码:利用已建立好的哈夫曼树将代码进行译码。4.打印编码规则:即字符与编码的一一对应关系。-1. Accept the raw data: From the terminal reads the character set size n, n characters, and n-weights, the establishment of Huffman trees. 2. Coding: Using the already established a good Huffman tree, the body of the document to be encoded. 3. Decoding: Using the already well-established Huffman tree to decode the code. 4. Print encoding rules: namely, one to one correspondence between characters and encoding.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
05.doc