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

Hazard plotting, Hazard plotting  is based on the hazard function of a dist...

Hazard plotting  is based on the hazard function of a distribution, this procedure gives estimates of distribution parameters, the proportion of units failing by the given time per

Expert systems, The computer programs designed to mimic the role of the exp...

The computer programs designed to mimic the role of the expert human consultant. This type of systems are capable to cope with the complex problems of the medical decision makin

Concordant mutations test, Concordant mutations test : A statistical test u...

Concordant mutations test : A statistical test used in the cancer studies to determine whether or not a diagnosed second primary tumour is biologically independent of the original

#title.Decision Models., I have a problem I am trying to solve. An oil comp...

I have a problem I am trying to solve. An oil company thinks that there is a 60% chance that there is oil in the land they own. Before drilling they run a soil test. When there is

Chebyshev''s inequality, Chebyshev's inequality: A statement about the pro...

Chebyshev's inequality: A statement about the proportion of the observations which fall within some number of the standard deviations of the mean for any of the probability distri

Vital Statistics, meaning,uses,shortcomings and drawbacks of vital statist...

meaning,uses,shortcomings and drawbacks of vital statistics

Barnard, Barnard, George Alfred (1915^2002) : Born in Walthamstow in the ea...

Barnard, George Alfred (1915^2002) : Born in Walthamstow in the east of London, Barnard achieved a scholarship to St. John's College, Cambridge, from where he graduated in the math

Statistically modeling, A comprehensive regression analysis of the case stu...

A comprehensive regression analysis of the case study London has been carried out to test the 4 assumptions of regression: 1. Variables are normally distributed 2. Linear rel

Weighted least squares, Weighted least squares  is the method of estimation...

Weighted least squares  is the method of estimation in which the estimates arise from minimizing the weighted sum of squares of the differences between response variable and its pr

Explain national lotteries, National lotteries : Games of chance held to he...

National lotteries : Games of chance held to heave money for particular causes. The first held in the UK took place in the year 1569 principally to raise money for repair of the Ci

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