登录
首页 » c » 赫夫曼编码的简单程序

赫夫曼编码的简单程序

于 2022-01-26 发布 文件大小:1.12 kB
0 121
下载积分: 2 下载次数: 1

代码说明:

huffman编码简单程序 哈夫曼在上世纪五十年代初就提出这种编码时,根据字符出现的概率来构造平均长度最短的编码。它是一种变长的编码。在编码中,若各码字长度严格按照码字所对应符号出现概率的大小的逆序排列,则编码的平均长度是最小的。(注:码字即为符号经哈夫曼编码后得到的编码,其长度是因符号出现的概率而不同,所以说哈夫曼编码是变长的编码。) 而且哈夫曼编码是按照子树到父亲,而其读码则是完全相反的。

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

发表评论

0 个回复

  • Least-square-deconvolution
    最小平方反褶积的相关程序,可用于相关地震资料的处理和分析(Least squares deconvolution procedures, can be used for correlation of seismic data processing and analysis)
    2013-08-12 21:57:15下载
    积分:1
  • vc++dbms
    者使用vc++开发数据库的方法教程,含有vc++源码,参照文本学习可以比较清楚的理解方法,且提供了代码,可以用作例子,唯一不足在于代码是写在word文档中的,需要读者自己复制到vc++中使用(Use vc++ Development tutorial database, which contains vc++ Source, in the light of the text be in a better position to learn the understanding of methods, and provides the code, can be used as examples, the only shortage is that the code is written in the word document The need to copy itself to the reader vc++ use)
    2008-06-03 16:46:11下载
    积分:1
  • 1411
    It describes the application of load forecasting, Mathematics is part of the subspace, Based on negative entropy largest independent component analysis.
    2017-09-12 21:02:47下载
    积分:1
  • MFC动态绘制曲线图控件HighSpeedChart
    功能强大的MFC动态绘制曲线图控件,开源代码,可以添加头文件源文件到工程文件进行调用 High-speed Charting Control - CodeProject  https://www.codeproject.com/Articles/14075/High-speed-Charting-Control A flexible charting control to display 2D data
    2022-12-05 23:45:03下载
    积分:1
  • md5src
    这个是编译通过的MD5算法,使用的语言是C++,非常好用。(MD5 C++ source code )
    2011-12-09 15:51:58下载
    积分:1
  • 按键识别
    单片机按键识别,用于实现不同的键盘输入的识别与后续操作。(The single-chip button recognition is used to realize the recognition and subsequent operation of different keyboard inputs.)
    2019-06-19 19:47:09下载
    积分:1
  • c#开发vlc内核播放器源文件项目代码绝对可运行
    资源描述基于VLC sdk视频播放器开发 全格式播放器含源码 流媒体 源代码 vs2005 c#.net。经典VLC SDK
    2023-06-10 07:30:03下载
    积分:1
  • SUN
    基于NIOS II的LED屏贪食蛇设计,基于NiosII软核处理器和LED点阵显示屏的贪吃蛇游戏内容是:一条蛇在封闭的围墙里,围墙里随机出现一个食物。玩家通过4个按键控制蛇上下左右移动,且蛇只能沿着头运动的轨迹移动。蛇头撞到食物,则食物被吃掉,蛇身体增长一节,同时记1分,又出现食物,等待蛇通过玩家的控制来吃掉,如果蛇头在移动中出界或咬到自己的身体则游戏结束,并且加入了一些附加功能如蛇身加速,选择难度,开关机屏幕画面的优化等一系列功能,使游戏更具可玩性。(NIOS II LED screen Snake design, NiosII based soft-core processor and LED dot matrix display Snake game content is: a snake in a closed fence, the fence was a random food. Players control a snake through 4 keys to move around, and the head of the snake can move along the track movement. Snakeheads hit the food, the food is eaten, the snake grow body section, but remember one point, appeared foods, through the player controls a snake waiting to eat, if snakeheads bite out of bounds or move their bodies in the game end, and added some additional features such as snake acceleration, choose the difficulty to optimize switching machine screen and a series of features that make the game more playable.)
    2014-01-09 23:04:57下载
    积分:1
  • getorder(1)
    sap系统订单服务类,新增,修改,删除,订单列表(sap system b one order wcf service)
    2020-06-19 17:00:02下载
    积分:1
  • 人脸检测
    视频流中的人脸检测  利用OpenCV实现的视频采集和人脸识别程序代码
    2022-04-10 21:44:38下载
    积分:1
  • 696518资源总数
  • 105901会员总数
  • 40今日下载