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

Huffman coding based compression, Huffman code is used to compress data fil...

Huffman code is used to compress data file, where the data is represented as a sequence of characters. Huffman's greedy algorithm uses a table giving how often each character occur

What is harris and stevens forecasting, Harris and Stevens forecasting is ...

Harris and Stevens forecasting is the method of making short term forecasts in the time series which is subject to abrupt changes in pattern and the transient effects. Instances o

Statistical & Quantitative Methods , Given: There are 4 jobs and 4 persons...

Given: There are 4 jobs and 4 persons. The cost incurred for each person and each job is as follows: Persons Job 1 Job 2 Job 3 Job 4 A 10 9 21 11 B 15 12 25 17 C 12 10 20 12 D 17

Cauchy distribution, Cauchy distribution : The probability distribution, f ...

Cauchy distribution : The probability distribution, f (x), can be given as follows   where α is the position of the parameter (median) and the beta β a scale parameter. Moments

Describe longini koopman model, Longini Koopman model : In epidemiology the...

Longini Koopman model : In epidemiology the model for primary and secondary infection, based on the classification of the extra-binomial variation in an infection rate which might

Compliance, Compliance : The extent to which the participants in a clinical...

Compliance : The extent to which the participants in a clinical trial follow trial protocol, for instance, following both the intervention regimen and trial procedures (clinical vi

Estimation, The process of providing the numerical value for the population...

The process of providing the numerical value for the population parameter on the basis of information gathered from a sample. If a single ?gure is computed for the unknown paramete

Sequencing of 4 machines, how to resolve sequencing problem if jobs 6 given...

how to resolve sequencing problem if jobs 6 given and 4 machines given. how to apply johnson rule for making to machines under this conditions. please give solution as soon as poss

Relative risk, Relative risk is the measure of the association between the...

Relative risk is the measure of the association between the exposure to a particular factor and the risk or probability of a convinced outcome, calculated as follows     therefor

Regression analysis, The regression analysis is used to fit a model descr...

The regression analysis is used to fit a model describing the relationship of a dependent variable with independent variable(s). Here we have fitted three regression models:

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