Exemple #1
0
 /// <summary>
 /// Calls private method, that builds Huffman tree.
 /// </summary>
 private void MakeHuffmanTreeFromTrees()
 {
     Forest.GrowHuffmansTree();
 }
Exemple #2
0
 /// <summary>
 /// Disposes fo this object properties.
 /// </summary>
 public void Dispose()
 {
     Reader.Dispose();
     Forest.Dispose();
     Coder.Dispose();
 }
Exemple #3
0
 /// <summary>
 /// Calls PlantForest method on own instance of Forest, creating Tree representation of INPUT data.
 /// </summary>
 private void MakeTreesFromOccurances()
 {
     Forest.PlantForest(Occurance);
 }