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

Distribution free methods, The statistical methods for estimation and infer...

The statistical methods for estimation and inference which are based on a function of sample observations, probability distribution of which does not rely upon a complete speci?cat

Disability adjusted life years (dalys), This is an attempt to measure the s...

This is an attempt to measure the suffering caused by the illness which takes into the account both the years of the potential life lost due to the premature mortality as well as t

Assignment, i need help for my assignment and the deadline is Friday

i need help for my assignment and the deadline is Friday

Prepare a depreciation schedule for the rental equipment, Sam Tyler, a sing...

Sam Tyler, a single taxpayer, social security number 111-44-1111, bought Rental Equipment on 04/01/2010. He paid $400,000 including all closing and delivery costs. In the current y

Confidence interval estimation, An auditor for a government agency needs to...

An auditor for a government agency needs to evaluate payments for doctors' office visits paid by Medicare in a small regional town during the month of June. A total of 25,056 visit

F-test, A test for equality of the variances of the two populations having ...

A test for equality of the variances of the two populations having normal distributions, based on the ratio of the variances of the sample of observations taken from each. Most fre

Locally weighted regression, Locally weighted regression  is the method of ...

Locally weighted regression  is the method of regression analysis in which the polynomials of degree one (linear) or two (quadratic) are used to approximate regression function in

Deviance, The measure of the degree to which the particular model differs f...

The measure of the degree to which the particular model differs from the saturated model for the data set. Explicitly in terms of the likelihoods of the two models can be defined a

To create a relative frequency histogram, The total amount of protein produ...

The total amount of protein produced by a dairy cow can be estimated from periodic testing of her milk.  The following are the total annual protein production values (lb) for 28 tw

Mauchly test, Mauchly test is a test which a variance-covariance matrix of...

Mauchly test is a test which a variance-covariance matrix of pair wise differences of responses in the set of longitudinal data is the scalar multiple of identity matrix, a proper

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