Skip to content

scram::core::UncertaintyAnalyzer

Uncertainty analysis facility. More...

#include <uncertainty_analysis.h>

Inherits from scram::core::UncertaintyAnalysis, scram::core::Analysis, boost::noncopyable

Public Functions

Name
UncertaintyAnalyzer(ProbabilityAnalyzer< Calculator > * prob_analyzer)<br>Constructs uncertainty analyzer from probability analyzer.

Additional inherited members

Public Functions inherited from scram::core::UncertaintyAnalysis

Name
UncertaintyAnalysis(const ProbabilityAnalysis * prob_analysis)<br>Uncertainty analysis on the fault tree processed by probability analysis.
virtual~UncertaintyAnalysis() =default
voidAnalyze()<br>Performs quantitative analysis on the total probability.
doublemean() const
doublesigma() const
doubleerror_factor() const
const std::pair< double, double > &confidence_interval() const
const std::vector< std::pair< double, double > > &distribution() const
const std::vector< double > &quantiles() const

Protected Functions inherited from scram::core::UncertaintyAnalysis

Name
std::vector< std::pair< int, mef::Expression & > >GatherDeviateExpressions(const Pdag * graph)<br>Gathers deviate expressions of variables.
voidSampleExpressions(const std::vector< std::pair< int, mef::Expression & > > & deviate_expressions, Pdag::IndexMap< double > * p_vars)<br>Samples uncertain probabilities.

Public Functions inherited from scram::core::Analysis

Name
Analysis(Settings settings)
virtual~Analysis() =0<br>Abstract class.
const Settings &settings() const
const std::string &warnings() const
doubleanalysis_time() const
voidAddAnalysisTime(double time)<br>Adds time to the total analysis time.
voidAddWarning(std::string msg)<br>Appends a warning message to the analysis warnings.
Settings &settings()

Detailed Description

cpp
template <class Calculator >
class scram::core::UncertaintyAnalyzer;

Uncertainty analysis facility.

Template Parameters:

  • Calculator Quantitative analysis calculator.

Public Functions Documentation

function UncertaintyAnalyzer

cpp
inline explicit UncertaintyAnalyzer(
    ProbabilityAnalyzer< Calculator > * prob_analyzer
)

Constructs uncertainty analyzer from probability analyzer.

Parameters:

  • prob_analyzer Instantiated probability analyzer.

Probability analyzer facilities are used to calculate the total probability for sampling.


Updated on 2025-11-11 at 16:51:08 +0000