ACM Home Page
Please provide us with feedback. Feedback
Design and analysis of dynamic Huffman codes
Full text PdfPdf (1.63 MB)
Source Journal of the ACM (JACM) archive
Volume 34 ,  Issue 4  (October 1987) table of contents
Pages: 825 - 845  
Year of Publication: 1987
ISSN:0004-5411
Author
Jeffrey Scott Vitter  Brown Univ., Providence, RI
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 13,   Downloads (12 Months): 110,   Citation Count: 22
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

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/31846.42227
What is a DOI?

ABSTRACT

A new one-pass algorithm for constructing dynamic Huffman codes is introduced and analyzed. We also analyze the one-pass algorithm due to Faller, Gallager, and Knuth. In each algorithm, both the sender and the receiver maintain equivalent dynamically varying Huffman trees, and the coding is done in real time. We show that the number of bits used by the new algorithm to encode a message containing t letters is < t bits more than that used by the conventional two-pass Huffman scheme, independent of the alphabet size. This is best possible in the worst case, for any one-pass Huffman method. Tight upper and lower bounds are derived. Empirical tests show that the encodings produced by the new algorithm are shorter than those of the other one-pass algorithm and, except for long messages, are shorter than those of the two-pass method. The new algorithm is well suited for on-line encoding/decoding in data networks and for tile compression.


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
 
2
 
3
FALLER, N. An adaptive system for data compression. In Record of the 7th .4silomar Conference on Circuits, Systems, and Computers. 1973, pp. 593-597.
 
4
GALLAGER, R.G. Variations on a theme by Huffman. IEEE Trans. Inf. Theory 17"-24, 6 (Nov. 1978), 668-674.
 
5
HUFFMAN, D.A. A method for the construction of minimum redundancy codes. In Proc. IRE 40 (1951), 1098-1101.
 
6
 
7
MCMASTER, C. L. Documentation of the compact command. In UNIX User's Manual, 4.2 Berkeley Software Distribution, Virtual VAX-11 Version, Univ. of California, Berkeley, Berkeley, Calif., Mar. 1984.
 
8
SCHWARTZ, E.S. An Optimum Encoding with Minimum Longest Code and Total Number of Dip~ts. Inf. Control 7, 1 (Mar. 1964), 37-44.
 
9
VlYrER, J.S. Dynamic Huffman Coding. ACM Trans. Math. Sofiw. Submitted 1986.
 
10

CITED BY  22

Collaborative Colleagues:
Jeffrey Scott Vitter: colleagues