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

Helmert contrast, Helmert contrast is the contrast often used in analysis ...

Helmert contrast is the contrast often used in analysis of the variance, in which each level of a factor is tested against average of the remaining levels. So, for instance, if th

Sequencing problem, when there is tie in sequencing then what we do

when there is tie in sequencing then what we do

Zero sumgame, Zero sumgame is a game played by the number of persons in wh...

Zero sumgame is a game played by the number of persons in which the winner takes all stakes given by the losers so that the algebraic sum of gains at any stage is zero. Number of

Explanatory variables, The variables appearing on the right-hand side of eq...

The variables appearing on the right-hand side of equations defining, for instance, multiple regressions or the logistic regression, and which seek to predict or 'explain' response

Comprehensive report writing assignment help, Hamilton County judges try th...

Hamilton County judges try thousands of cases per year. In an overwhelming majority of the cases disposed, the verdict stands as rendered. However, some cases are appeale

Cohort study, Cohort study : An investigation in which the group of individ...

Cohort study : An investigation in which the group of individuals (or the cohort) is identi?ed and followed prospectively, possibly for many years, and their subsequent medical his

Statistical methods with financial applications, The marketing manager of H...

The marketing manager of Handy Foods Ltd. is concerned with the sales appeal of one of the company's present label for one of its products. Market research indicates that supermark

Chernoff''s faces, Chernoff's faces : A method or technique for representin...

Chernoff's faces : A method or technique for representing the multivariate data graphically. Each observation is represented by the computer-created face, the features of which are

Explain Genstat, Genstat: The basic purpose piece of statistical software ...

Genstat: The basic purpose piece of statistical software for the management and the analysis of data. The package incorporates the wide variety of data handling events and a wi

Markov chains.., a shop is selling laptops at regular price and at half pri...

a shop is selling laptops at regular price and at half price.If the laptops are regular price a day they will be at regular price tha day after with proba 2/3, if the laptops are a

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