-
霍夫曼树的建立及其应用
赫夫曼树是给定n个权值作为n个叶子结点,构造一棵二叉树,使带权路径长度达到最小。当输入每个树叶结点个数及字符和权值时,通过赫夫曼编码就能得到它的赫夫曼编码。
1.首先定义郝夫曼树的存储形式,这里使用了数组
2。
3.构造郝夫曼树HT,并求出n个字符的郝夫曼编码HC
4.解码函数,输入input为由多个字符赫夫曼编码构成的01序列,输出为字符串chs,其他参数同编码函数。
- 2023-07-17 20:30:03下载
- 积分:1
-
《MATLAB神经网络仿真与应用》源程序
MATLAB关于神经网络的仿真与应用,8个m文件源程序(On the simulation of neural network)
- 2018-04-05 10:06:07下载
- 积分:1
-
xiaobobao_3lev
用于处理信号,对信号进行小波包分解,此处进行了三层分解计算,可以进行迭代。(Used to process the signal, the wavelet packet decomposition of the signal, where the three-tier decomposition of the calculation can be iterated.)
- 2017-05-11 14:16:17下载
- 积分:1
-
C#打印条形码001.rar
C#打印条形码001.rar
C#打印条形码001.rar
- 2022-03-17 05:29:13下载
- 积分:1
-
KrigeInterpolation
用arcengine9.2+c#实现了克里金插值,适合初学者使用,代码有较详细的注释(Arcengine9.2+ c# using Kriging interpolation implemented, suitable for beginners to use, the code has a more detailed comment)
- 2010-10-22 10:02:23下载
- 积分:1
-
PgmVolume
音频设备控制之扬声器单个应用程序音量控制,包括音量的获取与设置(Audio Device Controlled Speaker Single Application Volume Control, Including Volume Acquisition and Setting)
- 2019-04-11 10:22:02下载
- 积分:1
-
Form1
说明: 该程序是一个完整的画图板实现功能,有直线,矩形,椭圆,文本和图像的处理功能。(The program is a complete drawing board to achieve function, there is a straight line, rectangle, ellipse, text and image processing capabilities.)
- 2010-03-20 22:00:04下载
- 积分:1
-
iiinnpout32n
在windows2000xp下直接接进行端口操作的程序源码。
(Windows2000 xp directly connected to the port operation of the program source.)
- 2012-08-05 23:51:44下载
- 积分:1
-
1.LED亮灭控制
LED basic code for 51 chips
- 2020-06-24 10:40:02下载
- 积分:1
-
高级例程-基于STM32 USB 虚拟串口 采集ADC
说明: 关于stm32的高级应用部分代码历程,stm32的代码。(About STM32 advanced application part of the code process.)
- 2020-06-18 07:20:01下载
- 积分:1