Current Forum: Homework 4 General Forum |
Date: Thu Oct 4 2001 4:13 pm |
Author: Liu, Limin Angela <laliu@andrew.cmu.edu> |
Subject: Re: modifying FileBitReader/FileBitWriter |
|
|
According to guidelines of the decompress() part, we want to read in the frequency and construct another Huffman tree to do the decoding. So seems like it is a must.
I guess the reason for this is probably the possible users will only use either the compress() or the decompress() methods. So building Huffman tree will ensure the private field (HuffmanTree tree) will be initialized correctly for use.
|
|