登录
首页 » matlab » Huffman

Huffman

于 2013-11-13 发布 文件大小:1KB
0 234
下载积分: 1 下载次数: 3

代码说明:

  哈弗曼编码,构造哈夫曼树,构造哈夫曼树非常简单,将所有的节点放到一个队列中,用一个节点替换两个频率最低的节点,新节点的频率就是这两个节点的频率之和。这样,新节点就是两个被替换节点的父节点了。如此循环,直到队列中只剩一个节点(树根)。(Hoffman coding, Huffman tree structure, Huffman tree structure is very simple, all the nodes in a queue, replace the two lowest frequency node with a node, the new node and the frequency of frequency is the two nodes. So, the new node is two replaced node parent node. So the cycle, until the queue is only one node (Shu Gen). )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 一个演示程序,很强大的!!也很好看
    一个数据结构演示程序,很强大的!!也很好看-a data structure demo program, a very strong! ! Also very good! !
    2022-02-06 07:11:09下载
    积分:1
  • BFS
    迷宫问题 队列求解 界面还不完善 可以自己添加(Maze problem solving interface queue is not perfect you can add your own)
    2013-12-26 22:08:58下载
    积分:1
  • 本人大学时编写的算法包括 堆栈 链表 及二叉树等。。。。。。很多很全...
    本人大学时编写的算法包括 堆栈数据结构 链表数据结构 及二叉树等。。。。。。很多很全-I am prepared by the university, including stack algorithm data structure Chain and binary tree data structure so. . . . . . The whole lot
    2022-07-13 02:51:00下载
    积分:1
  • 一个图形学和作业文档和实现代吗
    一个图形学和数据结构作业文档和实现代吗-Graphics and data structure of a document and the realization of operating on behalf of you
    2022-01-25 21:45:54下载
    积分:1
  • 通过修改access库的头文件来达到加密库的目的,在VC6.0平台上运行良好,已通过测试...
    通过修改access数据库的头文件来达到加密数据库的目的,在VC6.0平台上运行良好,已通过测试-Access the database by modifying the header files to achieve the purpose of encrypting the database, in VC6.0 platform to run well, has been tested
    2022-06-14 05:55:35下载
    积分:1
  • VC++ 家庭理财软件
    家庭理财系统的课题简介如下:随着社会的发展进步,个人和家庭无论收入还是支出的种类越来越多,越来越复杂,所谓好记性不如烂笔头,使用管理软件来管理家庭财务的信息也正逐步成为众多个人和家庭的需求,家庭理财 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-06-19 08:36:54下载
    积分:1
  • Divided ideological merge sort is very important sub
    分治的思想 归并排序 分治是很重要的方法 归并排序是一种快速的排序-Divided ideological merge sort is very important sub-rule method is a quick sort merge sort
    2022-03-14 12:53:38下载
    积分:1
  • 44
    说明:  给定程序中,函数fun的功能是:将a所指3×5矩阵中第k列的元素左移到第0列,第k列以后的每列元素依次左移,原来左边的各列依次绕道右边。 例如,有以下矩阵: 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 若k结果为2,程序执行结果为: 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 请在程序的下划线处填入正确的内容并把下划线删除,使程序得出正确的结果。 注意:源文件存放在考生文件夹下的BLANK1.C中 不得增行或删行,也不得更改程序的结构! (A given program, function fun feature is: a 3 × 5 matrix referred to in the first k elements of the left column to move Section 0, the k elements of each column after column followed by the left, the original columns in the left turn Bypass on the right. For example, the following matrix: 123,451,234,512,345 If k is 2, the program execution results: 345,123,451,234,512 in the program underscore the right content at the fill and to remove the underscore, so that the program reach the right result. Note: The source files in the folder of BLANK1.C candidates are not allowed by the line or delete line, nor change the structure of the program!)
    2011-08-11 07:53:10下载
    积分:1
  • 1. Login with SYSDBA server, as well as the creation of a MISDBA users, Password...
    1. 用SYSDBA登录服务器,并且创建一个MISDBA用户,密码为PASSWORD。 2. 用SYSDBA用户创建MISDB数据库(可直接注册使用光盘提供的MISDB.GDB)。 3. 用MISDBA用户登录MISDB数据库。 4. 在ISQL中,依次输入第5章的数据表创建SQL语句;或者根据表5-1至表5-7自行创建数据表。 5. 在SQL Explorer中创建MISDB数据库连接。 6. 用MISDBA用户登录,并且输入原始数据。除了表5-8至表5-11的内容,还需要根据需要设置部门(DEPARTMENT)、职务(JOB)和人事科登录用户(ID=’RSK’,PASSWD=’RSK’,AUTHORITY=’3’,STATE=’F’)。 7. 修改源程序中的数据库连接组件参数。 -1. Login with SYSDBA server, as well as the creation of a MISDBA users, Password for PASSWORD. 2. With SYSDBA user created MISDB database (direct registration for the use of CD MISDB. GDB). 3. User login with MISDBA MISDB database. 4. In ISQL, followed importation of Chapter 5 of the data table creation SQL; Or, according to Table to Table 5-1 5-7 to set up a data table. 5. SQL Explorer created MISDB connected to the database. 6. MISDBA with users log in, and the importation of raw data. Table 5-8 addition to the Table 5-11, also need to install sector (DEPARTMENT) duties (9732106) and the Personnel Section logged in users (ID = &#
    2022-03-17 00:22:23下载
    积分:1
  • 一个效率可以的线段树代码 可以直接用来求解矩形面积并 另外可以修改实现更多功能....
    一个效率可以的线段树代码 可以直接用来求解矩形面积并 另外可以修改实现更多功能.-The efficiency of the line segment can be a tree code can be directly used to solve the rectangular area and the other can be modified to achieve more.
    2023-07-08 10:55:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载