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

Extrapolation, This process of estimating from a data set those values lyin...

This process of estimating from a data set those values lying beyond range of the data. In the regression analysis, for instance, a value of the response variable might be estimate

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

Scatter plots - non-linear relationship, The scatter plots of SRES1, RESI1 ...

The scatter plots of SRES1, RESI1 versus totexp demonstrates that there is non-linear relationship that exists as most of the points are below and above zero. The scatter plots sho

Differences-in-differences estimator, The estimator of the group by the tim...

The estimator of the group by the time period interaction in a study in which the subjects in two different groups are observed in two different time periods. Normally one of th

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

Double sampling, The procedure in which initially the sample of subjects is...

The procedure in which initially the sample of subjects is selected for generating the auxillary information only, and then the second sample is selected in which the variable of i

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

Lipstick Dilemma, For a career woman, wearing lipstick has become an integr...

For a career woman, wearing lipstick has become an integral part of her daily life. It is not unusual for a woman to look for a lipstick that will stay on her lips and not smudge

Quantitative Methods, After graduating from Tech Julia was unable to find r...

After graduating from Tech Julia was unable to find regular employment and approached the Director of Athletics at Tech to request that she remain a vendor of the following year.

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