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

Curse of dimensionality, The phrase first spoken by one of the witches in M...

The phrase first spoken by one of the witches in Macbeth. Now this is used to describe the exponential rise in the number of possible locations in the multivariate space as dimensi

Prevented fraction, Prevented fraction is a measure which can be used to a...

Prevented fraction is a measure which can be used to attribute the protection against the disease directly to an intervention. The measure can given by the proportion of disease w

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

Describe non linear model, Non linear model : A model which is non-linear i...

Non linear model : A model which is non-linear in the parameters, for instance are   Some such type of models can be converted into the linear models by linearization (the s

To create a relative frequency histogram, The total amount of protein produ...

The total amount of protein produced by a dairy cow can be estimated from periodic testing of her milk.  The following are the total annual protein production values (lb) for 28 tw

Cube law, A law supposedly applicable to voting behaviour which has a histo...

A law supposedly applicable to voting behaviour which has a history of several decades. It may be stated thus: Consider a two-party system and suppose that the representatives of t

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

i need help for my assignment and the deadline is Friday

#titleassignment, I want to get the quotation of my on-line assignment its ...

I want to get the quotation of my on-line assignment its based on 1000 words. lecturer provide the video links and we have to watch the videos and highlights the key points also de

Explain longitudinal data, Longitudinal data : The data arising when each o...

Longitudinal data : The data arising when each of the number of subjects or patients give rise to the vector of measurements representing same variable observed at the number of di

Projection pursuit, Projection pursuit is a procedure for attaning a low-d...

Projection pursuit is a procedure for attaning a low-dimensional (usually two-dimensional) representation of the multivariate data, which will be particularly useful in revealing

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