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

#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

Normality - reasons for screening data, Normality - Reasons for Screening...

Normality - Reasons for Screening Data Prior to analyzing multivariate normality, one should consider univariate normality Histogram, Normal Q-Qplot (values on x axis

Calibration, Calibration : A procedure which enables a series of simply obt...

Calibration : A procedure which enables a series of simply obtainable but inaccurate measurements of some quantity of interest to be used to provide more precise estimates of the r

Log-linear models, Log-linear models is the models for count data in which...

Log-linear models is the models for count data in which the logarithm of expected value of a count variable is modelled as the linear function of parameters; the latter represent

Response feature analysis, Response feature analysis is the approach to th...

Response feature analysis is the approach to the analysis of longitudinal data including the calculation of the suitable summary measures from the set of repeated measures on each

Comparative exposure rate, Comparative exposure rate : A measure of allianc...

Comparative exposure rate : A measure of alliance for use in a matched case-control study, de?ned as the ratio of the number of case-control pairs, where the case has greater expos

Compliance, Compliance : The extent to which the participants in a clinical...

Compliance : The extent to which the participants in a clinical trial follow trial protocol, for instance, following both the intervention regimen and trial procedures (clinical vi

Explain kendall''s tau statistics, Kendall's tau statistics : The measures ...

Kendall's tau statistics : The measures of the correlation between the two sets of rankings. Kendall's tau itself (τ) is the rank correlation coefficient based on number of inversi

Regression analysis, with the help of regression analysis create a model th...

with the help of regression analysis create a model that best describes the situation. Indicate clearly the effect that each factors given in the attached file and other factors ma

Occam''s razor, Occam's razor  is an early statement of the parsimony princ...

Occam's razor  is an early statement of the parsimony principle, which was given by William of Occam (1280-1349) namely 'entia non sunt multiplicanda praeter necessitatem'; which m

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