Affiliation:
1. Brown Univ., Providence, RI
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.
Publisher
Association for Computing Machinery (ACM)
Subject
Artificial Intelligence,Hardware and Architecture,Information Systems,Control and Systems Engineering,Software
Cited by
193 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Selective dynamic compression;Discrete Applied Mathematics;2024-12
2. Synchronizing dynamic Huffman codes;Discrete Applied Mathematics;2024-12
3. Word-Based Forward Coding;2024 Data Compression Conference (DCC);2024-03-19
4. Universal Adaptive Stream-Based Entropy Coding;IEEE Access;2024
5. Adaptive compression of operational commands for remote network management over LPWA;2023 33rd International Telecommunication Networks and Applications Conference;2023-11-29