搜索资源列表
统计英文文章的字符个数并huffman编码
- a)需求分析: 任务 :对一篇英文文章,统计各字符出现的次数,实现Huffman编码; 要求:输出每个字符出现的次数和编码,其中求最小权值要求用堆实现; b)概要设计: 本程序所使用的数据结构是树和线性表,所使用的算法主要有堆排序、赫夫曼算法。 -a) Requirements Analysis : Mandate : an article in English, statistics of the number of characters to achieve Huffma
用于文件压缩的huffman算法
- 一个huffman压缩解压算法源码 .rar-a Huffman compression decompression algorithm source code. Rar
huffman(c)
- huffman树可以通过输入的权值和结点值来唯一确定。然后根据最优二叉树原理来编码。左孩子的路径上记下0,右孩子记下1-Huffman tree can be imported duty and the right node only to determine value. According to the principle of optimal encoding binary tree. Children left on the path down 0 and the right note
HUFFMAN
- Huffman编码算法的C语言的源程序代码 (source code written in C programming language for algorithm of Huffman coding).
huffman
- matlab huffman encoder
Huffman
- the program demonstrates Huffman decompression. after prompting for the name of the compressed an object of type HDecompress is declared, and the member function decompress() decompresses the file
huffman
- huffman 编码
huffman
- huffman 树的创建和实现对元素进行huffman编码,本次试验在程序设计方面较之前次实验容易些,但在尝试用动态申请结构数组空间来设计程序时却没有成功
Huffman
- 生成Huffman树的代码,希望对大家有用
huffman
- huffman编码,实现1. 初始化 2. 编码 3. 译码 4.显示编码表 5. 退出\")
产生huffman编码
- huffman产生哈夫曼编码的源代码. ... generate huffman code //i present the i th code, j present from leaf to root in huffman tree //hfdata ... 第3 楼 一种思想。-Huffman coding produce the source code. Generate Huffman code ... / / i present the i th code, j present from
huffman tree
- huffman tree 问题描述:设一份电文中有不同出现频率的字符,为了提高电文的输入和翻译效率,必须有一套简短而又不会产生歧义的字符代码。试根据哈夫曼算法,对电文中的不同字符,构造出一棵哈夫曼树,对每个字符进行编码。-Huffman tree Problem descr iption : Let a message different frequency of the characters, in order to enhance the input and message translat
huffman.rar
- 实现用huffman编码的编码译码器,用C++和vc6.0实现,With implementation of the huffman encoding codecs
Huffman
- 赫夫曼实现编码译码C++环境下运行! -Huffman coding to achieve coding
huffman
- 哈弗曼编码的实现,本人亲测完美运行。 编码内容:假设用于通信的电文仅由8个字母组成,字母在电文中出现的频率分别为7,19,2,6,32,3,21,10。试为这8个字母设计哈夫曼编码。 要求:这8个字母任意,输出各字母的编码值。 -huffman Tree
Huffman
- 赫夫曼编译码的C++程序 内有使用说明-Huffman encoding and decoding of the C++ programs using the instructions within the
huffman
- 哈夫曼编码 数据结构课程设计 Delphi源码 -Huffman Coding Delphi Source Data Structure Course Design
huffman
- 这是用Delphi编写的霍夫曼编码问题,程序完整,可借鉴-It is written in Delphi Huffman coding problem, program integrity, to learn
huffman
- 根据随机生成的概率分布生成huffman编码(Generating Huffman coding based on randomly generated probability distribution)
多元Huffman编码问题
- 多元Huffman编码问题 问题描述:在一个操场的四周摆放着n堆石子,现要将石子有次序地合并成一堆。规定每次至少选2堆至多选k堆石子合并成新的一堆, 合并的费用为新的一堆石子数。计算出将n堆石子合并成一堆的最大总费用和最小总费用。 算法设计:对于给定的n堆石子,计算合并成一堆的最大总费用和最小总费用。 数据输入:文件的第1行有2个正整数n和k,表示有n堆石子,每次至少选2堆至多选k堆石子合并。第2行有n个数,分别表示每堆石子的个数。 输入示例: 7 3 45 13 12 16 9