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

Explain national lotteries, National lotteries : Games of chance held to he...

National lotteries : Games of chance held to heave money for particular causes. The first held in the UK took place in the year 1569 principally to raise money for repair of the Ci

Hazard regression, Hazard regression is the procedure for modeling the haz...

Hazard regression is the procedure for modeling the hazard function which does not depend on the suppositions made in Cox's proportional hazards model, namely that the log-hazard

Explain historical controls, Historical controls : The group of patients tr...

Historical controls : The group of patients treated in the past with the standard therapy, taken in use as the control group for evaluating the new treatment on the present patient

Play-the-winner rule, Play-the-winner rule is a process sometimes consider...

Play-the-winner rule is a process sometimes considered in the clinical trials in which the response to treatment is positive (a success) or negative (a failure). One of two treatm

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

Multi dimensional unfolding, Multi dimensional unfolding is the form of mu...

Multi dimensional unfolding is the form of multidimensional scaling applicable to both the rectangular proximity matrices where the rows and columns refer to the different sets of

General location model, The model for data containing continuous and catego...

The model for data containing continuous and categorical variables both.The categorical data are summarized by the contingency table and their marginal distribution, 182by the mult

Principal components regression analysis, Principal components regression a...

Principal components regression analysis is a process often taken in use to overcome the problem of multicollinearity in the regression, when simply deleting a number of the expla

Partial least squares, Partial least squares is an alternative to the mult...

Partial least squares is an alternative to the multiple regressions which, in spite of using the original q explanatory variables directly, constructs the new set of k regressor v

Explain maternal mortality, Maternal mortality : The maternal death is the ...

Maternal mortality : The maternal death is the death of a woman while pregnant, delivering a baby or within 42 days of the termination of pregnancy, from any reason related to or a

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