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

Bioassay, Bioassay : It is an abbreviation of biological assay, which in it...

Bioassay : It is an abbreviation of biological assay, which in its classical form includes an experiment conducted on biological material to determine relative potency of test and

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

Generate a scatter plot, Suppose we estimate the following model: Passen...

Suppose we estimate the following model: Passengersi = 1 + 2Populationi + ui a) Generate a scatter plot with passengers on the vertical axis and population on the horizonta

Inliers, Inliers is the term used for the observations most likely to be s...

Inliers is the term used for the observations most likely to be subject to error in situations where the dichotomy is developed by making a ‘cut’ on an ordered scale, and where th

Explain yate s'' continuity correction, Yate s' continuity correction : Whe...

Yate s' continuity correction : When the testing for independence in contingency table, a continuous probability distribution, known as chi-squared distribution, is used as the app

Quota sample, Quota sample is the sample in which the units are not select...

Quota sample is the sample in which the units are not selected at the random, but in terms of a particular number of units in each of a number of categories; for instance, 10 men

Buffon''s needle problem, Buffon's needle problem : A problem proposed and ...

Buffon's needle problem : A problem proposed and solved by the scientist Comte de Buffon in 1777 which includes determining the probability, p, which a needle of length l will inte

Extrapolation, This process of estimating from a data set those values lyin...

This process of estimating from a data set those values lying beyond range of the data. In the regression analysis, for instance, a value of the response variable might be estimate

Bayesian network, Bayesian network : It is essentially an expert system in ...

Bayesian network : It is essentially an expert system in which the uncertainty is dealt with using the conditional probabilities and Bayes' Theorem. Formally such type of network c

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