Skip Navigation

The Computer Journal 1990 33(4):296-307; doi:10.1093/comjnl/33.4.296
© 1990 by British Computer Society
This Article
Right arrow Full Text (PDF)
Right arrow Alert me when this article is cited
Right arrow Alert me if a correction is posted
Services
Right arrow Email this article to a friend
Right arrow Similar articles in this journal
Right arrow Similar articles in ISI Web of Science
Right arrow Alert me to new issues of the journal
Right arrow Add to My Personal Archive
Right arrow Download to citation manager
Right arrow Search for citing articles in:
ISI Web of Science (13)
Right arrowRequest Permissions
Google Scholar
Right arrow Articles by Fraenkel, A. S.
Right arrow Articles by Klein, S. T.
Right arrow Search for Related Content
Social Bookmarking
 Add to CiteULike   Add to Connotea   Add to Del.icio.us  
What's this?

Bidirectional Huffman Coding

A. S. Fraenkel1 * and S. T. Klein2 §

1 Department of Applied Mathematics and Computer Science, The Weizman Institute of Science, Rehovot 76100, Israel, 2 Center for Information and Language Studies, University of Chicago, 1100 East 57-th Street, Chicago, IL 60637, USA

Under what conditions can Huffman codes be efficiently decoded in both directions? The usual decoding procedure works also for backward decoding only if the code has the affix property, i.e., both prefix and suffix properties. Some affix Huffman codes are exhibited, and necessary conditions for the existence of such codes are given. An algorithm is presented which, for a given set of codeword lengths, constructs an affix code, if there exists one. Since for many distributions there is no affix code giving the same compression as the Huffman code, a new algorithm for backward decoding of non-affix Huffman codes is presented, and its worst case complexity is proved to be linear in the length of the encoded text.


Received August 1989.

* Department of Applied Mathematics and Computer Science, The Weizmann Institute of Science, Rehovot 76100, Israel

§ Center for Information and Language Studies, University of Chicago, 1100 East 57-th Street, Chicago, IL 60637, USA


Add to CiteULike CiteULike   Add to Connotea Connotea   Add to Del.icio.us Del.icio.us    What's this?




Disclaimer:
Please note that abstracts for content published before 1996 were created through digital scanning and may therefore not exactly replicate the text of the original print issues. All efforts have been made to ensure accuracy, but the Publisher will not be held responsible for any remaining inaccuracies. If you require any further clarification, please contact our Customer Services Department.