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

Gambling, It is the art of attempting to exchange something quite small and...

It is the art of attempting to exchange something quite small and certain, for something which are large and uncertain. Gambling is big business; in the US, for instance, it is at

G, sfdgfdg

sfdgfdg

Codominance, Codominance : The relationship between genotype at the locus a...

Codominance : The relationship between genotype at the locus and a phenotype to which it in?uences. If an individuals with heterozygote (such as, AB) genotype is phenotypically dif

Probability, Modern hotels and certain establishments make use of an electr...

Modern hotels and certain establishments make use of an electronic door lock system. To open a door an electronic card is inserted into a slot. A green light indicates that the doo

Fuzzy set theory, A radically different approach of dealing with the uncert...

A radically different approach of dealing with the uncertainty than the traditional probabilistic and the statistical methods. The necessary feature of the fuzzy set is a membershi

Data fusion, The act of combining data from heterogeneous sources with the ...

The act of combining data from heterogeneous sources with the intent of extracting information that would not be available for any single source in isolation. An example is the com

Gaussian process, The generalization of the normal distribution used for th...

The generalization of the normal distribution used for the characterization of functions. It is known as a Gaussian process because it has Gaussian distributed finite dimensional m

Distance sampling, The technique of sampling used in the ecology for determ...

The technique of sampling used in the ecology for determining how much plants or animals are in a given fixed region. A set of randomly placed lines or points is recognized and the

Autocorrelation, This graph for Cross Correlation Function for RES1, RES1 s...

This graph for Cross Correlation Function for RES1, RES1 shows that there is possibly negative autocorrelation as there are alternating spikes; also the first spike is negative whi

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