Class MonteCarloRunner.UncertainVariable
java.lang.Object
neqsim.process.fielddevelopment.evaluation.MonteCarloRunner.UncertainVariable
- All Implemented Interfaces:
Serializable
- Enclosing class:
MonteCarloRunner
Definition of an uncertain variable.
- Version:
- 1.0
- Author:
- AGAS
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate doubleprivate doubleprivate doubleprivate static final long -
Constructor Summary
ConstructorsConstructorDescriptionUncertainVariable(String name, MonteCarloRunner.DistributionType distribution, double param1, double param2, double param3) Creates a new uncertain variable. -
Method Summary
Modifier and TypeMethodDescriptionGet the distribution type.getName()Get the variable name.doubleGet the first parameter.doubleGet the second parameter.doubleGet the third parameter.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
name
-
distribution
-
param1
private double param1 -
param2
private double param2 -
param3
private double param3
-
-
Constructor Details
-
UncertainVariable
public UncertainVariable(String name, MonteCarloRunner.DistributionType distribution, double param1, double param2, double param3) Creates a new uncertain variable.- Parameters:
name- variable namedistribution- distribution typeparam1- first parameter (interpretation depends on distribution)param2- second parameterparam3- third parameter (only for triangular)
-
-
Method Details
-
getName
-
getDistribution
Get the distribution type.- Returns:
- distribution type
-
getParam1
public double getParam1()Get the first parameter.- Returns:
- param1 value
-
getParam2
public double getParam2()Get the second parameter.- Returns:
- param2 value
-
getParam3
public double getParam3()Get the third parameter.- Returns:
- param3 value
-