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

Em algorithm, The method or technique for producing the sequence of paramet...

The method or technique for producing the sequence of parameter estimates that, under the mild regularity conditions, converges to maximum likelihood estimator. Of particular signi

Evaluate the statistical arguments, Evaluate the following statistical argu...

Evaluate the following statistical arguments. Begin by identifying the sample, population, and the property which is being investigated. Do these arguments sound acceptable? Would

Determine the maximum amount of the commodity, A manufacturing company has ...

A manufacturing company has two factories F 1 and F 2 producing a certain commodity that is required at three retail outlets M 1 , M 2 and M 3 . Once produced, the commodity is

Business forcastin.., elements , importance, limitation, and theories

elements , importance, limitation, and theories

Correlation matrix, Correlation matrix : A square, symmetric matrix with th...

Correlation matrix : A square, symmetric matrix with the rows and columns corresponding to the variables, in which the non diagonal elements are correlations between the pairs of t

Probability weighting, Probability weighting is the procedure of attaching...

Probability weighting is the procedure of attaching weights equal to inverse of the probability of being selected, to each respondent's record in the sample survey. These weights

Case Study: Test Market, You and your team have been hired as strategic con...

You and your team have been hired as strategic consultants by the hugely successful retailer known as “Cutie Pie”. The company sells many products, although one product in particul

Student, the problem that demonstrates inference from two dependent samples...

the problem that demonstrates inference from two dependent samples uses hypothetical data from TB vaccinations and the number of new cases before and after vaccinations for cases o

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