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

Particlefilters, Particlefilters is a simulation method for tracking movin...

Particlefilters is a simulation method for tracking moving target distributions and for reducing computational burden of the dynamic Bayesian analysis. The method uses a Markov ch

Resentful demoralization, Resentful demoralization is the possible phenome...

Resentful demoralization is the possible phenomenon in the clinical trials and intervention studies in which comparison groups not attaining a perceived desirable treatment become

SCATTER DIAGRAM, MEANING ,IMPORTANCE AND RELEAVANCE OF SCATTER DIAGRAM

MEANING ,IMPORTANCE AND RELEAVANCE OF SCATTER DIAGRAM

Density estimation, Procedures for estimating the probability distributions...

Procedures for estimating the probability distributions without supposing any particular functional form. Constructing the histogram is perhaps the easiest example of such type of

Historigram, difference between histogram and historigram

difference between histogram and historigram

Interior analysis, Interior analysis is the  term now and again applied to...

Interior analysis is the  term now and again applied to analysis carried out on the fitted model in regression problem. The basic target of such analyses is the identification of

Bayesian inference, Bayesian inference : An approach to the inference based...

Bayesian inference : An approach to the inference based largely on Bayes' Theorem and comprising of the below stated principal steps: (1) Obtain the likelihood, f x q describing

Product-limit estimator, Product-limit estimator is a method for estimatin...

Product-limit estimator is a method for estimating the survival functions for the set of survival times, some of which might be censored observations. The logic behind the procedu

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

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

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