vsp
Class Vsp

java.lang.Object
  extended by vsp.Vsp

public class Vsp
extends java.lang.Object

VSP 4/3

Author:
Jan Tichava

Field Summary
private static double cs1
          Defined variation of the mean value for server 1
private static double cs2
          Defined variation of the mean value for server 2
private static int DEFAULT_STEPS
           
private static double lambda
          Defined exponential distribution ratio
private static double p1
          Probability for branch 1
private static double p2
          Probability for branch 2
private static double ts1
          Defined mean value for server 1
private static double ts2
          Defined mean value for server 2
 
Constructor Summary
Vsp(java.lang.String[] args)
          Main simulation
 
Method Summary
static void main(java.lang.String[] args)
          Create main object
private  int parseArguments(java.lang.String[] args)
          Parse command line arguments
private  void printHelp()
          Print help
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lambda

private static final double lambda
Defined exponential distribution ratio

See Also:
Constant Field Values

ts1

private static final double ts1
Defined mean value for server 1

See Also:
Constant Field Values

ts2

private static final double ts2
Defined mean value for server 2

See Also:
Constant Field Values

cs1

private static final double cs1
Defined variation of the mean value for server 1

See Also:
Constant Field Values

cs2

private static final double cs2
Defined variation of the mean value for server 2

See Also:
Constant Field Values

p1

private static final double p1
Probability for branch 1

See Also:
Constant Field Values

p2

private static final double p2
Probability for branch 2

See Also:
Constant Field Values

DEFAULT_STEPS

private static final int DEFAULT_STEPS
See Also:
Constant Field Values
Constructor Detail

Vsp

public Vsp(java.lang.String[] args)
Main simulation

Parameters:
args - command line arguments
Method Detail

parseArguments

private int parseArguments(java.lang.String[] args)
Parse command line arguments

Parameters:
args - command line argument
Returns:
number of steps

printHelp

private void printHelp()
Print help


main

public static void main(java.lang.String[] args)
Create main object

Parameters:
args - command line arguments