搜索资源列表
哈夫曼算法
- c语言编写的哈夫曼程序,运行通过的!根据输入构建哈夫曼树.-prepared by Huffman, the running through! According to the importation of construction Huffman tree.
体系结构指令哈夫曼编码
- 这是计算机体系结构中用哈夫曼编码进行指令编码的程序,并构建哈夫曼树-This the computer architecture used Huffman coding instructions for coding procedures, and to build Huffman tree! !
HFMBM
- 该程序实现哈夫曼树的构建,编码,具备简单的译码功能-The program realization of Huffman tree construction, encoding, decoding functions have simple
huffman
- 一份huff_tc.c,只能在tc下运行,因为加入了用tc图形界面直观画出树形的代码。一份是huff_vc.c,是在vc和tc下都能运行的程序,没有直观表达编码的树形结构。 [目的] 构建所输入符号(及权值)的哈夫曼树,并利用该树求出各符号的编码,深入理解最优二叉树的概念及其特性。 [问题描述] 读入各个符号及其权值,求各符号的哈夫曼编码。 [基本要求] (1)读入各个符号及其权值,建立哈夫曼树; (2)利用建立的哈夫曼树对各符号进行编码,输出编码结果。 [
huffmancode
- 这是我近来完成的一个用哈夫曼树进行二进制编码操作的数据结构作业。用户通过输入26个字母,程序会根据26个字母出现的频率自动构建哈夫曼树并输出这些字母的二进制编码。-This is my recently completed a binary tree with Huffman encoding operation of the data structure operations. User by entering the 26 letter, the program will be 26 let
Huffman
- 输入字符以及对应的概率权值,构建哈夫曼树;通过程序计算出哈夫曼编码并输出结构-Enter the characters and the corresponding probability weights to construct the Huffman tree Huffman calculated by the program and output structure
huffman
- 从文件中读入字符集大小n,以及n个字符和n个权值。构建哈夫曼树,对每个字符生成哈夫曼编码。从文件中读入需编码的字符串,利用哈夫曼编码,对字符串进行编码,编码结果保存在文件。-The character read from the file set size n, and n-n character and the right values. Construction of Huffman tree generated Huffman code for each character. Read f
haffman
- 构建所输入符号(及权值)的Huffman树,并利用该树求出各符号 的 Huffman编码,深入理解最优二叉树的概念及其特性。 -Construction of the input symbols (and weight) of the Huffman tree and the tree obtained using Huffman coding of the symbols, in-depth understanding of the concept of optimal binary tr
Huffman
- 根据给定节点以及相对应的权值或者出现的概率大小构建哈夫曼树并编码-Creating a huffman tree according to some nodes and coding .
Huffman
- 哈弗曼树的构建以及哈弗曼编码的实现,采用C语言实现-Huffman code and tree
huffman
- C++数据结构中哈夫曼函数的编写与实现,同时利用哈夫曼算法构建哈夫曼树-C++ data structure to achieve Huffman
Huffman-tree
- 哈夫曼树的构建,遍历,编码,及求加权路径,代码简单修改方便-Construction, Huffman tree traversal, coding, and compute the weighted path, code simple and easy to modify
HuffmanTree
- 该源文件为赫夫曼树的构建和使用,是数据结构课程中的一个例子-The source files for building and using Huffman tree is a data structure of an example of a curriculum
HuffmanTree
- 哈夫曼树的基本构建以及哈夫曼树构建成功的基本举例-The basic building Huffman trees and Huffman basic building a successful example
huffman
- 基于Huffman编码的文件压缩设计:本次实验将文件中的字符作为结点,每个字符在文件中出现的频率作为结点的权值,采用Huffman算法构造Huffman树,将字符用尽可能短的二进制数位表示(频率越低,二进制数位越长),而不是用8位的ASCII码进行存储,已达到节省存储空间,压缩文件的目的。 程序设计的步骤如下: 1、统计需压缩文件中每个字符出现的频率; 2、将每个字符出现的频率作为叶子结点构建Huffman树,然后将树中结点引向其左孩子的分支标“0”,引向其右孩子的分支标“1”;