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

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

Convex hull trimming, Convex hull trimming : A procedure which can be appli...

Convex hull trimming : A procedure which can be applied to the set of bivariate data to permit robust estimation of the Pearson's product moment correlation coef?cient. The points

Persson rootze ´n estimator, Persson Rootze ´n estimator  is an estimator f...

Persson Rootze ´n estimator  is an estimator for the parameters in the normal distribution when the sample is truncated so that all the observations under some fixed value C are re

Mardia''s multivariate normality test, Mardia's multivariate normality test...

Mardia's multivariate normality test is a test that a set of the multivariate data arise from the multivariate normal distribution against departures due to the kurtosis. The test

Coefficient of concordance, Coefficient of concordance : The coef?cient is ...

Coefficient of concordance : The coef?cient is taken in use to assess the agreement among m raters ranking n individuals according to some of the speci?c characteristic. Which can

Omitted covariates, Omitted covariates is a term generally found in the co...

Omitted covariates is a term generally found in the connection with regression modelling, where the model has been incompletely specified by not including significant covariates.

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

Determinant, A value related with the square matrix which represents sums a...

A value related with the square matrix which represents sums and products of its elements. For instance, if the matrix is   then the determinant of A (conventionally written as

Math, A statewide survey of 1,706 California adults’ residents include the ...

A statewide survey of 1,706 California adults’ residents include the following question: would you favor or oppose providing a path to citizenship for illegal immigrants in the U.S

Bayes factor, Bayes factor : A summary of evidence for the modelM1 against ...

Bayes factor : A summary of evidence for the modelM1 against the another modelM0 provided by the set of data D, which can be used in the model selection. Given by the ratio of post

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