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

Find distribution - expected value and variance, We are installing a router...

We are installing a router for our network. We believe that the time between the arrival of packets will be exponentially distributed with parameter R = 2 packets/second, and th

Describe length-biased sampling, Length-biased sampling : The bias which ar...

Length-biased sampling : The bias which arises in the sampling scheme based on the visits of patient, when some individuals are more likely to be chosen than others simply because

Paired samples, Paired samples are the two samples of the observations wit...

Paired samples are the two samples of the observations with the characteristic feature with each of the observation in one sample have only one matching observation in the other s

Frequency distribution, The division of a sample of observations into sever...

The division of a sample of observations into several classes, together with the number of observations in each of them.  It acts as a useful summary of the main features of the da

Compound symmetry, Compound symmetry : The property possessed by the varian...

Compound symmetry : The property possessed by the variance-covariance matrix of the set of multivariate data when its chief diagonal elements are equal to each other, and in additi

Advanced managerial statistics, The objective of this assignment is to test...

The objective of this assignment is to test your understanding in the learning outcome (LO2) and learning outcome (LO3) and learning outcome (LO4). 1) This is a grouped assignme

Dorfman scheme, An approach to investigations designed to recognize a parti...

An approach to investigations designed to recognize a particular medical condition in the large population, usually by means of a blood test, which might result in the considerable

Matching distribution, Matching distribution is  a probability distributi...

Matching distribution is  a probability distribution which arises in the following manner. Suppose that the set of n subjects, numbered 1; . . . ; n respectively, are arranged in

Public network, This is given by common network e.g. Phone Company. The pub...

This is given by common network e.g. Phone Company. The public networks are those networks, which are given by common carriers. It can be a telephone company or an other organizati

Dendro gram, A term commonly encountered in the application of the agglomer...

A term commonly encountered in the application of the agglomerative hierarchical clustering techniques, where it refers to the 'tree-like' diagram illustrating the series of steps

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