文件名称:lzwxjj
介绍说明--下载内容均来自于网络,请自行研究使用
lzw解码
编码
1、分析字符串流,从词典中寻找最长匹配串P(P在表中,而P+C不在表中。P为进行编码字符串,C为P后的第一个字符)。
2、输出P对应的词典码字(索引)。
3、将P+C放入词典-lzw decoding coded 1, analysis of a string stream, from the dictionary to find the longest match string P (P in the table, while the P+ C is not in the table. P is encoded as a string, C for the first character after P). 2, the output code word dictionary corresponding P (index). 3, P+ C into the dictionary
编码
1、分析字符串流,从词典中寻找最长匹配串P(P在表中,而P+C不在表中。P为进行编码字符串,C为P后的第一个字符)。
2、输出P对应的词典码字(索引)。
3、将P+C放入词典-lzw decoding coded 1, analysis of a string stream, from the dictionary to find the longest match string P (P in the table, while the P+ C is not in the table. P is encoded as a string, C for the first character after P). 2, the output code word dictionary corresponding P (index). 3, P+ C into the dictionary
(系统自动生成,下载前可以参看下载内容)
下载文件列表
lzwxjj.cpp