搜索资源列表
huffman
- 在解某些判定问题时,利用哈夫曼树获得最佳判定算法。输入学生人数和0-59、60-69、70-79、80-89、90-100各等级分布比例,输出比较次数。-Determined in the solution of certain problems, determine the best use of the Huffman tree algorithm. Enter the number of students and 0-59,60-69,70-79,80-89,90-100 distribu
Huffman
- 哈弗曼编码,是平衡最小二叉树的经典例子,在加密算法中有广泛的运用-Ha Fuman coding, the binary tree is a classic example of the minimum balance in the encryption algorithm widely used in
huffman
- 数据结构c语言版哈夫曼树算法-Data Structure c-language version of the Huffman tree algorithm
huffman
- 基于随机快速排序的哈弗曼编码 基于贪心算法-huffman bianma
huffman
- huffman编码。数据结构与算法课程设计的作业。全部通过。自己做的。-huffman coding. Data Structures and Algorithms course design work. All passed. Themselves.
huffman
- 经典的算法,自己写的源代码,还加了注释的-Classical algorithms, write their own source code and added a annotation
Huffman--coding-and--decoding
- 根据《数据结构》(严蔚敏)提供的算法,编写的HUFFMAN编译码程序,工行能做了一定的扩展。 可实现以下功能: (1)输入一段字符串,统计其中每个字符的频度 (2)求每个字符的HUFMAN-CODE (3)对(1)中的字符串译码 (4)对(3)中的译码再解码.-huffman coding and decoding program
huffman
- 这是数据结构的一个课程设计,用哈夫曼算法对文件进行编码,希望能给大家一点帮助-This is a course designed data structure, with the Huffman algorithm to encode the file, I hope to give everyone a little help
Huffman
- 哈弗曼树,其中有二叉树,位运算还压缩算法-Huffman trees, including binary, bit operations but also compression algorithm
Huffman
- 关于哈夫曼算法的讲解,并实现简单的图象的变换。包含图像的压缩,基本坐标的变换,滤波,锐化,直方图变换等等。- Explained on the Huffman algorithm, and simple image transformations. Include image compression, the basic coordinates of the transformation, filtering, sharpening, histogram and so on.
huffman
- VC++基于哈弗曼算法的一个压缩和解压的VC例子,可视界面操作,可方便运用到程序里面。-VC++ algorithm based Hafu Man an example of compression and decompression of the VC, visual interface operation, which can be easily applied to the program.
huffman
- Huffman 编码 已知:信源符号个数q、信源符号s0, . . . , sq?1,信源概率分布p0, . . . , pq?1。 算法: (a) 如果q = 2 则返回编码:s0 7! 0, s1 7! 1 (b) 否则 i. 重新排序s0, . . . , sq?1 和p0, . . . , pq?1 ii. 创建一个符号s′,其概率为p′ = pq?2 + pq?1 iii. 递归调用本算法以得到s0, . . . , sq?3, s′ 的编码w0, . .
Huffman
- 小强的算法分析课程里面的代码-哈夫曼编码,实现代码,-Huffman encode
Huffman-algorithm
- 哈夫曼算法是很有用的C经典数据结构算法,希望对大家有点用-Huffman algorithm is useful for classical data structures of the C algorithm, we want to use a little bit
Huffman-algorithm
- 哈夫曼算法及其应用 给定n个权值作为n个叶子结点,构造一棵二叉树,若带权路径长度达到最小,称这样的二叉树为最优二叉树,也称为哈夫曼树。哈夫曼编码是一种根据哈夫曼树对文件进行编码的方式。哈夫曼编码是可变字长编码的一种。本次课程设计是对一个已建文本文件,统计该文件中各字符频率,对各字符进行Huffman编码,将该文件翻译成Huffman编码文件,再将Huffman编码文件翻译成原文件。压缩文件即读文件,统计文件中的字符个数,对文件进行哈夫曼编码和译码,并将编码译码后的字符存储在文件中。-
huffman
- 自己做的基于哈弗曼算法的一个压缩和解压的VC例子,可视界面操作,可方便运用到程序里面。-Their own algorithm based Hafu Man a compression and decompression of the VC example, visual operation interface, which can be easily applied to the program.
Huffman
- 运用赫夫曼编码的最优前缀码的贪心算法构造huffman树: 首先扫描输入文件,统计出现的字符以及每个字符出现的次数。每次取出现次数最小的那两个节点(node)合并成一个节点(node),并且将累计数值相加作为新的接点的累计数值,最顶层的是根节点(root) -Huffman coding using optimal prefix code of the greedy algorithm constructs huffman tree: First, scan the input file,
Huffman
- 哈夫曼算法的C++实现,通过了编译和运行-Huffman-algorithm s realization
Huffman
- 设计一个利用哈夫曼算法的编码和译码系统。建立一个文本文件,统计该文件中各字符频率,对各字符进行Huffman编码,将该文件翻译成Huffman编码文件,再将Huffman编码文件翻译成原文件。“压缩文件”即:读文件、统计文件中的字符个数、对文件进行哈夫曼编码和译码、并将编码译码后的字符存储在文件中。根据以上任务说明,设计数据结构,并设计程序完成功能。-Huffman coding decoder
Huffman
- 程序说明: 课程项目,本程序采用哈夫曼编码算法,对给定文件的内容进行处理,生成编码文件和解码文件-Program Descr iption: This program uses a Huffman coding algorithm, given the contents of the file, generate the encoded file and decode files