搜索资源列表
[C++]哈夫曼编码及译码
- [C/C++]哈夫曼编码及译码 构造赫夫曼树 HT , 并求出 n 个字符的赫夫曼编码 HC //将结果存入 hufTree.txt-[C / C] Huffman coding and decoding structure HT Huffman tree, and obtained n characters of Huffman coding HC / / results deposited hufTree.txt
实验5
- 哈夫曼编码/译码 背景介绍: 利用哈夫曼编码进行通信可以大大提高信道利用率,缩短信息传输时间,降低传输成本。但是,这要求这发送端通过一个编码系统对待传数据预先编码,在发送端将传来的数据进行译码(复原)。对于双工信道。每端都需要一个完整的编译码系统。本程序将为这样的信息收发站写一个哈夫曼的编译码系统。 哈夫曼编码/译码: 程序运行步骤: 1、建立哈夫曼树,从键盘输入字符集大小,字符以及频度。 2、对字符进行编码,输出编码结果,分单个句子和整个句子输出,编码导入
CompressDecompress.rar
- ACMS压缩算法.zip arc压缩工具.zip ASH压缩算法.zip CAB解压缩程序.zip COM压缩算法.zip C语言常用算法源代码.zip HA压缩算法.zip jac压缩算法.zip lharc压缩算法.zip LZHUF、LZSS、LZARJ压缩算法.zip LZSS压缩算法.zip lzw压缩算法.zip Splay树压缩算法.zip USQ压缩工具.zip zip解压.zip zip压缩解压范例.zip 哈夫曼编码树算法.zip 哈夫曼压缩
asm-C-CPP-program
- 包括C语言哈夫曼树的实现;win32写的代码统计工具;汇编加密解密机masm程序;C++哈夫曼树的实现;汇编简单计算器;汇编编译工具-Including the realization of C language Huffman tree win32 statistical tools to write code assembly the encryption decryption machine masm process C++ Huffman tree realization com
Hf
- 哈夫曼数的编码,译码和树的打印-The number of Huffman encoding, decoding and tree print
huf_tree.c.tar
- C语言实现哈夫曼树, 利用2叉树数据结构和优先队列思想。-hufman tree
huffman
- 用于实现c语言数据结构中哈夫曼编码的算法,并构造哈夫曼树-C language data structure used to implement the Huffman coding algorithm, and construct the Huffman tree
huffman
- 数据结构构建哈夫曼树C++源代码及实验报告-Construction of the Huffman tree data structure C++ source code and test reports
hafumanbianma
- c语言编写的哈夫曼编码。设需要编码的字符集为{d1, d2, …, dn},它们出现的频率为 {w1, w2, …, wn},应用哈夫曼树构造最短的不等长编码方案。 数据结构与算法 typedef char *HuffmanCode //动态分配数组,存储哈夫曼编码 typedef struct { unsigned int weight //用来存放各个结点的权值 unsigned int parent,LChild,RChild //指向双亲、孩子结点的指针
hafumanshu
- 哈夫曼树,C语言编程,数据结构课程,已经通过编译-Huffman tree
huffman.c
- C语言版哈夫曼树,满足书上的所有要求,而且标准无误-C language version of the Huffman tree to meet all the requirements in the book, and the standard is correct
huffman
- C++数据结构中哈夫曼函数的编写与实现,同时利用哈夫曼算法构建哈夫曼树-C++ data structure to achieve Huffman
c
- 本次试验的主要要点是哈夫曼树的建立过程,这种算法的思路是: 1)依据给定的n个权值{W0,W1,……,Wn-1}构造n棵只有一个根结点的二叉树,这些二叉树组成一个森林F={T0,T1,……,Tn-1}。 2)在森林F中选取两棵根结点的权值最小的二叉树作为左、右子树合并成一棵新的二叉树,这棵新的二叉树的根结点的权值等于其左、右子树根结点的权值之和。这样一来,森林中就减少了一棵树。 3)重复上一步,直到森林F中只有一棵二叉树为止,这棵二叉树便是要得到的哈夫曼树 二叉树建立好之后,通过
C-procedure
- 哈夫曼树,函数嵌套验证哥德巴赫猜想,汉诺塔问题,循环队列实现,杨辉三角的递归解决方案-Huffman tree, nested function verify goldbach conjecture, Hanoi problem, circular queue implementation, Yang hui triangle recursive solution
hftree
- 哈夫曼树 c++实现 哈夫曼树(Huffman Tree) 假设有n个权值{ W1,W2,…,W n },试构造有n个叶子结点的二叉树,每个叶子结点拥有一个权值W ,则其中带权路径长度WPL 最小的二叉树,称为最优二叉树或哈夫曼树。-C++ Huffman tree Huffman tree (Huffman Tree) Suppose there are n weights {W1, W2, ..., W n}, the test structure has n leaf nodes of t
HuffmanCode
- 利用哈夫曼树进行 编译码系统的设计,主要功能包括统计字符频率,编译码和哈夫曼树的动态生成(Huffman tree encoding and decoding system design)
exp6
- 对一段文本构造哈夫曼树,对所有字符根据其权值编码。对每个结点的左分支编码为0,右分支编码为1。(Constructs a Huffman tree for a text, encodes all characters according to their weights. The left branch of each node is encoded at 0 and the right branch is encoded at 1.)
压缩
- 建立哈夫曼树,对文件进行哈夫曼编码,达到对文件进行压缩的功能(Building Huffman tree, Huffman coding for files, to achieve the function of compressing files)
Huffman tree
- 分离的哈夫曼压缩和解压功能,通过建哈夫曼树实现文件压缩和解压功能(The split Hoffman compression and decompression function, by building Hoffman tree to implement the file compression and decompression function)
HuffMan
- 哈夫曼编码,实现最优化选择旅游路线,主要采取哈夫曼树的构造方法来实现功能(Huffman code, to optimize the choice of tourism route, mainly adopt the construction method of the Huffman tree to realize the function)