首页 | 本学科首页   官方微博 | 高级检索  
     


An explicit expression for the cost of a class of Huffman trees
Authors:F.K. Hwang
Affiliation:Bell Laboratories, Murray Hill, NJ 07974, USA
Abstract:Let Tn denote a binary tree with n terminal nodes V={υ1,…,υn} and let li denote the path length from the root to υi. Consider a set of nonnegative numbers W={w1,…,wn} and for a permutation π of {1,…,n} to {1,…,n}, associate the weight wi to the node υπ(i). The cost of Tn is defined as C(TnW)=Minπni=1wilπ(i).A Huffman tree Hn is a binary tree which minimizes C(TnW) over all possible Tn. In this note, we give an explicit expression for C(HnW) when W assumes the form: wi=k for i=1,…,n?m; wi=x for i=n?m+1,…,n. This simplifies and generalizes earlier results in the literature.
Keywords:
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号