Command-line options, Advanced Statistics

Assignment Help:

Command-Line options

Compression:

C++:  ./compress  -f  myfile.txt  [-o  myfile.hzip  -s

Java:  sh  compress.sh  -f  myfile.txt  [-o  myfile.hzip  -s]

Decompression:

C++:  ./decompress  -f  myfile.hzip[-r  -v]

Java:  sh  decompress.sh  -f  myfile.hzip  [-o  myfile.txt  -s]

The command-line options that are within the square bracket are optional. The option \-f" precedes the input le name, which always has a .txt extension. The \-s" option prints statistics, such as for compression it prints, how many distinct characters are there, what is the compression ratio, and the wall clock time that it took for performing the compression task. For decompression, it prints how many character were written, and the wall clock time it took for performing the decompression task. The \-o" option precedes the name of an output le. If the output file name is not given, then we will append .hzip at the end of the input filename to create the output filename.


Related Discussions:- Command-line options

Atomistic fallacy, Atomistic fallacy : A fallacy which arises because of th...

Atomistic fallacy : A fallacy which arises because of the association between two variables at the individual level might vary from the association between the same two variables m

Likelihood, Likelihood is the probability of a set of observations provide...

Likelihood is the probability of a set of observations provided the value of some parameter or the set of parameters. For instance, the likelihood of the random sample of n observ

Curvature measures, The diagnostic tools or devices used to approach the cl...

The diagnostic tools or devices used to approach the closeness to the linearity of the non-linear model. They calculate the deviation of so-called expectation surface from the plan

Reciprocal transformation, Reciprocal transformation is a transformation o...

Reciprocal transformation is a transformation of the form y =1/x, which is specifically useful for certain types of variables. Resistances, for instance, become conductances, and

Historigram, difference between histogram and historigram

difference between histogram and historigram

Prognostic scoring system, Prognostic scoring system is a technique of com...

Prognostic scoring system is a technique of combining the prognostic information contained in the number of threat factors, in a manner which best predicts each patient's risk of

Data squashing, An approach to decrease the size of very large data sets in...

An approach to decrease the size of very large data sets in which the data are first 'binned' and then statistics such as the mean and variance/covariance are calculated on each bi

Explain normal approximation, Normal approximation : Normal distributions w...

Normal approximation : Normal distributions which approximate other distributions; such as, a normal distribution with the mean np and variance np(1 - p) which acts as an approxima

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