コード例 #1
0
 public HoffmanNode(int frequency, HoffmanNode left, HoffmanNode right)
 {
     this.Value     = default(char);
     this.Frequency = frequency;
     this.Right     = right;
     this.Left      = left;
 }
コード例 #2
0
 public HoffmanNode(char value, int frequency)
 {
     this.Frequency = frequency;
     this.Value     = value;
     this.Right     = null;
     this.Left      = null;
 }
コード例 #3
0
 public HoffmanTree()
 {
     root = null;
 }