登录
首页 » 文件处理 » 是一个基于LZARI算法的数据压缩的类.Haruhiko Okumura 于1989年7月4日用c语言写实现了这个算法.但是上面用到了一些全局或静态的变量,在M...

是一个基于LZARI算法的数据压缩的类.Haruhiko Okumura 于1989年7月4日用c语言写实现了这个算法.但是上面用到了一些全局或静态的变量,在M...

于 2022-07-11 发布 文件大小:142.57 kB
0 43
下载积分: 2 下载次数: 1

代码说明:

是一个基于LZARI算法的数据压缩的类.Haruhiko Okumura 于1989年7月4日用c语言写实现了这个算法.但是上面用到了一些全局或静态的变量,在MFC下用起来很不方便.我把它改写成了一个c++类,使它可以方便的压缩和解压缩,更重要的是,我新增加了两个接口,这个类可以压缩/解压缩一段内存缓冲区,而不仅仅是文件. 一共提供了5个对外接口: -Is a data compression algorithm based on LZARI class. Haruhiko Okumura 1989 July 4 daily c language to write algorithms to achieve this. But to use some of the above global or static variables, in the MFC under inconvenient to use them. I rewriting it into a c++ classes, so that it can easily compress and decompress, but more importantly, I added two new interfaces, this class can compress/decompress a memory buffer, rather than the file. a total of provides a five external interface:

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

发表评论

0 个回复

  • 原始数据划分为train.dat和test.dat
    应用背景开始是做movielense的数据,可以把原始数据任意划分为train.dat和test.dat,主要是为了做验证实验。非常简单明了,适合初学者看看,如果不喜欢,请轻喷。关键技术# -*- coding: cp936 -*- from sklearn import cross_validation c = [] filename = r"Raw.data" #原始数据 out_train = open(r"train.txt","w") #训练集 out_test = open(r"test.txt","w") #测试集 for line in open(filename):     items = line.strip().split(",")      c.append(items)   c_train,c_test = cross_validation.train_test_split(c,test_size=0.1)#size =你需要的比例 for i in c_train:     out_train.write(",".join(i)+" ") for i in c_test:     out_test.write(",".join(i)+" ")
    2022-01-25 21:21:56下载
    积分:1
  • 添加或删除
    您可以在您自己的程序中使用此代码 (和可能将它编译成一个程序和分发它允许它的语言的编译格式) 自由与不收费。 您不可以再此代码 (例如到的 web 站点) 分发未经原作者的书面许可。未能这样做是违反了版权法。 你可能会从另一个网站,链接到此代码,但如果它不封装在一个帧中的唯一。 你将会遵守任何额外的版权限制,作者可能已经放在代码或代码的描述。
    2022-04-09 08:07:07下载
    积分:1
  • CSharp配置(*.ini)操作类,简单好用!
    CSharp配置文件(*.ini)操作类,简单好用!-CSharp configuration file (*. ini) operating class, easy to use!
    2022-04-08 00:40:35下载
    积分:1
  • 功能强大的CIniFile类。可以修改、读取变量的值。也可以加入新的变量新的组。...
    功能强大的CIniFile类。可以修改、读取变量的值。也可以加入新的变量新的组。-powerful CIniFile category. Could be amended to read variable values. Can also add a new variable to the new group.
    2022-03-19 00:55:24下载
    积分:1
  • 自动升级服务VC源代码,想为软做升级的朋友参考,值得研究!...
    自动升级服务VC源代码,想为软件做升级的朋友参考,值得研究!-automatic upgrade service VC source code, would like to upgrade the software so a friend reference, it is worth studying.
    2022-12-04 03:00:03下载
    积分:1
  • Will display the contents of the documents, this is a DOS program, delphi useles...
    将文件内容显示出来,这是一个DOS程序,没用delphi做过DOS程序的可以看一下。-Will display the contents of the documents, this is a DOS program, delphi useless DOS procedures can be done to look at.
    2023-07-14 23:50:03下载
    积分:1
  • Fortran程序设计调用10个随机数
    程序会输出10个1到10之间的随机数,每次执行结果会不一样,因为是随机的。这里实例了函数返回数组的方法,主程序中要用interface来说明函数的使用接口。使用接口包括参数类型及返回值类型。
    2022-10-31 08:15:03下载
    积分:1
  • MiniDX字典来源数据进行排序和成千上万的代码发布…
    Minidx字典整理程序源代码发布 几千条数据排序并去除重复纪录可以有很多排序算法直接内存中操作,但是假如说有几百万条记录需要处理,那就不一定适用了。这个程序最初的目的为了解决Minidx字典中重复数据的问题,但是发现写文件时I/O限制比较明显,虽然可以解决问题,但是效果却不怎么样。 工程基于VS2005,MFC的Unicode模式下编译的,利用了Sqlite3.5.0,作了C++封装处理。写处理中开启了事务. 相关链接 http://cn.minidx.com/index.php?option=com_content&task=view&id=88&Itemid=9 -Finishing Minidx dictionary source code release of thousands of data to sort and remove duplicate records can have a lot of sorting algorithm to operate directly in memory, but if that has millions of records that need to be addressed, it does not necessarily apply. The original objective of this procedure in order to resolve the duplication of data dictionary Minidx, but found time to write a document I/O limitations more obvious, although the problem can be solved, but not how to effect. Works based on the VS2005, MFC compile the Unicode mode, the use of Sqlite3.5.0, made C++ Package deal. Write a deal to open the Services. Http://cn.minidx.com/index.php?option=com_content
    2022-08-09 23:26:05下载
    积分:1
  • 应用程序向导创建了这个bindfile应用你。这个应用程序
    AppWizard has created this BindFile application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application. This file contains a summary of what you will find in each of the files that make up your BindFile application. -AppWizard has created this BindFile appli cation for you. This application not only demon strates the basics of using the Microsoft Found ation classes but is also a starting point for wr iting your application. This file contains a su mmary of what you will find in each of the files th at BindFile make up your application.
    2022-03-02 06:20:05下载
    积分:1
  • used to read text
    用于读取基于文本的数据类文件,并对使用进行了详细说明,java版本的文本非常方便
    2022-02-21 09:59:47下载
    积分:1
  • 696524资源总数
  • 103843会员总数
  • 49今日下载