예제 #1
0
 public HuffmanTree(HuffmanFrequencyTable frequencies, int bitCountForTree)
 {
     Frequencies     = frequencies;
     BitCountForTree = bitCountForTree;
     _nodes          = new List <HuffmanNode>();
 }
예제 #2
0
 public HuffmanTree()
 {
     _nodes      = new List <HuffmanNode>();
     Frequencies = new HuffmanFrequencyTable();
 }