Huffman minimum variance coding

1.3k Views Asked by At

it is well known that Huffman code with minimum variance is preferable. I've digged through entire Polish/English internet and this is what I found: to build Huffman code with minimum variance you need to break ties with one of the following methods (of course probability of node is the most important):

  • Select node that represents shortest tree
  • Select node that was created earliest (consider leafs as created at start).

the problem is, that I couldn't find any proof of correctness of any of these methods. Can someone proof any of these?

I will gladly clarify anything.