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

Durbin watson statistic, The Null Hypothesis - H0: There is no first order ...

The Null Hypothesis - H0: There is no first order autocorrelation The Alternative Hypothesis - H1: There is first order autocorrelation Durbin-Watson statistic = 1.98307

Cauchy integral, Cauchy integral : The integral of the function, f (x), fro...

Cauchy integral : The integral of the function, f (x), from a to b are de?ned in terms of the sum   In the statistics this leads to the below shown inequality for the expecte

Mobile Marketing statistics., 1) Has smartphones affected the consumer beh...

1) Has smartphones affected the consumer behavior? If so How ? And how is it going to change in future? 2) Forecasting of Mobile market (Time series analysis) 3) Comparison of fou

Explain interim analyses, Interim analyses : An analysis made before the pl...

Interim analyses : An analysis made before the planned end of a clinical trial, typically with the aim of detecting the treatment differences at the early stage and thus preventing

Finite mixture distribution, The probability distribution which is a linear...

The probability distribution which is a linear function of the number of component probability distributions. This type of distributions is used to model the populations thought to

Leaps-and-bounds algorithm, Leaps-and-bounds algorithm is an algorithm whi...

Leaps-and-bounds algorithm is an algorithm which is used to ?nd the optimal solution in problems which might have a large number of possible solutions. Begins by dividing the poss

Central tendency, explain the graphical method of measure of central tenden...

explain the graphical method of measure of central tendency

Describe multiple imputation, Multiple imputation : The Monte Carlo techniq...

Multiple imputation : The Monte Carlo technique in which missing values in the data set are replaced by m> 1 simulated versions, where m is usually small (say 3-10). Each of simula

Scatter plots, The scatter plot of SRES1 versus totexp demonstrates that th...

The scatter plot of SRES1 versus totexp demonstrates that there is non-linear relationship that exists as most of the points are below and above zero. The scatter plot show that th

Describe lorenz curve., Lorenz curve : Essentially the graphical representa...

Lorenz curve : Essentially the graphical representation of cumulative distribution of the variable, most often used for the income. If the risks of disease are not monotonically in

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