Description: LZW compression and decompression
Modifying LZW compression and decompression procedures, complete the following requirements:
1 each completed xkbytes text compression/decompression, re-initialize the codebook (code table). This procedure can be seen as the contents of the text code of the adaptive adjustment process, each part of the text code, the code re-initialized and the subsequent text based content generation, can get a better compression ratio.
(2) test gives a text file, you need to test the range of x {10, 20, 30, 40, 50}, and compare the values of the five kinds of compression/decompression effects (including compression ratio and compression time, etc.). Program parameters need to add x, such as calling "Compress text 30"
To Search:
File list (Check if you may need any files):
DOC
...\实验七.docx
...\实验七.pdf
EXE
...\Compress.exe
...\Decompress.exe
...\text100k
...\text200k
SRC
...\Compress
...\........\chash.h
...\........\Compress.cpp
...\........\sonode.h
...\........\sortedChain.h
...\........\xcept.h
...\Decompress
...\..........\chash.h
...\..........\Decompress.cpp
...\..........\sonode.h
...\..........\sortedChain.h
...\..........\xcept.h