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

Fuzzy set theory, A radically different approach of dealing with the uncert...

A radically different approach of dealing with the uncertainty than the traditional probabilistic and the statistical methods. The necessary feature of the fuzzy set is a membershi

Gaussian process, The generalization of the normal distribution used for th...

The generalization of the normal distribution used for the characterization of functions. It is known as a Gaussian process because it has Gaussian distributed finite dimensional m

Hypothesis testing and chi-square tests.., The results of a survey determin...

The results of a survey determined whether the age of a driver 21 years and older has any effect on the number of motor vehicle accidents in which he/she is involved. Question 1:

Expected frequencies, A term commonly encountered in the analysis of the co...

A term commonly encountered in the analysis of the contingency tables. Such type of frequencies are the estimates of the values to be expected under hypothesis of interest. In a tw

Statistics, cholscores Treatment income ($000) Patient ID low Income? ...

cholscores Treatment income ($000) Patient ID low Income? 0.6 Old 21.3 2 Yes 0.17 Old 27.2 13 Yes 0.69 New 27.1 16 Yes 1.09 Old 94.8

Evidence-based medicine (ebm), Described by the leading proponent as 'the c...

Described by the leading proponent as 'the conscientious, explicit, and judicious uses of present best evidence in making the decisions about the care of individual patients, and

Gaussian markov random field, It is the multivariate normal random vector w...

It is the multivariate normal random vector which satisfies certain conditional independence suppositions. This can be viewed as a model framework which contains a wide range of st

Asymmetric proximity matrices, Asymmetric proximity matrices : Proximity ma...

Asymmetric proximity matrices : Proximity matrices in which the non-diagonal elements, in the ith row and jth column and the jth row and ith column, are not essentially equal. Exam

Explain kurtosis, Kurtosis: The extent to which the peak of the unimodal p...

Kurtosis: The extent to which the peak of the unimodal probability distribution or the frequency distribution departs from its shape of the normal distribution, by either being mo

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

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