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

Histogram, Histogram is the graphical representation of the set of observat...

Histogram is the graphical representation of the set of observations in which class frequencies are represented by the regions of rectangles centred on the class interval. If the f

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

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

Explain prospective studies, Prospective study : The studies in which indiv...

Prospective study : The studies in which individuals are followed-up over the period of time. A general example of this type of investigation is where the samples of individuals ar

Multitrait multi method model (mtmm), Multitrait multi method model (MTMM) ...

Multitrait multi method model (MTMM) is the form of confirmatory factor analysis model in which the different techniques of measurement are used to measure each of the latent vari

Data screening, The initial evaluation of the set of observations to see wh...

The initial evaluation of the set of observations to see whether or not they appear to satisfy the hypotheses or assumptions of the methods to be used in their analysis. Techniques

Per-experiment error rate, Per-experiment error rate is the possibility of...

Per-experiment error rate is the possibility of the incorrectly rejecting at least one null hypothesis or assumption in the experiment including one or more tests or comparisons,

Probabilistic matching, Probabilistic matching is a method developed to ma...

Probabilistic matching is a method developed to maximize the accuracy of the linkage decisions based on the level of agreement and disagreement among the identifiers on different

Gllamm, Gllamm is a program which estimates the generalized linear latent ...

Gllamm is a program which estimates the generalized linear latent and mixed models by the maximum likelihood. The models which can be fitted include structural equation models mul

Randomized encouragement trial, Randomized encouragement trial   is the cl...

Randomized encouragement trial   is the clinical trials in which the participants are encouraged to change their behaviour in a particular manner (or not, if they are allocated to

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