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

Protopathic bias, Protopathic bias is the type of bias (also called as rev...

Protopathic bias is the type of bias (also called as reverse-causality) that is a consequence of differential misclassification of the exposure related to timing of occurrence. It

Institutional surveys, Institutional surveys are the surveys in which the ...

Institutional surveys are the surveys in which the primary sampling units are the institutions, for instance, hospitals. Within each of the sampled institution, a sample of the pa

Incubation period, Incubation period is the time elapsing amongs the receip...

Incubation period is the time elapsing amongs the receipt of infection and the appearance of the symptoms. The length of the incubation time period depends on the disease, ranging

Historigram, difference between histogram and historigram

difference between histogram and historigram

Finite mixture distribution, The probability distribution which is a linear...

The probability distribution which is a linear function of the number of component probability distributions. This type of distributions is used to model the populations thought to

Reasons for screening data, Reasons for screening data     Garbage i...

Reasons for screening data     Garbage in-garbage out     Missing data          a. Amount of missing data is less crucial than the pattern of it. If randomly

Decision Analysis, Build-Rite construction has received favorable publicity...

Build-Rite construction has received favorable publicity from guest appearances on a public TV home improvement program. Public TV programming decisions seem to be unpredictable, s

Relative risk, Relative risk is the measure of the association between the...

Relative risk is the measure of the association between the exposure to a particular factor and the risk or probability of a convinced outcome, calculated as follows     therefor

Data monitoring committees (dmc), Committees to monitor the accumulating da...

Committees to monitor the accumulating data from the clinical trials. Such committees have chief responsibilities for ensuring the continuing safety of the trial participants, rele

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