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

Cube law, A law supposedly applicable to voting behaviour which has a histo...

A law supposedly applicable to voting behaviour which has a history of several decades. It may be stated thus: Consider a two-party system and suppose that the representatives of t

Procrustes analysis, Procrustes analysis is a technique of comparing the a...

Procrustes analysis is a technique of comparing the alternative geometrical representations of a group of multivariate data or of the proximity matrix, for instance, two competing

Bivariate survival data, Bivariate survival data : The data in which the tw...

Bivariate survival data : The data in which the two related survival times are of interest. For instance, in familial studies of disease incidence, data might be available on the a

Explain maz experiments, MAZ experiments : The Mixture-amount experiments w...

MAZ experiments : The Mixture-amount experiments which include control tests for which the entire amount of the mixture is set to zero. Examples comprise drugs (some patients do no

Treatment allocation ratio, Treatment allocation ratio is the ratio of the...

Treatment allocation ratio is the ratio of the number of subjects allocated to the two treatments in a clinical trial. The equal allocation is most usual in practice, but it might

L''abbe ´ plot, L'Abbe ´ plot is often used in the meta-analysis of the cl...

L'Abbe ´ plot is often used in the meta-analysis of the clinical trials where the result is the binary response of it. The event risk (number of events/number of the patients in a

Epidemic curve, The plot of the number of cases of the disease against the ...

The plot of the number of cases of the disease against the time period. A large and sudden increase corresponds to an epidemic. The example of this is shown in the figure drawn bel

Design, Difference between tretment design and experimental design

Difference between tretment design and experimental design

Confidence profile method, Confidence profile method : A Bayesian approach ...

Confidence profile method : A Bayesian approach to meta-analysis in which the information in each piece of the evidence is captured in the likelihood function which is then used al

Current status data, The Current status data arise in the survival analysis...

The Current status data arise in the survival analysis if the observations are limited to the indicators of whether or not the event of interest has happened at the time the sample

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