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

Compliance, Compliance : The extent to which the participants in a clinical...

Compliance : The extent to which the participants in a clinical trial follow trial protocol, for instance, following both the intervention regimen and trial procedures (clinical vi

Define probability judgements, Probability judgements : Human beings often ...

Probability judgements : Human beings often require assessing the probability which some event will occur and accuracy of these probability judgements often determines success of o

Probability distribution of the net present value, Suppose that $4 million ...

Suppose that $4 million is available for investment in three projects.  The probability distribution of the net present value earned from each project depends on how much is invest

Multivariate data, Multivariate data is the data for which each observatio...

Multivariate data is the data for which each observation consists of the values for more than one random variable. For instance, measurements on the blood pressure, temperature an

Math, A standard IQ test has a mean of 98 and a standard deviation of 16. W...

A standard IQ test has a mean of 98 and a standard deviation of 16. We want to be 99% certain that we are within 8 IQ points of the true mean. Determine the sample size

Multi-hit model, Multi-hit model is the model for a toxic response which r...

Multi-hit model is the model for a toxic response which results from the random occurrence of one or the more fundamental biological events. A response is supposed to be induced o

Band matrix, Band matrix: A matrix which has its non zero elements arrange...

Band matrix: A matrix which has its non zero elements arranged uniformly near to the diagonal, so that aij = 0 if (i - j)> ml or (j - i)> mu where aij are the elements of matrix a

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

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