ACM Home Page
Please provide us with feedback. Feedback
Algorithm 673: Dynamic Huffman coding
Full text PdfPdf (626 KB)
Source ACM Transactions on Mathematical Software (TOMS) archive
Volume 15 ,  Issue 2  (June 1989) table of contents
Pages: 158 - 167  
Year of Publication: 1989
ISSN:0098-3500
Author
Jeffrey Scott Vitter  Department of Computer Science, Brown University, Providence, R.I.
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 22,   Downloads (12 Months): 154,   Citation Count: 6
Additional Information:

appendices and supplements   abstract   references   cited by   index terms  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/63522.214390
What is a DOI?

APPENDICES and SUPPLEMENTS
gZip673.gz (5 KB)
one-pass: dynamic Huffman codes (compression)
Gams: N


ABSTRACT

We present a Pascal implementation of the one-pass algorithm for constructing dynamic Huffman codes that is described and analyzed in a companion paper. The program runs in real time; that is, the processing time for each letter of the message is proportional to the length of its codeword. The number of bits used to encode a message of t letters is less than t bits more than that used by the well-known two-pass algorithm. This is best possible for any one-pass Huffman scheme. In practice, it uses fewer bits than all other Huffman schemes. The algorithm has applications in file compression and network transmission.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
HUFFMAN, D.A. A method for the construction of minimum redundancy codes. In the Proceedings o{ the Institute of Radio Engineers 40 (1951), pp. 1098-1101.
 
2
3