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

Hypotheses, a company suppliers specialized, high tensile Pins to customers...

a company suppliers specialized, high tensile Pins to customers. It uses an automatic lathe to produce the pins. Due to the factors such as vibration, temperature and wear and tear

Explain kleiner hartigan trees, Kleiner Hartigan trees is a technique for ...

Kleiner Hartigan trees is a technique for displaying the multivariate data graphically as the 'trees' in which the values of the variables are coded into length of the terminal br

Develop the equations to calculate the flow rates, A two-step distillation ...

A two-step distillation and mixing process is shown in the figure. The system operates at steady-state conditions and there are no chemical reactions. The known flow rates and comp

Blinder oaxaca method, Blinder Oaxaca method: A method or technique used f...

Blinder Oaxaca method: A method or technique used for assessing the effect of the role of income on racial wealth gap. The method or technique is based on the decomposition of the

Hill-climbing algorithm, Hill-climbing algorithm is  an algorithm which is ...

Hill-climbing algorithm is  an algorithm which is made in use in those techniques of cluster analysis which seek to find the partition of n individuals into g clusters by optimizin

Artificial neural network, Artificial neural network : A mathematical arran...

Artificial neural network : A mathematical arrangement modelled on the human neural network and designed to attack various statistical problems, particularly in the region of patte

Chance events, Chance events : According to the Cicero these are events whi...

Chance events : According to the Cicero these are events which occurred or will occur in ways which are the uncertain-events which may happen, may not happen, or may happen in some

Collective risk models, Collective risk models : The models applied to insu...

Collective risk models : The models applied to insurance portfolios which do not create direct reference to the risk characteristics of individual members of the portfolio when des

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

when there is tie in sequencing then what we do

Epidemic, The rapid development or growth of the disease in a community or ...

The rapid development or growth of the disease in a community or region. Statistical thinking has made very much significant contributions to the understanding of such type of phen

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