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

Exponential family, A family of the probability distributions of the form g...

A family of the probability distributions of the form given as   here θ is the parameter and a, b, c, d are the known functions. It includes the gamma distribution, normal dis

Define least significant difference test, Least significant difference test...

Least significant difference test is an approach to comparing a set of means which controls the family wise error rate at some specific level, let's assume it to be α. The hypothe

Implementation of huffman coding, Input to the compress is a text le with a...

Input to the compress is a text le with arbitrary size, but for this assignment we will assume that the data structure of the file fits in the main memory of a computer. Output of

Helmert contrast, Helmert contrast is the contrast often used in analysis ...

Helmert contrast is the contrast often used in analysis of the variance, in which each level of a factor is tested against average of the remaining levels. So, for instance, if th

Fisher''s transformation, The transformation of the Pearson's product momen...

The transformation of the Pearson's product moment correlation coefficient, r, can be given by   The statistic z has the normal distribution with mean   here ρ is the pop

L''abbe ´ plot, L'Abbe ´ plot is often used in the meta-analysis of the cl...

L'Abbe ´ plot is often used in the meta-analysis of the clinical trials where the result is the binary response of it. The event risk (number of events/number of the patients in a

Data smoothing algorithms, The procedures for extracting the pattern in a s...

The procedures for extracting the pattern in a series of observations when this is obscured by the noise. Basically any such technique or method separates the original series into

Statistical and Numerical methods using C ++, Write a c++ program to find t...

Write a c++ program to find the sum of 0.123 ? 10 3 and 0.456 ? 10 2 and write the result inthree significant digits.

Forest plot, A name sometimes given to the type of diagram generally used i...

A name sometimes given to the type of diagram generally used in meta-analysis, in which point estimates and confidence intervals are displayed for all the studies included in the a

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

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