文件名称:Ed-hoffmann-decoder-
介绍说明--下载内容均来自于网络,请自行研究使用
设计一个哈弗曼编译码器,功能如下:
(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