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 |
| void | Analyze()<br>Performs quantitative analysis on the total probability. |
| double | mean() const |
| double | sigma() const |
| double | error_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. |
| void | SampleExpressions(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 |
| double | analysis_time() const |
| void | AddAnalysisTime(double time)<br>Adds time to the total analysis time. |
| void | AddWarning(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
