The warm-up algorithm:: A Lagrangian construction of length restricted Huffman codes

被引:6
|
作者
Milidiú, RL
Laber, ES
机构
[1] Pontificia Univ Catolica Rio de Janeiro, Dept Informat, Rio De Janeiro, Brazil
[2] Univ Fed Rio de Janeiro, Programa Engn Sistemas & Computacao, Rio De Janeiro, Brazil
关键词
prefix codes; Huffman trees; Lagrangian duality;
D O I
10.1137/S009753979731981X
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Given an alphabet {alpha (1),..., alpha (n)} with the corresponding list of weights [omega (1),..., omega (n)], and a number L greater than or equal to inverted right perpendicular log n inverted left perpendicular, we introduce the WARM- UP algorithm, a Lagrangian algorithm for constructing suboptimal length restricted prefix codes. Two implementations of the algorithm are proposed. The first one has time complexity O(n log n+n log <(<omega>)over bar>), where <(<omega>)over bar> is the highest presented weight. The second one runs in O (nL log(n/ L)) time. The number of additional bits per symbol generated by WARM-UP when comparing to Huffman encoding is not greater than 1/psi (L-inverted right perpendicular log(n + inverted right perpendicular log n inverted left perpendicular -L inverted left perpendicular-2). Even though the algorithm is approximated it presents an optimal behavior for practical settings. An important feature of the proposed algorithm is its implementation simplicity. The algorithm is basically a selected sequence of Huffman tree constructions for modified weights. The approach gives some new insights on the problem.
引用
收藏
页码:1405 / 1426
页数:22
相关论文
共 22 条