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

Explain maz experiments, MAZ experiments : The Mixture-amount experiments w...

MAZ experiments : The Mixture-amount experiments which include control tests for which the entire amount of the mixture is set to zero. Examples comprise drugs (some patients do no

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

need answers to questions in book advanced and multivariate statistical methods

Lagrange multipliertest, The Null Hypothesis - H0:  There is autocorrelatio...

The Null Hypothesis - H0:  There is autocorrelation The Alternative Hypothesis - H1: There is no autocorrelation Rejection Criteria: Reject H0 (n-s)R 2 > = (1515 - 4) x (0.

Prevented fraction, Prevented fraction is a measure which can be used to a...

Prevented fraction is a measure which can be used to attribute the protection against the disease directly to an intervention. The measure can given by the proportion of disease w

Central tendency, explain the graphical method of measure of central tenden...

explain the graphical method of measure of central tendency

Explain lie factor, Lie factor : A measure suggested by Tufte for judging t...

Lie factor : A measure suggested by Tufte for judging the honesty of the graphical presentation of data. Which can be calculated as follows   The values close to one are desir

Time series, relevancy of time series in business management

relevancy of time series in business management

Geographical analysis machine, Geographical analysis machine is the proced...

Geographical analysis machine is the procedure designed to detect the clusters of rare diseases in a particular area. Circles of fixed radii are created at each point of the squar

Bimodal distribution, Bimodal distribution : The probability distribution, ...

Bimodal distribution : The probability distribution, or we can simply say the frequency distribution, with two modes. Figure 15 shows the example of each of them

Battery reduction, Battery reduction : A common term for reducing the numbe...

Battery reduction : A common term for reducing the number of variables of the interest in a study for the purposes of study and perhaps later data collection. For instance, an over

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