ON THE COMPETITIVE OPTIMALITY OF HUFFMAN CODES

被引:13
作者
COVER, TM
机构
[1] Departments of Electrical Engineering and, Statistics, Stanford University, Durand Building, Stanford, CA 94305
关键词
competitive optimality; data compression; Huffman codes; optimality of Huffman codes; Shannon codes;
D O I
10.1109/18.61133
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Let X be a discrete random variable drawn according to a probability mass function p(x), and suppose p(x), is dyadic, i.e., log(1 / p(x)) is an integer for each x. We show that the binary code length assignment f(x) = log(1/p(x)) dominates any other uniquely decodable assignment l'(x) in expected length in the sense that El(X)< El’(X) indicating optimality in long run performance (which is well known), and competitively dominates l'(x), in the sense that Pr{l(X)< l'(X)} > Pr{l(X) > l’(X)}, which indicates l is also optimal in the short run. In general, if p is not dyadic, then l = [log 1 /p] dominates l'+ 1 in expected length and competitively dominates l'+ 1, where l’ is any other uniquely decodable code. © 1991 IEEE
引用
收藏
页码:172 / 174
页数:3
相关论文
共 2 条
[1]  
Blahut R.E., 1987, PRINCIPLES PRACTICE
[2]  
Shannon Claude E., 1949, MATH THEORY COMMUNIC