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

Please answer this question, How large would the sample need to be if we ar...

How large would the sample need to be if we are to pick a 95% confidence level sample: (i) From a population of 70; (ii) From a population of 450; (iii) From a population of 1000;

Non-identified response, Non-identified response is a term used to signify...

Non-identified response is a term used to signify censored observations in survival data, which are not independent of the endpoint of the interest. Such observations can happen f

Petersen''s factor theorem, Suppose the graph G is n-connected, regular of ...

Suppose the graph G is n-connected, regular of degree n, and has an even number of vertices. Prove that G has a one-factor. Petersen's 2-factor theorem (Theorem 5.40 in the note

Rejection Region (graded), How is the rejection region defined and how is t...

How is the rejection region defined and how is that related to the z-score and the p value? When do you reject or fail to reject the null hypothesis? Why do you think statisticians

Consolidated standards for reporting trials (consort) , Consolidated Standa...

Consolidated Standards for Reporting Trials (CONSORT) statement : The protocol for reporting the results of the clinical trials. The core contribution of the statement comprises of

Explain laplace distribution, Laplace distribution : The probability distri...

Laplace distribution : The probability distribution, f(x), given by the following formula   Can be derived as the distribution of the difference of two independent random var

Latin square, Latin square  is an experimental design targeted at removing ...

Latin square  is an experimental design targeted at removing from the experimental error the variation from two extraneous sources so that a more sensitive test of the treatment ef

Anova, a. Explain the meaning of the word non-orthogonal. b. What conditio...

a. Explain the meaning of the word non-orthogonal. b. What condition(s) must exist for non-orthogonality to occur? Be specific.

Lexis diagram, Lexis diagram  is the diagram for displaying the simultaneou...

Lexis diagram  is the diagram for displaying the simultaneous effects of the two time scales (generally age and calendar time) on a rate. For instance, mortality rates from cancer

Identifying the necessary and sufficient conditions, You have probably noti...

You have probably noticed by now that some of the statements of necessary and sufficient conditions sound more natural than others. For example it seems more natural to express "We

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