Adaptive Huffman coding: Difference between revisions

Content deleted Content added
Line 37:
p = pointer to the leaf node containing the next symbol
IF (p is NYT) THEN
Extend Pp by adding two children
Left child becomes new NYT and right child is the new symbol leaf node
p = parent of new symbol leaf node