登录
首页 » c++ » 哈夫曼树

哈夫曼树

于 2023-05-22 发布 文件大小:240.53 kB
0 45
下载积分: 2 下载次数: 1

代码说明:

给定n个权值作为n个叶子结点,构造一棵二叉树,若带权路径长度达到最小,称这样的二叉树为最优二叉树,也称为哈夫曼树(Huffman Tree)。哈夫曼树是带权路径长度最短的树,权值较大的结点离根较近。

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

发表评论

0 个回复

  • Lab3-5-2 墨水屏
    说明:  The ink screen, as you can see,
    2020-06-20 07:00:01下载
    积分:1
  • TrainFinalVersion
    这个程序是用堆栈来对火车排序的,该火车的车厢是乱的,经过排序后,火车的车厢变为顺序的,特点是使用VC编写的(This procedure is used to sort the stack to the train, the train is inside the chaos, after sorting, the train carriages into the order, characterized by the use of VC prepared)
    2009-06-03 11:50:07下载
    积分:1
  • 基于stm32的平衡小车开发
    【实例简介】
    2021-11-06 00:37:59下载
    积分:1
  • zhizhenshizhi
    详细分析了c语言内存指针的实质及使用方法希望对学习c语言有帮助(Detailed analysis of the c language pointer memory and how to use the substance of hope to learn c language help)
    2009-01-04 00:29:15下载
    积分:1
  • youxian
    利用c++实现一个连续系统的有限积分器,从而实现积分(Using c++ to realize a continuous system of the limited integrator, so as to realize the integral )
    2014-12-14 15:28:52下载
    积分:1
  • vc ping命令实现
    学习widows下命令的实现,完成了一个ping命令。是widows socket 编程下的实例。
    2022-02-01 07:15:46下载
    积分:1
  • CameraControlSystem
    Camera Control System Based on Ogre.This is very useful on Camera control.And this is open source. Hope to help you.
    2012-10-11 09:46:06下载
    积分:1
  • DG-of-POSITION-AND-CAPACITY
    本程序用于求解以网损、电压偏差、投资运行费用最小为目标的配电网分布式能源选址定容问题,并辅以相关文献。(This procedure is used to solve the loss, voltage deviation, minimum operating cost investment objective distribution network of distributed energy locating and sizing issues, supplemented by relevant literature.)
    2021-04-12 10:28:58下载
    积分:1
  • LPT
    源码中位C#环境下对并口的操作操作,即将数据传入并口中,用于打印机等设备。(The median C# source code under the environment of the operation of parallel operation, in which data is imported, and the mouth, for printers and other devices.)
    2009-12-16 13:51:26下载
    积分:1
  • f28335_adc
    基于TI例程,自己编写的交流异步电机矢量控制源代码——adc模块(Based on the TI routines, their AC asynchronous motor vector control program source code-- ADC module)
    2013-10-18 11:14:57下载
    积分:1
  • 696518资源总数
  • 104326会员总数
  • 25今日下载