登录
首页 » 算法 » huffman编码

huffman编码

于 2022-06-13 发布 文件大小:2.06 MB
0 162
下载积分: 2 下载次数: 1

代码说明:

对一个文本里的字符进行哈弗曼编码,通过对文本的读取,统计文本里各个字符出现的频数,确定哈弗曼编码,然后将编码在新文本中输出。可进行文本的翻译。

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

发表评论

0 个回复

  • opencv_orb 检测
    根据前面surf简化版的结构,重新把ORB检测的代码给简化以下,发现虽然速度一样,确实能省好多行代码,关键是有 BruteForceMatchermatcher的帮忙,直接省的写了一个函数; NB类型:class gpu::BruteForceMatcher_GPU
    2022-02-03 07:04:10下载
    积分:1
  • 两个向量间的欧氏距离,初始化聚类中心,参数设定默认值...
    计算两个向量间的欧氏距离,初始化聚类中心,参数设定默认值 -two vector calculation of Euclidean distance, initialize the cluster center, parameter set default values
    2023-01-02 17:40:08下载
    积分:1
  • 矩阵类,封装了一些有关矩阵的运
    矩阵类,封装了一些有关矩阵的运算-matrices, Packaging, a number of the matrix arithmetic
    2022-03-13 21:24:26下载
    积分:1
  • 操作系统中的进程调度
    操作系统中的进程调度算法-operating system, the process of scheduling algorithm
    2022-12-26 12:00:04下载
    积分:1
  • Doolittle的编程实现
    Doolittle的编程实现-Try Programming
    2023-01-07 04:20:03下载
    积分:1
  • 首先实现最佳解决河内塔与GUI
    程序在Visual C ++,它使用最好优先算法来解决河内塔。还实现了一个图形导航和交互的键盘接口供其使用。来自包括指令和源代码,再加上必要的纹理和.exe文件的文件
    2022-03-21 19:54:07下载
    积分:1
  • GNU Linux代码实例
    应用背景正则表达式关键技术添加两个文件转换到DOS UNIX换行符
    2022-02-28 19:40:46下载
    积分:1
  • RFID indoor location identification for construction projects
    资源描述This paper presents a lowcost indoor location identification and material tracking methodology for construction projects using Ultra High Frequency (UHF) passive Radio Frequency Identification (RFID) technology. Onsite location aware information is an emerging area that focuses on automating delivery of spatial information pertinent to location of materials, workforce, and equipment. This spatial information can be used to derive knowledge about construction project status. A two-step algorithm is presented to automate the process of location estimation and material tracking in near-real-time. In this methodology, a number of passive RFID tags are distributed onsite where work is progressing, and a mobile RFID reader is carried by a worker onsite. Each passive RFID tag is deployed as a reference point with a known location (landmark) within a predefined zone. Reference tags of known locations are used to d
    2022-03-02 08:24:10下载
    积分:1
  • 梯度优化
    梯度下降法是一种一阶优化算法。若要查找函数使用梯度下降法的局部极小值,一个采取步骤负梯度 (或近似梯度) 成正比的当前点的功能。如果相反你采取步骤积极的梯度成正比,其中一个方法局部最大值的函数 ;然后,程序称为梯度上升。梯度下降法也被称为是最陡下降或最速下降的代码的方法有助于计算采用梯度下降法的目标函数值最小值。梯度下降法可以用于求解线性方程组,转化为二次型极小化问题,例如,使用线性最小二乘系统。解决方案的线性最小二乘意义上被定义为最小化函数在传统线性最小二乘法为真正和使用欧氏范数,在这种情况下 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-01-29 00:48:01下载
    积分:1
  • 数据挖掘apriori实现
    第一步是利用findFrequentOneItemSets()产生1-频繁集,这只要统计每个项目出现的次数就可以了。然后依次产 生2阶,3阶,……,k阶频繁集,k频繁集为空则算法停止。即利用aprioriGenCandidates()函数 根据所有频繁L-1项 集获得所有频繁L项集的候选L项集。findFrequentItemSets() 查找事务集中的所有频繁项集,返回Map为:L -> 所 有频繁L项集的列表。
    2022-09-05 08:00:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载