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

Leaps-and-bounds algorithm, Leaps-and-bounds algorithm is an algorithm whi...

Leaps-and-bounds algorithm is an algorithm which is used to ?nd the optimal solution in problems which might have a large number of possible solutions. Begins by dividing the poss

Weighted least squares, Weighted least squares  is the method of estimation...

Weighted least squares  is the method of estimation in which the estimates arise from minimizing the weighted sum of squares of the differences between response variable and its pr

Probabilistic matching, Probabilistic matching is a method developed to ma...

Probabilistic matching is a method developed to maximize the accuracy of the linkage decisions based on the level of agreement and disagreement among the identifiers on different

Describe multiple imputation, Multiple imputation : The Monte Carlo techniq...

Multiple imputation : The Monte Carlo technique in which missing values in the data set are replaced by m> 1 simulated versions, where m is usually small (say 3-10). Each of simula

Fisher''s exact test, The alternative process to make use of the chi-square...

The alternative process to make use of the chi-squared statistic for assessing the independence of the two variables forming a two-by-two contingency table particularly when expect

Find the expected value of perfect information, You may have the opportunit...

You may have the opportunity to buy some electronic components. These components may be reliable (1) or unreliable (2). The potential pro?ts are £10,000 if the components are rel

Dirichlet tessellation, A construction for events that happen in some plana...

A construction for events that happen in some planar area a, consisting of the series of 'territories' each of which comprises of that part of a closer to the particular event xi t

Describe nuisance parameter, Nuisance parameter : The parameter of the mode...

Nuisance parameter : The parameter of the model in which there is no scienti?c interest but whose values are generally required (but in usual are unknown) to make inferences about

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

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