MATHVisualSimulator
A BPMN2 simulator for MATH
|
Inherits Simulator.IRandomVariable.
Public Member Functions | |
void | init (double[] pp) |
Initialize this variable with the given parameters. Intended to be used only by RandomVariableFactory. | |
double | next () |
Draw a random value from this random variable. | |
void | multiply (double m) |
Modify this variable so as to multiply every draw from this random variable by the argument m. | |
double | getMean () |
Return the mean of this variable. | |
double | getStddev () |
Return the standard deviation of this variable. For empirical variables, standard deviation is calculated using the population variance (not a sample variance). | |
double | getPercentile (double a) |
Provide the value that represents the nth percentile from the data contained in this variable. Most useful for empirical data. | |
string | getStringDescription () |
Return a string representation of this random variable. This description could be fed back into RandomVariableFactory.create() to produce a duplicate of this variable. | |
string | describeVariable (ITimeFormatter itf=null) |
Return a human-readable description of this variable. | |
Properties | |
string | name [get] |
The name of this type of random variable. | |
string[] | parameterNames [get] |
The names of the parameters describing this variable. |
string Simulator.WeibullRandomVariable.describeVariable | ( | ITimeFormatter | itf = null | ) |
Return a human-readable description of this variable.
itf | If this parameter is specified, the numbers in the description will be formatted according to the given formatter. |
Implements Simulator.IRandomVariable.
double Simulator.WeibullRandomVariable.getMean | ( | ) |
double Simulator.WeibullRandomVariable.getPercentile | ( | double | n | ) |
Provide the value that represents the nth percentile from the data contained in this variable. Most useful for empirical data.
n | A number between 0 and 100. |
Implements Simulator.IRandomVariable.
double Simulator.WeibullRandomVariable.getStddev | ( | ) |
Return the standard deviation of this variable. For empirical variables, standard deviation is calculated using the population variance (not a sample variance).
Implements Simulator.IRandomVariable.
string Simulator.WeibullRandomVariable.getStringDescription | ( | ) |
Return a string representation of this random variable. This description could be fed back into RandomVariableFactory.create() to produce a duplicate of this variable.
Implements Simulator.IRandomVariable.
void Simulator.WeibullRandomVariable.init | ( | double[] | parameters | ) |
Initialize this variable with the given parameters. Intended to be used only by RandomVariableFactory.
parameters |
Implements Simulator.IRandomVariable.
void Simulator.WeibullRandomVariable.multiply | ( | double | m | ) |
Modify this variable so as to multiply every draw from this random variable by the argument m.
m | The multiplier |
Implements Simulator.IRandomVariable.
double Simulator.WeibullRandomVariable.next | ( | ) |
Draw a random value from this random variable.
Implements Simulator.IRandomVariable.
string Simulator.WeibullRandomVariable.name [get] |
The name of this type of random variable.
Implements Simulator.IRandomVariable.
string [] Simulator.WeibullRandomVariable.parameterNames [get] |
The names of the parameters describing this variable.
Implements Simulator.IRandomVariable.