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

Expected-utility maximizer, There are two periods. You observe that Jack co...

There are two periods. You observe that Jack consumes 100 apples in period t = 0, and 120 apples in period t = 1. That is, (c 0 ; c 1 ) = (100; 120) Suppose Jack has the util

Coplot, This is the powerful visualization tool for studying how the respon...

This is the powerful visualization tool for studying how the response relies on an explanatory variable given the values of other explanatory variables. The plot comprises of a num

Explain negative hyper geometric distribution, Negative hyper geometric dis...

Negative hyper geometric distribution : In sampling without replacement from the population comprising of r elements of one kind and N - r of another, if two elements corresponding

Clinical vs. statistical significance, Clinical vs. statistical significanc...

Clinical vs. statistical significance : The distinction among results in terms of their possible clinical importance rather than simply in terms of their statistical importance. Wi

Bivariate boxplot, Bivariate boxplot : A bivariate analogue of boxplot in w...

Bivariate boxplot : A bivariate analogue of boxplot in which the inner area contains 50%of the data, and a 'fence' helps to identify the potential outliers. Robust methods or techn

Decision theory, A unified approach to all problems of prediction, estimati...

A unified approach to all problems of prediction, estimation, and hypothesis testing. It is based on concept of the decision function, which tells the performer of experiment how t

Generalized method of moments (gmm), Generalized method of moments (gmm) is...

Generalized method of moments (gmm) is the estimation method popular in econometrics which generalizes the method of the moments estimator. Essentially same as what is known as the

Cellular proliferation models, Cellular proliferation models : Models are u...

Cellular proliferation models : Models are used to describe the growth of the  cell populations. One of the example is the deterministic model   where N(t) is the number of cel

Cube law, A law supposedly applicable to voting behaviour which has a histo...

A law supposedly applicable to voting behaviour which has a history of several decades. It may be stated thus: Consider a two-party system and suppose that the representatives of t

Ecm algorithm, This is extension of the EM algorithm which typically conver...

This is extension of the EM algorithm which typically converges more slowly than EM in terms of the iterations but can be much faster in the whole computer time. The general idea o

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