Implementation of huffman coding, Advanced Statistics

Assignment Help:

Input to the compress is a text le with arbitrary size, but for this assignment we will assume that the data structure of the file fits in the main memory of a computer. Output of the program is a compressed representation of the original file. You will have to save the codetable in the header of the compressed file, so that you can use the codetable for decompressing the compressed file. Input to the decompress is a compressed file, from which the program recovers the original file. For sanity

check, you should have a specific magic word at some position in the header of the compressed file, so that decompress can identify whether the given file is a valid Huffman compressed file. You should pay attention to the following issues:

The file that we will use for testing can be very large, having size in Gigabytes, so make sure that your program is bug-free and it works for large input le.

Write efficient algorithm, we will take off as much as 20 points if we feel that the program is taking unusually long time.

You must make sure that your program runs on a Linux Machine, and identically follows the formatting instructions. For formatting error, as much as 15 points can be taken off .

You must provide a Make file to compile your programs. Also, a README.txt le should be provided that will have the instruction to compile and run the programs. 


Related Discussions:- Implementation of huffman coding

Gambling, It is the art of attempting to exchange something quite small and...

It is the art of attempting to exchange something quite small and certain, for something which are large and uncertain. Gambling is big business; in the US, for instance, it is at

Battery reduction, Battery reduction : A common term for reducing the numbe...

Battery reduction : A common term for reducing the number of variables of the interest in a study for the purposes of study and perhaps later data collection. For instance, an over

Function of Power, In an experiment, power is a function of 1. The number o...

In an experiment, power is a function of 1. The number of variables being measured and the beta level 2. The effect size, internal validity and the beta level 3. The number of part

Reciprocal transformation, Reciprocal transformation is a transformation o...

Reciprocal transformation is a transformation of the form y =1/x, which is specifically useful for certain types of variables. Resistances, for instance, become conductances, and

Explain national lotteries, National lotteries : Games of chance held to he...

National lotteries : Games of chance held to heave money for particular causes. The first held in the UK took place in the year 1569 principally to raise money for repair of the Ci

Fiducial inference, The problematic and enigmatic theory of an inference in...

The problematic and enigmatic theory of an inference introduced by the Fisher, which extracts a probability distribution for the parameter on the basis of the data without having f

Binomial distribution with continuity correction, Records on the computer m...

Records on the computer manufacturing process at Pratt-Zungia Limited show that the percentage of defective computers sent to  customers has been 5% over the last few years. Shipme

Observational study, Observational study   is the study in which the object...

Observational study   is the study in which the objective is to discover cause-and-effect relationships but in which it is not feasible to use the controlled experimentation, in th

Decision tree analysis, Ask questioThe finance manager of ‘Softy’ baby soap...

Ask questioThe finance manager of ‘Softy’ baby soap manufacturing company being successful in the first two years of the company’s operations is considering setting up another plan

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd