搜索资源列表
ex
- (1)一个包含10个元素的数组,已按升序排序,输入一个任意的整数,将该整数插入数组中,使数组元素仍保持升序排列。 要求编写一个通用的插入排序函数InsertSort,它带有三个参数,第一个参数是含有n个元素的数组,这n个元素已按升序排序;第二个参数给出当前数组中元素的个数;第三个参数是要插入的整数。该函数的功能是将一个整数插入到数组中,然后进行排序。另外还需要一个用于输出数组元素的函数Print,要求每一行输出5个元素。 (2)编程求下列两个矩阵的加法(结果矩阵的元素值是这
buildHuffmanTree
- 霍夫曼编码是一种编码方式,是一种用于无损数据压缩的熵编码(权编码)算法。用变长编码表对源符号(如文件中的一个字母)进行编码,其中变长编码表是通过一种评估来源符号出现机率的方法得到的,出现机率高的字母使用较短的编码,反之出现机率低的则使用较长的编码,这便使编码之后的字符串的平均长度、期望值降低,从而达到无损压缩数据的目的。-Huffman coding is a coding is a lossless data compression entropy coding (right coding)
lzss_string
- lzss,实现了字符串压缩 解压实现,只是在奥村的LZSS.c上稍稍修改-Implemented LZSS, the string compression decompression, just in the village of LZSS. C on modified slightly
my_easylzma
- 根据lzma sdk 搬运得到的lzma字符串压缩解压代码,可参考。-According to the lzma SDK handling the lzma string compression decompression code, can refer to.
shangke-
- 统计字符串出现的次数,并进一步实现数据压缩-Number of statistical occurrences, and further data compression
code
- 简单的算数编码译码程序,输入需要操作的字符串即字符概率-Simple arithmetic codec program, enter the need to operate a string of characters that the probability
RLEcompression
- 借助于RLE游程编码的思想,实现对字符串数据的简单压缩。-RLE RLE means of thought, to achieve a simple string data compression.
Huffman
- 使用huffman算法对字符串进行压缩,显示压缩详情,压缩比-Use huffman compression algorithm for string display compression details, compression ratio
LZW-encoding-and-decoding
- 对小写英文的字符串进行lzw编码与解码的文件 字典上限为256-LZW encoding and decoding The dictionary limit is 256
UUENCODE_Base64-encodedecode
- UUE(UUENCODE ) & Base64编码解码原理源代码。可自定义编码表(纯字符串),修改编码表即可在UUE和Base64编码解码之间切换,已优化解决不支持中文的BUG。 纯字符串方式,不考虑定长折行和加行首字符及文件头尾定义等,方便网页运用,可直接移植为ASP代码(需要删除AS变量类型限定)!-UUE (UUENCODE) & Base64 encoding and decoding principle source code. Can be a custom code t
huffman
- 霍夫曼编码,功能为读取对应文件里的字符串源码,进行霍夫曼编码,输出码表字典和编码结果,编码效率等参数,最后提供解码-Huffman coding function to read the corresponding file in the source string, Huffman encoding, dictionary and code table output coded result, the coding efficiency and other parameters, and fi
ZipUtils
- java 常用对文件 字符串 使用gzip进行压缩(Compression using gzip)
NCom
- 字符串、数组的zip压缩和解压缩代码,java版本改造的C#版本(String and array zip compression and decompression)
ssbm
- 用C++实现简单的字符串的算数编码功能和译码功能。(The arithmetic coding and decoding functions of simple strings are realized with C++.)
赫夫曼算法C++
- 赫夫曼压缩算法的C++实现,可用于对字符串的压缩并计算压缩率(Huffman compression algorithm C++)