readme
来自「在linux环境下可以直接编译运行.C语言版.」· 代码 · 共 19 行
TXT
19 行
This is a library for adaptive Huffman encoding, as described by Knuthin "Dynamic Huffman Coding", Journal of Algorithms vol 6.A test program 'compact' is compiled by default, which uses thealgorithm to compress and uncompress files. The driver is very simpleand accepts only the -d flag, and will not use the standard io. The-d flag or calling the program under the name 'uncompact' will causeit to uncompress. It writes compressed files with a .jz extensions.The stats2header file takes 3 arguments, infile outfile table_name.infile is the name of a file containing whitespace separated numbers,the first being the alphabet size and the rest being the frequency ofeach element in the alphabet.Do not use zero-frequency elements in these stats files, I haven'taccounted for those yet.This code is written by Josh MacDonald, jmacd@cs.berkeley.edu.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?