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

Censored observations, Censored observations : An observation xi on some va...

Censored observations : An observation xi on some variable of interest is consired to be censored if it is known that xi Li (left-censored)or xi Ui (right-censored) where Li and Ui

Regression, regression line drawn as Y=C+1075x, when x was 2, and y was 239...

regression line drawn as Y=C+1075x, when x was 2, and y was 239, given that y intercept was 11. calculate the residual

Explain literature controls, Literature controls : The patients with the di...

Literature controls : The patients with the disease of interest who have received, in the past, one of two treatments under the investigation, and for whom the results have been pu

Factorial designs, Designs which permits two or more questions to be addres...

Designs which permits two or more questions to be addressed in the investigation. The easiest factorial design is one in which each of the two treatments or interventions are p

Bartlett''s test for variances, Bartlett's test for variances : A test for ...

Bartlett's test for variances : A test for equality of the variances of the number (k)of the populations. The test statistic can be given as follows   where s square is an

Two - stage distillation process, A mixture of benzene, toluene, and xylene...

A mixture of benzene, toluene, and xylene enters a two-stage distillation process where some of the componentsare recovered. The distillation process operates at steady-state condi

Classification matrix, Classification matrix: A term many times used in di...

Classification matrix: A term many times used in discriminant analysis for the matrix summarizing the results and outputs obtained from the derived classi?cation rule, and obtaine

Sequencing problem, 2 jobs n machines,graphical method,how to determine wh...

2 jobs n machines,graphical method,how to determine which job should proceed first on each machine

Cluster sampling, Cluster sampling : A method or technique of sampling in w...

Cluster sampling : A method or technique of sampling in which the members of the population are arranged in groups (called as 'clusters'). A number of clusters are selected at the

Balanced incomplete block design, Balanced incomplete block design : A desi...

Balanced incomplete block design : A design in which all the treatments are not used in all blocks. Such designs have the below stated properties: * each block comprises the

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