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

Ordinal variable, Ordinal variable is a measurement which allows a sample ...

Ordinal variable is a measurement which allows a sample of the individuals to be ranked with respect to some characteristic but where differences at different points of the scale

Durbin watson statistic, The Null Hypothesis - H0: There is no first order ...

The Null Hypothesis - H0: There is no first order autocorrelation The Alternative Hypothesis - H1: There is first order autocorrelation Durbin-Watson statistic = 1.98307

Em algorithm, The method or technique for producing the sequence of paramet...

The method or technique for producing the sequence of parameter estimates that, under the mild regularity conditions, converges to maximum likelihood estimator. Of particular signi

#title.Statistics for management, The growth in bad debt expense for Johnst...

The growth in bad debt expense for Johnston office supply Company over this time period.If this rate continues,estimate the percentage increase in bad debts for 1997,relative to 19

Describe monty hall problem, Monty Hall problem : A apparently counter-intu...

Monty Hall problem : A apparently counter-intuitive problem in the probability which gets its name from the TV game show, 'Let's Make a Deal' hosted by the Monty Hall. On show a pa

Determine the probablity, Dr. Stallter has been teaching basic statistics f...

Dr. Stallter has been teaching basic statistics for many years. She knows that 80% of the students will complete the assigned problems. She has also determined that among those who

LASPEYERES QUANTITY INDEX, HOW TO OBTAIN THE LASPEYRES QUANTITY INDEX AND T...

HOW TO OBTAIN THE LASPEYRES QUANTITY INDEX AND THE FORMULA

Proportional allocation, how to get the proportional allocation of the give...

how to get the proportional allocation of the give stratified random sampling example

Relative risk, Relative risk is the measure of the association between the...

Relative risk is the measure of the association between the exposure to a particular factor and the risk or probability of a convinced outcome, calculated as follows     therefor

Drug stability studies, The studies conducted in the pharmaceutical industr...

The studies conducted in the pharmaceutical industry to calculate the degradation of the new drug product or an old drug formulated or packaged in the new manner. The main study ob

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