ExpectationSimulationResult¶
- class ExpectationSimulationResult(*args)¶
Expectation simulation result.
Gathers the results of a
ExpectationSimulationAlgorithm
algorithm.Methods
Accessor to the block size.
Accessor to the object's name.
Accessor to the expectation distribution.
Accessor to the expectation distribution.
Accessor to the expectation estimate.
getName
()Accessor to the object's name.
Accessor to the outer sampling.
Accessor to the random variable.
Accessor to the expectation distribution.
Accessor to the elapsed time.
Accessor to the variance estimate.
hasName
()Test if the object is named.
setBlockSize
(blockSize)Accessor to the block size.
setExpectationEstimate
(expectationEstimate)Accessor to the expectation estimate.
setName
(name)Accessor to the object's name.
setOuterSampling
(outerSampling)Accessor to the outer sampling.
setRandomVector
(randomVector)Accessor to the random variable.
setTimeDuration
(time)Accessor to the elapsed time.
setVarianceEstimate
(varianceEstimate)Accessor to the variance estimate.
See also
- __init__(*args)¶
- getBlockSize()¶
Accessor to the block size.
- Returns:
- blockSizeint
Number of terms in the probability simulation estimator grouped together.
- getClassName()¶
Accessor to the object’s name.
- Returns:
- class_namestr
The object class name (object.__class__.__name__).
- getCoefficientOfVariation()¶
Accessor to the expectation distribution.
- Returns:
- coefficientOfVariation
Point
Coefficient of variation.
- coefficientOfVariation
- getExpectationDistribution()¶
Accessor to the expectation distribution.
- Returns:
- expectationEstimate
Distribution
Distribution of the expectation.
- expectationEstimate
- getExpectationEstimate()¶
Accessor to the expectation estimate.
- Returns:
- expectationEstimate
Point
Estimate of the expectation.
- expectationEstimate
- getName()¶
Accessor to the object’s name.
- Returns:
- namestr
The name of the object.
- getOuterSampling()¶
Accessor to the outer sampling.
- Returns:
- outerSamplingint
Number of groups of terms in the probability simulation estimator.
- getRandomVector()¶
Accessor to the random variable.
- Returns:
- event
RandomVector
Random variable we want to study.
- event
- getStandardDeviation()¶
Accessor to the expectation distribution.
- Returns:
- standardDeviation
Point
Standard deviation.
- standardDeviation
- getTimeDuration()¶
Accessor to the elapsed time.
- Returns:
- timefloat
Simulation duration in seconds
- getVarianceEstimate()¶
Accessor to the variance estimate.
- Returns:
- expectationEstimate
Point
Estimate of the variance.
- expectationEstimate
- hasName()¶
Test if the object is named.
- Returns:
- hasNamebool
True if the name is not empty.
- setBlockSize(blockSize)¶
Accessor to the block size.
- Parameters:
- blockSizeint,
Number of terms in the probability simulation estimator grouped together.
- setExpectationEstimate(expectationEstimate)¶
Accessor to the expectation estimate.
- Parameters:
- expectationEstimate
Point
Estimate of the expectation.
- expectationEstimate
- setName(name)¶
Accessor to the object’s name.
- Parameters:
- namestr
The name of the object.
- setOuterSampling(outerSampling)¶
Accessor to the outer sampling.
- Parameters:
- outerSamplingint,
Number of groups of terms in the probability simulation estimator.
- setRandomVector(randomVector)¶
Accessor to the random variable.
- Parameters:
- event
RandomVector
Random variable we want to study.
- event
- setTimeDuration(time)¶
Accessor to the elapsed time.
- Parameters:
- timefloat
Simulation duration in seconds
Examples using the class¶
Kriging: propagate uncertainties
Evaluate the mean of a random vector by simulations
Analyse the central tendency of a cantilever beam