A property of prefix codes called strong monotonicity is introduced. Then it is proven that for a prefix code $C$ for a given probability distribution, the following are equivalent: (i) $C$ is expected length minimal; (ii) $C$ is length equivalent to a Huffman code; and (iii) $C$ is complete and strongly monotone. Also, three relations are introduced between prefix code trees called same-parent, same-row, and same-probability swap equivalence, and it is shown that for a given source, all Huffman codes are same-parent, same-probability swap equivalent, and all expected length minimal prefix codes are same-row, same-probability swap equivalent.
翻译:本文引入了前缀码的一个性质,称为强单调性。随后证明,对于给定概率分布下的前缀码 $C$,以下条件是等价的:(i) $C$ 是期望长度最小的;(ii) $C$ 与霍夫曼码长度等价;(iii) $C$ 是完备且强单调的。此外,还引入了前缀码树之间的三种关系,即同父交换等价、同行交换等价和同概率交换等价,并证明对于给定信源,所有霍夫曼码都是同父且同概率交换等价的,而所有期望长度最小的前缀码都是同行且同概率交换等价的。