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

Probability and random processes, how to find the PDF and CDF of a gamma ra...

how to find the PDF and CDF of a gamma random variable with given equation?

Normal distribution, Your first task is to realize two additional data gene...

Your first task is to realize two additional data generation functions. Firstly, extend the system to generate random integral numbers based on normal distribution. You need to stu

Fisher''s transformation, The transformation of the Pearson's product momen...

The transformation of the Pearson's product moment correlation coefficient, r, can be given by   The statistic z has the normal distribution with mean   here ρ is the pop

The time series analysis on the number of babies, importance of time series...

importance of time series on the number of babies given birth

Clinical trials, Clinical trials : Medical experiments designed to assess w...

Clinical trials : Medical experiments designed to assess which of two or more treatments is much more effective. It is based on one of the oldest philosophy of the scienti?c resear

Dummy variable, Discuss the use of dummy variables in both multiple linear ...

Discuss the use of dummy variables in both multiple linear regression and non-linear regression. Give examples if possible

Excel, Software which started out as the spreadsheet targeting at manipulat...

Software which started out as the spreadsheet targeting at manipulating the tables of number for financial analysis, which has now developed into a more flexible package for workin

Regression, what are tests for residual with nonconstant variance in regres...

what are tests for residual with nonconstant variance in regression diagnostic checking?

Classification and regression tree technique (cart), Classification and reg...

Classification and regression tree technique (CART): The alternative to the multiple regression and associated techniques or methods for determining subsets of the explanatory va

Multiple correlation coefficient, Multiple correlation coefficient is th...

Multiple correlation coefficient is the correlation among the observed values of dependent variable in the multiple regression, and the values predicted by estimated regression

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