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

Data squashing, An approach to decrease the size of very large data sets in...

An approach to decrease the size of very large data sets in which the data are first 'binned' and then statistics such as the mean and variance/covariance are calculated on each bi

Collapsing categories, Collapsing categories : A procedure generally applie...

Collapsing categories : A procedure generally applied to contingency tables in which the two or more row or column categories are combined, in number of cases so as to yield the re

Intercropping experiments, Intercropping experiments are the experiments i...

Intercropping experiments are the experiments including growing two or more crops at same time on the same patch of land. The crops are not required to be planted nor harvested at

Sampling issue, Dear Experts, Please note that I''m doing a PhD in Busines...

Dear Experts, Please note that I''m doing a PhD in Business management under the title: Technology transfer and competitive advantage in Qatar oil and gas companies. It is a quant

General household survey, It is the survey which is carried out in Great Br...

It is the survey which is carried out in Great Britain on a continuous basis since 1971. About 100 000 households are included in this sample every year. The main goal of the surve

Fibonacci distribution, The probability distribution of the various observa...

The probability distribution of the various observations is required to obtain the run of two successes in the series of Bernoulli trials with the probability of success equal to a

Generalized linear models, Introduction to Generalized Linear Models (GLM) ...

Introduction to Generalized Linear Models (GLM) We introduce the notion of GLM as an extension of the traditional normal-theory-based linear regression models. This will be very

Chernoff''s faces, Chernoff's faces : A method or technique for representin...

Chernoff's faces : A method or technique for representing the multivariate data graphically. Each observation is represented by the computer-created face, the features of which are

EDUC 606, The GRE has a combined verbal and quantitative mean of 1000 and a...

The GRE has a combined verbal and quantitative mean of 1000 and a standard deviation of 200.

Cumulative frequency distribution, The tabulation of a sample of observatio...

The tabulation of a sample of observations in terms of numbers falling below particular values. The empirical equivalent of the growing probability distribution. An example of such

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