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

Statistcal computing flow charts for sums, 1. define statistical algorithms...

1. define statistical algorithms 2. write the flow charts for statistical algorithms for sums, squares and products. 3. write flow charts for statistical algorithms to generates ra

Disease mapping, The method of displaying the geographical variability of t...

The method of displaying the geographical variability of the disease on maps using different colors, shading, etc. The logic is not new, but the arrival of computers and computer g

Bayesian inference, Bayesian inference : An approach to the inference based...

Bayesian inference : An approach to the inference based largely on Bayes' Theorem and comprising of the below stated principal steps: (1) Obtain the likelihood, f x q describing

Chi-squared distribution, Chi-squared distribution : It is the probability ...

Chi-squared distribution : It is the probability distribution, f (x), of the random variable de?ned as the sum of squares of the number (v) of independent standard normal variables

Chapter 7&8, Chapter 7 2. Describe the distribution of sample means (shape...

Chapter 7 2. Describe the distribution of sample means (shape, expected value, and standard error) for samples of n =36 selected from a population with a mean of µ = 100 and a sta

Incubation period, Incubation period is the time elapsing amongs the receip...

Incubation period is the time elapsing amongs the receipt of infection and the appearance of the symptoms. The length of the incubation time period depends on the disease, ranging

Gaussian markov random field, It is the multivariate normal random vector w...

It is the multivariate normal random vector which satisfies certain conditional independence suppositions. This can be viewed as a model framework which contains a wide range of st

Staitistics project, I need a statistics project done. How much will it cos...

I need a statistics project done. How much will it cost?

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

Explain household interview surveys, Household interview surveys : The surv...

Household interview surveys : The surveys in which the primary sampling units are typically geographic regions such as nations or cities. For each such unit sampled, there are addi

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