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

Recursive models, Recursive models are the statistical models in which the...

Recursive models are the statistical models in which the causality flows in one direction, that is models which include only unidirectional effects. Such type of models do not inc

Mean-range plot, Mean-range plot   is the graphical tool or device usefu...

Mean-range plot   is the graphical tool or device useful in selecting a transformation in the time series analysis. The range is plotted against the mean for each of the seasona

Prepare a depreciation schedule for the rental equipment, Sam Tyler, a sing...

Sam Tyler, a single taxpayer, social security number 111-44-1111, bought Rental Equipment on 04/01/2010. He paid $400,000 including all closing and delivery costs. In the current y

Multimodal distribution, what is pdf,mean & variance for multimodal distrib...

what is pdf,mean & variance for multimodal distribution?

Correlated failure times, Data which occur when failure period is recorded ...

Data which occur when failure period is recorded which are dependent. Such type of data can arise in number contexts, for instance, in epidemiological cohort studies in which th

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

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

Find the expected value of perfect information, You may have the opportunit...

You may have the opportunity to buy some electronic components. These components may be reliable (1) or unreliable (2). The potential pro?ts are £10,000 if the components are rel

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

Probability., 5. Packages from a machine a normally distributed with a mean...

5. Packages from a machine a normally distributed with a mean 200g and its standard deviation 2grams. Find the probability that a package from the machine weighs a) Less than

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