compression
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:A course project which involved coding several common compression algorithms in Haskell
compression
===========

A course project which involved coding several common compression algorithms in Haskell.

Compile using 
ghc --make -O2 Main.hs -o compressor
Compress the file halting using Huffman coding This produces the file CalgaryCorpus/halting.huff
./compressor Huffman CalgaryCorpus/halting
Decompress the file we just encoded. Produces the file CalgaryCorpus/halting.huff.decoded This will decompress all algorithms implemented in this assignment
./compressor Decompress CalgaryCorpus/halting.huff
Check that there are no differences between the original and decoded files If nothing is printed, then the files are the same
diff CalgaryCorpus/halting CalgaryCorpus/halting.huff.decoded

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。