登录
首页 » 算法 » LZW的算法实现

LZW的算法实现

于 2022-10-19 发布 文件大小:5.22 MB
0 184
下载积分: 2 下载次数: 1

代码说明:

LZW算法的实现   LZW算法 其中 几个对象为 编码流 数据流 以及 编译表   字符即为数值,这里0-255   字符串:几个字符组成的串。这里可以简单用 来描述。其中前缀可以为0。   根:长度为1的字符串。   编码(Code):按照固定的长度从编码流中读取的值,即编译表中映射值。即一个编码对应一个字符串   本程序中将定义编码长度最大为12。最小为8。   本实现中自动根据文件内容生成对应的编译表 一个编码对应一个字符串, 字符串匹配通过hash算法去编译表中查找对应的编码。 hash值 = (前缀的编码+后缀编码)%常数

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

发表评论

0 个回复

  • ssa algorithm
    这是一个ssa算法的代码。它必须被修改以提高效率,开发一个完整的库可能是一个很好的项目
    2022-05-05 19:17:21下载
    积分:1
  • This is the basis of others I write the algorithm simulation of the car park c p...
    这是我根据别人的算法写的模拟停车场问题的c程序,原有算法有一些指针调用的错误!,现已改正-This is the basis of others I write the algorithm simulation of the car park c procedures, some of the original algorithm called the wrong target! That has now been rectified.
    2022-10-02 02:20:03下载
    积分:1
  • 表示OFDM信号PAPR降低使用裁剪和SLM技术
    它包含用于以下操作的用户驱动的代码:1.显示的QPSK基带信号。2. OFDM功率谱。OFDM信号的3 BER性能。OFDM信号的4频谱。5.降低PAPR使用剪切/过滤。6.降低PAPR使用选择性映射。PAPR降低使用选择性映射和剪切/过滤7.比较研究。oneOf的正交频分复用(OFDM)系统中的具有挑战性的问题之一是它的高峰 - 均功率比(PAPR)。
    2023-05-04 11:15:03下载
    积分:1
  • 用数值积分实现C++语言的程序
    此程序为C与语言编写的数值积分算法-procedure for the C language with the numerical integration algorithm
    2022-05-25 12:34:11下载
    积分:1
  • 1, one dollar three regression equations CubicMultinomialRegress.cs equation mod...
    一、 一元三次回归方程 CubicMultinomialRegress.cs 方程模型为Y=a*X(3)+b*X(2)+c*X(1)+d public override double[] buildFormula() 得到系数数组,存放顺序与模型系数相反,即该数组中系数的值依次是d,c,b,a。 以后所述所有模型的系数存放均与此相同(多元线性回归方程除外)。 public override double forecast(double x) 预测函数,根据模型得到预测结果 public override double computeR2() 计算相关系数(决定系数),系数越接近1,数据越满足该模型。 -1, one dollar three regression equations CubicMultinomialRegress.cs equation model for Y = a* X (3)+ B* X (2)+ C* X (1)+ Dpublic override double [] buildFormula () get coefficient array, store order and model coefficients contrary, that is, the array is followed by the value of coefficient d, c, b, a. After all the model described in the coefficient of storage are the same (except for multiple linear regression equation). public override double forecast (double x) prediction function, according to the results of model prediction public override double computeR2 () calculated the correlation coefficient (determination coefficient), coefficient of the closer one, the dat
    2022-01-26 07:28:21下载
    积分:1
  • 解决约瑟夫环问题
    using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 实战_使用数组解决约瑟夫环问题 {     class Program     {         static void Main(string[] args)         {             int[] intPers = Jose(12, 3, 4);             Console.WriteLine
    2023-06-26 06:40:03下载
    积分:1
  • 圆覆盖率源程序,很精彩!
    计算圆覆盖率源程序,很精彩!-round coverage calculation source, wonderful!
    2022-07-17 11:39:06下载
    积分:1
  • 拼图小游戏
    应用背景 拼图小游戏源码说明 主要用于C#算法的学习与应用 面向对象的编程方法 拼图的事件处理 判断是否过关的最方便的算法 键盘控制和鼠标控制的方法 关键技术GDI+ 绘图方法、鼠标和键盘事件处理、面向对象、最优的判断是否过关的方法、拼图随机打乱方法
    2022-01-23 10:41:59下载
    积分:1
  • 一天掌握DFT,深入浅出一下子就说明傅立叶变换
    一天掌握DFT,深入浅出一下子就说明傅立叶变换-One day master the DFT, Fourier transform easily comprehensible instructions at once
    2023-02-25 05:55:03下载
    积分:1
  • HMM源码 java版,可以直接放到weka里用
    HMM源码 java版,可以直接放到weka里用,他是一个HMM算法的代码包,当需要在weka里使用该算法是,就可以通过配置 将其添加到weka里使用
    2022-08-18 17:53:53下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载