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 perturbation theory, Perturbation theory : The theory useful in ass...

Perturbation theory : The theory useful in assessing how well a specific algorithm or the statistical model performs when the observations suffer less random changes. In very commo

Explain missing values, Missing values : The observations missing from the ...

Missing values : The observations missing from the set of data for some of the reason. In longitudinal studies, for instance, they might occur because subjects drop out of the stud

Scatter plots - non-linear relationship, The scatter plots of SRES1, RESI1 ...

The scatter plots of SRES1, RESI1 versus totexp demonstrates that there is non-linear relationship that exists as most of the points are below and above zero. The scatter plots sho

Coincidences, Coincidences : Astonishing concurrence of the events, perceiv...

Coincidences : Astonishing concurrence of the events, perceived as meaningfully related, with no apparent causal connection. Such type of events abounds in everyday life and is oft

Particlefilters, Particlefilters is a simulation method for tracking movin...

Particlefilters is a simulation method for tracking moving target distributions and for reducing computational burden of the dynamic Bayesian analysis. The method uses a Markov ch

Data collection - analysis and display, One of the most exciting areas of m...

One of the most exciting areas of mathematics involves the application of statistics to real-world settings to make informed decisions. In this task you will design, implement, and

Residual calculation, Regression line drawn as y= c+ 1075x ,when x was2, an...

Regression line drawn as y= c+ 1075x ,when x was2, and y was 239,given that y intercept was 11. Calculate the residual ?

Back-projection, Back-projection: A term most often applied to the procedu...

Back-projection: A term most often applied to the procedure for reconstructing plausible HIV incidence curves from the AIDS incidence data. The method or technique assumes that th

Catastrophe theory, Catastrophe theory : A theory of how little is the cont...

Catastrophe theory : A theory of how little is the continuous changes in the independent variables which can have unexpected, discontinuous effects on the dependent variables. Exam

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