登录
首页 » 算法 » 算法设计与分析 哈夫曼树及哈夫曼编码 贪心算法

算法设计与分析 哈夫曼树及哈夫曼编码 贪心算法

于 2022-03-10 发布 文件大小:1.80 MB
0 253
下载积分: 2 下载次数: 1

代码说明:

一个记录字符及出现频率的文件如下所示:huffman.haf7a,45b,13c,12d,16e,89f,34g,20试编写一个读取此种格式文件类CHuffman, 内部机制采用优先队列,用于建立Huffman树及进行Huffman编码输出,其用法可以如下所示: CHuffman hm("hu

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

发表评论

0 个回复

  • DBSCAN算法
    % Function: [class,type]=dbscan(x,k,Eps) % ------------------------------------------------------------------------- % Aim: % Clustering the data with Density-Based Scan Algorithm with Noise (DBSCAN) % ------------------------------------------------------------------------- % Input: % x - data set (m,n); m-objects, n-variables % k - number of objects in a neighborhood of an object % (minimal number of objects considered as a cluster) % Eps - neighborhood radius, if not known avoid this parameter or put [] % ------------------------------------------------------------------------- % Output: % class - vector specifying assignment of the i-th object to certain % cluster (m,1) % type - vector specifying type of the i-th object % (core: 1, border: 0, outlier: -1)
    2022-04-08 08:12:27下载
    积分:1
  • 牛顿插值方法的计算机实现程序
    牛顿插值方法的计算机实现程序-Newton interpolation method of computer procedures
    2023-01-09 17:30:03下载
    积分:1
  • kalman filter with state constraints lecture and example
    kalman filter with state constraints lecture and example
    2022-08-19 21:22:30下载
    积分:1
  • Kmeans算法的VB代码和测试数据
    kmeans algorthms code vb and test data
    2022-03-25 17:35:53下载
    积分:1
  • dksdkansdknaksdnkand
    ***
    2022-05-14 17:05:11下载
    积分:1
  • 从操作的教师,实现HDB3码为01码,以及美国..
    源于老师的作业,实现将01代码转化成HDB3码,另外还有用VHDL语言编的,不过我这没有-teachers from the operations, achieving 01 HDB3 code into the code, as well as using VHDL series, but I am not
    2022-02-06 02:22:43下载
    积分:1
  • Jacobi method with realistic symmetric matrix of eigenvalues and eigenvectors fo...
    用雅可比法求实对称阵的特征值与特征向量 例子中为3阶矩阵-Jacobi method with realistic symmetric matrix of eigenvalues and eigenvectors for the case of 3-order matrix
    2022-03-11 23:53:46下载
    积分:1
  • BP神经网络的数据分类
    1,对BP神经网络初始化;2,隐含层输出计算;3,输出层输出计算;4,误差计算;5,权值更新;6,阈值更新;7,判断算法迭代是否结束。本算法对语音特征信号进行识别。案例选取了民歌,古筝,摇滚和流行四类不同音乐,用BP神经网络实现对四类音乐的有效分类。
    2022-06-21 10:35:07下载
    积分:1
  • java计算tfidf写入txt中
    java统计总词数,特征词出现的次数,出现的文本次数,分别计算tf,idf,得到tfidf值,对文本进行向量化,写入txt文本中,方便以后做文本聚类。
    2022-02-05 04:18:23下载
    积分:1
  • 长 Ariphmetic
    这是一个关于长串的数字项目和实现计算与长串的数字。这是一种具有长 ariphmetical 的使用算法,计算它。此外,如果你想实现您的项目与长串的数字,并且计算与它,然后使用它图书馆长 ariphmetics。好吧。
    2022-03-18 03:47:41下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载