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

Regression analysis, with the help of regression analysis create a model th...

with the help of regression analysis create a model that best describes the situation. Indicate clearly the effect that each factors given in the attached file and other factors ma

Empirical bayes method, The procedure in which the prior distribution is re...

The procedure in which the prior distribution is required in the application of Bayesian inference, it is determined from empirical evidence, namely same data for which the posteri

Explain median absolute deviation (mad), Median absolute deviation (MAD) : ...

Median absolute deviation (MAD) : It is the very robust estimator of the scale given by the following equation   or, in other words we can say that, the median of the absolute

Define quantalassay, Quantalassay:  The experiment in which the groups of s...

Quantalassay:  The experiment in which the groups of subjects are exposed to the different doses of, generally, a drug, to which the particular number respond. Data from such type

Oracle property, Oracle property is a name given to techniques for estimat...

Oracle property is a name given to techniques for estimating the regression parameters in the models fitted to high-dimensional data which have the property that they can correctl

T-test , Ha: If hyperlipidemia is believed to be a side effect of second-ge...

Ha: If hyperlipidemia is believed to be a side effect of second-generation antipsychotics (SGAs), then Hispanic patients with SGAs treatment will have the higher frequency of devel

Case-cohort study, Case-cohort study : The research design in epidemiology ...

Case-cohort study : The research design in epidemiology which involves the sampling of controls at the outset of the study that is to be compared with the cases from the cohort. Th

Business forcastin.., elements , importance, limitation, and theories

elements , importance, limitation, and theories

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

Expected monetary value, Ask quesoil company is considering whether or not ...

Ask quesoil company is considering whether or not to bid for an offshore drilling contract. If they bid, the value would be $600m with a 65% chance of gaining the contract. The com

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