搜索资源列表
huffman
- Huffman编码是最优变长码,请设计一个Huffma编码程序,实现以下功能: (1)接收原始数据:从终端读入字符集大小n,以及n个字符和权值,建立Huffman 树,并将它文件hfmtree.dat中。 (2)编码:利用已建立的哈夫曼树,对文件中的正文进行编码,将结果存入文件codefile.dat中。 (3)译码:利用已建立号的哈夫曼树将sodefile.dat中的代码进行译码,结果存入文件textfile.dat中。 (4)打印编码规:即字符与编码之间的一一对应关系。
tao
- 一份很完美的哈夫曼编码译码器得实习报告。源程序功能有编码,译码,打印哈夫曼树。是数据结构实习课得一个范例。
20080123140714472
- (1)接收原始数据: 从终端读入字符集大小n,n个字符和n个权值,建立哈夫曼树,存于文件hfmtree.dat中。 (2)编码: 利用已建好的哈夫曼树(如不在内存,则从文件hfmtree.dat中读入)对文件中的正文进行编码,然后将结果存入文件codefile.dat中。 (3)译码: 利用已建好的哈夫曼树将文件codefile.dat中的代码进行译码,结果存入文件textfile.dat 中。 (4)打印编码规则:即字符与编码的一一对应关系。 (5)打印哈夫曼树:将已在
Hf
- 哈夫曼数的编码,译码和树的打印-The number of Huffman encoding, decoding and tree print
实习5.2
- 哈夫曼编码,实现了哈夫曼编码中的编码,译码,以及打印的功能.-Huffman coding, achieving Huffman coding of encoding, decoding, and printing functions.
beta3
- 一个有关哈夫曼编码的例子,可以编码,屏幕打印,和输出。-An example of Huffman coding can be coded, screen printing, and output.
huffman
- haffman编码实现功能:建立哈夫曼树,编码,译码,打印哈夫曼树等-haffman coding
hafuman
- 实现哈夫曼编码译码,可以实现,本实验可以实现编码,译码,打印哈夫曼数,等-There is a chance to appreciate different ways of life.
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 tre
haffmantree
- 哈夫曼树及哈夫曼表的建立和打印(按树形打印)-create and print haffmantree and haffmancode
chengxu
- 从键盘输入若干字符,统计每个字符出现的频率,将字符出现的频率作为结点的权值,建立哈夫曼树,然后对各个字符进行哈夫曼编码,最后打印输出每个字符及对应的哈夫曼编-Enter the number of characters from the keyboard, statistics, the frequency of each character, the character frequency of occurrence as the node weights to build the Huffm
Ed-hoffmann-decoder-
- 设计一个哈弗曼编译码器,功能如下: (1) 初始化:从终端读入字符集大小n,n个字符和n个权值,建立哈夫曼树,存入文件hfmTree (2) 编码:利用已建立好的哈夫曼树,对文件中的正文进行编码,存入文件CodeFile (3) 译码:利用已建立好的哈夫曼树将代码进行译码;或对目标正文编码,存入文件TextFile (4) 印代码文件:50个每行,存入文件CodePrin (5) 打印哈弗曼树:t同时将字符形式的哈弗曼树存入文件TreePrint -Design a Ha
Huffman
- 哈夫曼编码器,实现哈夫曼编码并能打印,你可以看看,十分基础但是很关键-Huffman coding, Huffman coding, and can print
huff
- 哈夫曼编译码系统,有简单的编码、译码、打印哈夫曼树等功能。-Huffman encoding and decoding systems, encoding, decoding, and printing features such as the Huffman tree.
huffman
- 输入字符权值,然后生成对应的哈夫曼编码并打印出来!-Enter the character weights, and then generate the corresponding Huffman coding and print them out!
hoffman-encodeadecode
- 数据结构与算法的一个课程设计,内含实验报告。主要功能有: 用户可以执行的的功能有: (1)---选择读取某个源文件由系统解析建立哈夫曼树 (2)---手动输入字符集及其权值信息建立哈夫曼树 (3)---打印字符集的哈夫曼编码到屏幕 (4)---选择某个文本文件进行编码 (5)---选择某个代码文件进行译码 -Data structures and algorithms, a curriculum design, containing experimental r
Tree
- 用C++语言写的哈夫曼变异和译码系统,能实现建树、遍历、编码、译码、打印等。-Huffman write C++ language variation and decoding system to achieve the achievements, traversal, encoding, decoding, printing and so on.
hafuman
- 该程序为实现哈夫曼的一些应用而设计的,其中用到了MFC直观的打印了树的形状,并且在界面上做了些美化工作,用到了屏幕雨,通过光标移动可控制程序的菜单,等等。-The program for the Huffman some applications and design, which uses the MFC prints intuitive tree shape, and the interface to do some landscaping work, use a rain screen,
哈夫曼源码
- 根据所输入的字符已经权值构造哈夫曼树以及其编码,并将哈夫曼树打印出来,然后显示各个字符的编码(According to the input characters have been weighted structure Huffman tree and its encoding, and the Huffman tree print out, and then display the encoding of each character)
adaptiveHuffman
- 自适应哈夫曼编码的C++实现,从屏幕读取输入,将每个字符的编码及总体编码打印在屏幕上。(The C++ implementation of adaptive Huffman coding reads the input from the screen and prints the encoding and overall encoding of each character on the screen.)