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

Graphical deception, Graphical deception : Statistical graphics which are n...

Graphical deception : Statistical graphics which are not as honest as they should be. It is relatively simple. To mislead the unwary with the graphical material. For instance, c

Kaiser''s rule, Kaiser's rule is the  rule frequently used in the principa...

Kaiser's rule is the  rule frequently used in the principal components analysis for selecting the suitable the number of components. When the components are derived from correlati

Describe longini koopman model, Longini Koopman model : In epidemiology the...

Longini Koopman model : In epidemiology the model for primary and secondary infection, based on the classification of the extra-binomial variation in an infection rate which might

Hypothesis testing, Hypothesis testing is a  general term for procedure of...

Hypothesis testing is a  general term for procedure of assessing whether the sample data is consistent or otherwise with statements made about the population. It basically tells u

Parks test, The Null Hypothesis - H0: β 1 = 0 i.e. there is homoscedastici...

The Null Hypothesis - H0: β 1 = 0 i.e. there is homoscedasticity errors and no heteroscedasticity exists The Alternative Hypothesis - H1: β 1 ≠ 0 i.e. there is no homoscedasti

Average age at death, Average age at death : A ?awed statistic summarizing ...

Average age at death : A ?awed statistic summarizing expectancy of the life and other aspects of the mortality. For instance, a study comparing average age at the death for male sy

Window variables, Window variables are the variables measured during the c...

Window variables are the variables measured during the constrained interval of an observation period which is accepted as the proxies for the information over the whole period. Fo

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 laplace distribution, Laplace distribution : The probability distri...

Laplace distribution : The probability distribution, f(x), given by the following formula   Can be derived as the distribution of the difference of two independent random var

Lipstick Dilemma, For a career woman, wearing lipstick has become an integr...

For a career woman, wearing lipstick has become an integral part of her daily life. It is not unusual for a woman to look for a lipstick that will stay on her lips and not smudge

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