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

Describe monty hall problem, Monty Hall problem : A apparently counter-intu...

Monty Hall problem : A apparently counter-intuitive problem in the probability which gets its name from the TV game show, 'Let's Make a Deal' hosted by the Monty Hall. On show a pa

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

Observation-driven model, Observation-driven model  is a term generally a...

Observation-driven model  is a term generally applied to models for the longitudinal data or time series which introduce within the unit correlation by specifying the conditional

Case-cohort study, Case-cohort study : The research design in epidemiology ...

Case-cohort study : The research design in epidemiology which involves the sampling of controls at the outset of the study that is to be compared with the cases from the cohort. Th

Fractional factorial design, Designs in which the information on main effec...

Designs in which the information on main effects and low-order inter- actions are attained by running only the fraction of the complete factorial experiment and supposing that part

Random success probability, a psychic claims to be able to "feel colors" th...

a psychic claims to be able to "feel colors" there are three pieces of colored paper(red, blue,green) he will place his hand on radomly selected pieces while blindfolded. you perfo

File drawer problem, The problem that the studies are not uniformly probabl...

The problem that the studies are not uniformly probable to be published in the scientific journals. There is evidence that the statistical significance is a main determining factor

Chain-binomial models, Chain-binomial models : Models arising in mathematic...

Chain-binomial models : Models arising in mathematical theory of the quite infectious diseases, which postulate that at any stage in the epidemic there are a certain number of the

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

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