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

Chains of infection, Chains of infection : The description of the course of...

Chains of infection : The description of the course of infection among the group of individuals. The susceptibles infected by the direct contact with the introductory cases are sai

Prepare a report using regression analysis, Paul Jordan has just been hired...

Paul Jordan has just been hired as a management analyst at Digital Cell Phone Inc. Digital Cell manufactures a broad line of phones for the consumer market. Paul's boss, John Smith

Growth curve analysis, Growth curve analysis is t he general term for metho...

Growth curve analysis is t he general term for methods dealing with development of the individuals over time. A classic instance includes recordings made on a group of children, sa

Correspondence analysis, The method or technique for displaying the relatio...

The method or technique for displaying the relationships between categorical variables in a type of the scatter plot diagram. For two this type of variables displayed in the form o

Implementation of huffman coding, Input to the compress is a text le with a...

Input to the compress is a text le with arbitrary size, but for this assignment we will assume that the data structure of the file fits in the main memory of a computer. Output of

Recursive models, Recursive models are the statistical models in which the...

Recursive models are the statistical models in which the causality flows in one direction, that is models which include only unidirectional effects. Such type of models do not inc

Centile reference charts, Centile reference charts : Charts which are used ...

Centile reference charts : Charts which are used inmedicine to observe the clinical measurements on individual patients in the context of the population values. If the population i

Explanatory variables, The variables appearing on the right-hand side of eq...

The variables appearing on the right-hand side of equations defining, for instance, multiple regressions or the logistic regression, and which seek to predict or 'explain' response

Regression analysis, The regression analysis is used to fit a model descr...

The regression analysis is used to fit a model describing the relationship of a dependent variable with independent variable(s). Here we have fitted three regression models:

Probability, Modern hotels and certain establishments make use of an electr...

Modern hotels and certain establishments make use of an electronic door lock system. To open a door an electronic card is inserted into a slot. A green light indicates that the doo

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