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

Cumulative frequency distribution, The tabulation of a sample of observatio...

The tabulation of a sample of observations in terms of numbers falling below particular values. The empirical equivalent of the growing probability distribution. An example of such

Decision tree, The graphic representation of the alternatives in a decision...

The graphic representation of the alternatives in a decision making problem which summarizes all the possibilities foreseen by the decision maker. For instance, suppose we are give

Anova, a. Explain the meaning of the word non-orthogonal. b. What conditio...

a. Explain the meaning of the word non-orthogonal. b. What condition(s) must exist for non-orthogonality to occur? Be specific.

Collector''s problem, Collector's problem : A problem which derives from th...

Collector's problem : A problem which derives from the schemes in which packets of a particular brand of coffe, cereal etc., are sold with coupons, cards, or other tokens. There ar

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

Option-3 scheme, Option-3 scheme is a scheme of measurement used in the si...

Option-3 scheme is a scheme of measurement used in the situations investigating possible changes over the time in longitudinal data. The scheme is planned to prevent measurement o

Assignment, i need help for my assignment and the deadline is Friday

i need help for my assignment and the deadline is Friday

Central tendency, explain the graphical method of measure of central tenden...

explain the graphical method of measure of central tendency

Survey Design, Hello, I have a solution for a Survey Design (proposal) assi...

Hello, I have a solution for a Survey Design (proposal) assignment and looking for an expert that can look at it and correct it in case if it is wrong. Do you have this kind of ser

Genomics, Genomics  is the study of the structure, function and the evoluti...

Genomics  is the study of the structure, function and the evolution of deoxyribonucleic acid (DNA) or ribonucleic acid (RNA) sequences which comprise the genome of living organisms

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