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

QUANTITATIVE METHOD., an oil company is considering whether or not to bid f...

an oil company is considering whether or not to bid for an offshore drilling contract. The bid would cost $60 with a 65% chance of gaining the contract. Outcome success Probability

Explain perturbation theory, Perturbation theory : The theory useful in ass...

Perturbation theory : The theory useful in assessing how well a specific algorithm or the statistical model performs when the observations suffer less random changes. In very commo

Define kalman filter, Kalman filter : A recursive procedure which gives an ...

Kalman filter : A recursive procedure which gives an estimate of the signal when only the 'noisy signal' can be observed. The estimate is efficiently constructed by putting the exp

Business Statistic HW., Hello , I have a business statistic HW that is due ...

Hello , I have a business statistic HW that is due after 23 hours exactly for now . I need full and details answers please , plus they must be in a done and typed in a word or exce

Dorfman scheme, An approach to investigations designed to recognize a parti...

An approach to investigations designed to recognize a particular medical condition in the large population, usually by means of a blood test, which might result in the considerable

Double sampling, The procedure in which initially the sample of subjects is...

The procedure in which initially the sample of subjects is selected for generating the auxillary information only, and then the second sample is selected in which the variable of i

Data squashing, An approach to decrease the size of very large data sets in...

An approach to decrease the size of very large data sets in which the data are first 'binned' and then statistics such as the mean and variance/covariance are calculated on each bi

Rates of return, An investor with a stock portfolio sued his broker, claimi...

An investor with a stock portfolio sued his broker, claiming that a lack of diversification in his portfolio had led to poor performance. The data, shown below, are the rates of re

Sequencing problem, when there is tie in sequencing then what we do

when there is tie in sequencing then what we do

Intercropping experiments, Intercropping experiments are the experiments i...

Intercropping experiments are the experiments including growing two or more crops at same time on the same patch of land. The crops are not required to be planted nor harvested at

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