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

Explain Geographical information system (gis), Geographical information sys...

Geographical information system (gis): The software and hardware configurations through which the digital georeferences are processed and displayed. Used to recognize the geograph

Random success probability, a psychic claims to be able to "feel colors" th...

a psychic claims to be able to "feel colors" there are three pieces of colored paper(red, blue,green) he will place his hand on radomly selected pieces while blindfolded. you perfo

Explain information theory., Information theory: This is the branch of app...

Information theory: This is the branch of applied probability theory applicable to various communication and signal processing problems in the field of engineering and biology. In

Alternative hypotheses and spss calculation, 1) Question on the first day q...

1) Question on the first day questionnaire asked students to rate their response to the question Are you deeply moved by the arts or music? Assume the population that is sampled

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

Explain personal probabilities, Personal probabilities : A radically specia...

Personal probabilities : A radically special approach for allocating probabilities to events than, for instance, the commonly used long-term relative frequency approach. In this ty

Linear regression, regression line drawn as Y=C+1075x, when x was 2, and y ...

regression line drawn as Y=C+1075x, when x was 2, and y was 239, given that y intercept was 11. calculate the residual

Case-control study, Case-control study : The traditional case-control study...

Case-control study : The traditional case-control study is the common research design in the epidemiology where the exposures to risk factors for cases (individuals getting the dis

Variance inflation factor, VIF is the abbreviation of variance inflation fa...

VIF is the abbreviation of variance inflation factor which is a measure of the amount of multicollinearity that exists in a set of multiple regression variables. *The VIF value

Dirichlet process mixture models, The nonparametric Bayesian inference appr...

The nonparametric Bayesian inference approach to using the finite mixture distributions for modelling data suspected of the containing distinct groups of observations; this approac

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