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 response surface methodology (rsm), Response surface methodology (R...

Response surface methodology (RSM): The collection of the statistical and mathematical methods useful for improving, developing, and optimizing processes with significant applicat

G, sfdgfdg

sfdgfdg

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

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

Blinding, Blinding : A procedure used in clinical trials to get rid of the ...

Blinding : A procedure used in clinical trials to get rid of the possible bias which might be introduced if the patient and/or the doctor knew which treatment the patient is receiv

Expectaton, sales per day for a product are as follows: x= 10, 11, 12, 13 (...

sales per day for a product are as follows: x= 10, 11, 12, 13 (p)= 0.2, 0.4, 0.3, 0.1 obtain mean and variance of daily sale. if the profit is described by the following equation p

Implementation of huffman coding, Input to the compress is a text le with a...

Input to the compress is a text le with arbitrary size, but for this assignment we will assume that the data structure of the file fits in the main memory of a computer. Output of

General location model, The model for data containing continuous and catego...

The model for data containing continuous and categorical variables both.The categorical data are summarized by the contingency table and their marginal distribution, 182by the mult

Generalized additive models, Models which make use of the smoothing techniq...

Models which make use of the smoothing techniques such as locally weighted regression to identify and represent the possible non-linear relationships between the explanatory and th

Principal factor analysis, Principal factor analysis is the method of fact...

Principal factor analysis is the method of factor analysis which is basically equivalent to a principal components analysis performed on reduced covariance matrix attained by repl

Clinical vs. statistical significance, Clinical vs. statistical significanc...

Clinical vs. statistical significance : The distinction among results in terms of their possible clinical importance rather than simply in terms of their statistical importance. Wi

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