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

Play-the-winner rule, Play-the-winner rule is a process sometimes consider...

Play-the-winner rule is a process sometimes considered in the clinical trials in which the response to treatment is positive (a success) or negative (a failure). One of two treatm

Dropout, A subject who withdraws from the study for whatever reason, advers...

A subject who withdraws from the study for whatever reason, adverse side effects, noncompliance, moving away from the district, etc. In number of cases the reason may not be known.

Compute the portfolio expected return, (a) You are trying to develop a stra...

(a) You are trying to develop a strategy for investing in two different stocks, Stock A and Stock B. The anticipated annual return for a $1000 investment in each stock under four

Bartlett''s test for variances, Bartlett's test for variances : A test for ...

Bartlett's test for variances : A test for equality of the variances of the number (k)of the populations. The test statistic can be given as follows   where s square is an

Historigram, difference between histogram and historigram

difference between histogram and historigram

Glim, Glim is the software package specifically suited for fitting the gen...

Glim is the software package specifically suited for fitting the generalized linear models (the acronym stands for the Generalized Linear Interactive Modelling), including the log

Multilevel models, Multilevel models are the regression models for the mul...

Multilevel models are the regression models for the multilevel or clustered data where units i are nested in the clusters j, for example a cross-sectional study where students are

Quasi-experiment, Quasi-experiment is a term taken in use for studies whic...

Quasi-experiment is a term taken in use for studies which resemble experiments but are weak on some of the characteristics, particularly that allocation of the subjects to groups

Proportional allocation, how to get the proportional allocation of the give...

how to get the proportional allocation of the give stratified random sampling example

Doubly ordered contingency tables, The contingency tables in which the row ...

The contingency tables in which the row and column both the categories follow a natural order. An instance for this might be, drug toxicity ranging from mild to severe, against the

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