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

Protopathic bias, Protopathic bias is the type of bias (also called as rev...

Protopathic bias is the type of bias (also called as reverse-causality) that is a consequence of differential misclassification of the exposure related to timing of occurrence. It

Finite population correction, This term sometimes used to describe the extr...

This term sometimes used to describe the extra factor in variance of the sample mean when n sample values are drawn without the replacement from the finite population of size N. Th

O''brien''s two-sample tests, O'Brien's two-sample tests are the extension...

O'Brien's two-sample tests are the extensions of the conventional tests for assessing the differences between treatment groups which take account of the possible heterogeneous nat

Generalized additive model, The linear component ηi, de?ned just in the tra...

The linear component ηi, de?ned just in the traditional way: η i = x' 1 A monotone differentiable link function g that describes how E(Yi) = µi is related to the linear compon

Graph theory, Why Graph theory? It is the branch of mathematics concerned w...

Why Graph theory? It is the branch of mathematics concerned with the properties of sets of points (vertices or nodes) some of which are connected by the lines known as the edges. A

Drug stability studies, The studies conducted in the pharmaceutical industr...

The studies conducted in the pharmaceutical industry to calculate the degradation of the new drug product or an old drug formulated or packaged in the new manner. The main study ob

Huffman coding based compression, Huffman code is used to compress data fil...

Huffman code is used to compress data file, where the data is represented as a sequence of characters. Huffman's greedy algorithm uses a table giving how often each character occur

Paired availability design, Paired availability design  is a design which c...

Paired availability design  is a design which can lessen selection bias in the situations where it is not possible to use random allocation of the subjects to treatments. The desig

Historigram, difference between histogram and historigram

difference between histogram and historigram

Bayes factor, Bayes factor : A summary of evidence for the modelM1 against ...

Bayes factor : A summary of evidence for the modelM1 against the another modelM0 provided by the set of data D, which can be used in the model selection. Given by the ratio of post

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