A dynamic programming algorithm to construct optimal code trees of AIFV codes

Ken‐ichi Iwata, H. Yamamoto · International Symposium on Information Theory and its Applications · 2016

Binary AIFV (almost instantaneous fixed-to-variable length) codes, which uses two code trees, can attain better compression rates than binary Huffman codes. Although the optimal binary AIFV codes can be constructed by combining an iterative algorithm to improve a parameter and an integer programming (IP) to derive the optimal code trees for a given parameter, the complexity of the IP problem is NP hard in general. In this paper, we propose a dynamic programming algorithm, which can be used instead of the above IP. The proposed dynamic programming algorithm works with O(n5) time and O(n3) space for source alphabet size n.

Read the paper · More papers on PaperTik