Algorithmic counting of nonequivalent compact Huffman codes

From MaRDI portal



Abstract: It is known that the following five counting problems lead to the same integer sequence~ft(n): the number of nonequivalent compact Huffman codes of length~n over an alphabet of t letters, the number of `nonequivalent' canonical rooted t-ary trees (level-greedy trees) with n~leaves, the number of `proper' words, the number of bounded degree sequences, and the number of ways of writing 1=frac1tx1+dots+frac1txn with integers 0leqx1leqx2leqdotsleqxn. In this work, we show that one can compute this sequence for extbf{all} n<N with essentially one power series division. In total we need at most N1+varepsilon additions and multiplications of integers of cN bits, c<1, or N2+varepsilon bit operations, respectively. This improves an earlier bound by Even and Lempel who needed O(N3) operations in the integer ring or O(N4) bit operations, respectively.












This page was built for publication: Algorithmic counting of nonequivalent compact Huffman codes

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q6313357)