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

Describe length-biased sampling, Length-biased sampling : The bias which ar...

Length-biased sampling : The bias which arises in the sampling scheme based on the visits of patient, when some individuals are more likely to be chosen than others simply because

Nested design, Nested design  is the design in which levels of one or more ...

Nested design  is the design in which levels of one or more factors are subsampled within one or more other factors such that, for instance, each level of a factor B happens at onl

Explain information theory., Information theory: This is the branch of app...

Information theory: This is the branch of applied probability theory applicable to various communication and signal processing problems in the field of engineering and biology. In

Chebyshev''s inequality, Chebyshev's inequality: A statement about the pro...

Chebyshev's inequality: A statement about the proportion of the observations which fall within some number of the standard deviations of the mean for any of the probability distri

EDUC 606, The GRE has a combined verbal and quantitative mean of 1000 and a...

The GRE has a combined verbal and quantitative mean of 1000 and a standard deviation of 200.

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

Assignment, Different approaches to the study of early indian history

Different approaches to the study of early indian history

Describe item-total correlation, Item-total correlation is an  extensively...

Item-total correlation is an  extensively used method for checking the homogeneity of the scale made up of number of items. It is simply the Pearson's product moment correlation c

Maximum likelihood estimation, Maximum likelihood estimation is an estimat...

Maximum likelihood estimation is an estimation procedure involving maximization of the likelihood or the log-likelihood with respect to the parameters. Such type of estimators is

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