计算机科学 > 信息论
[提交于 2010年1月30日 (v1),最后修订于 2011年7月15日 (此版本, v4)]
标题:On the Construction of Prefix-Free and Fix-Free Codes with Specified Codeword Compositions
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We investigate the construction of prefix-free and fix-free codes with specified codeword compositions. We present a polynomial time algorithm which constructs a fix-free code with the same codeword compositions as a given code for a special class of codes called distinct codes. We consider the construction of optimal fix-free codes which minimizes the average codeword cost for general letter costs with uniform distribution of the codewords and present an approximation algorithm to find a near optimal fix-free code with a given constant cost.