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

Chain-binomial models, Chain-binomial models : Models arising in mathematic...

Chain-binomial models : Models arising in mathematical theory of the quite infectious diseases, which postulate that at any stage in the epidemic there are a certain number of the

Computer-aided diagnosis, Computer-aided diagnosis : The computer programs ...

Computer-aided diagnosis : The computer programs which are designed to support clinical decision making. In common, such systems are based on the repeated application of the Bay

Explain initial data analysis (ida), Initial data analysis (IDA): The firs...

Initial data analysis (IDA): The first phase in the examination of the data set which comprises  number of informal steps including the following steps * checking the quality o

Pre analysis data screening, need answers to questions in book advanced and...

need answers to questions in book advanced and multivariate statistical methods

Chapter 7&8, Chapter 7 2. Describe the distribution of sample means (shape...

Chapter 7 2. Describe the distribution of sample means (shape, expected value, and standard error) for samples of n =36 selected from a population with a mean of µ = 100 and a sta

Frequency polygon, It is the diagram used to display the values graphically...

It is the diagram used to display the values graphically in a frequency distribution. The frequencies are graphed as an ordinate against the class mid-points as abscissae. The p

Link functions, Link functions: The link function relates the linear p...

Link functions: The link function relates the linear predictor ηi to the expected value of the data. In classical linear models the mean and the linear predictor are identical

Mcnemar''s test, McNemar's test  is the test for comparing proportions in d...

McNemar's test  is the test for comparing proportions in data involving the paired samples. The test statistic can be given by   it is most useful when the data have a symmetri

Find distribution - expected value and variance, We are installing a router...

We are installing a router for our network. We believe that the time between the arrival of packets will be exponentially distributed with parameter R = 2 packets/second, and th

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