Skip to content

scram::core::ProbabilityAnalyzerBase

Base class for Probability analyzers.

#include <probability_analysis.h>

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

Inherited by scram::core::ProbabilityAnalyzer< Calculator >, scram::core::ProbabilityAnalyzer< Bdd >

Public Functions

Name
template <class Algorithm > <br>ProbabilityAnalyzerBase(const FaultTreeAnalyzer< Algorithm > * fta, mef::MissionTime * mission_time)<br>Constructs probability analyzer from a fault tree analyzer.
const Pdag *graph() const
const Zbdd &products() const
const Pdag::IndexMap< double > &p_vars() const

Protected Functions

Name
~ProbabilityAnalyzerBase() override =default

Additional inherited members

Public Functions inherited from scram::core::ProbabilityAnalysis

Name
ProbabilityAnalysis(const FaultTreeAnalysis * fta, mef::MissionTime * mission_time)<br>Probability analysis with the results of qualitative analysis.
virtual~ProbabilityAnalysis() =default
voidAnalyze()<br>Performs quantitative analysis on the supplied fault tree.
doublep_total() const
const std::vector< std::pair< double, double > > &p_time() const
const Sil &sil() const

Protected Functions inherited from scram::core::ProbabilityAnalysis

Name
mef::MissionTime &mission_time()

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()

Public Functions Documentation

function ProbabilityAnalyzerBase

cpp
template <class Algorithm >
inline ProbabilityAnalyzerBase(
    const FaultTreeAnalyzer< Algorithm > * fta,
    mef::MissionTime * mission_time
)

Constructs probability analyzer from a fault tree analyzer.

Parameters:

  • fta Fault tree analysis with results.
  • mission_time The mission time expression of the model.

Template Parameters:

  • Algorithm Qualitative analysis algorithm.

Precondition: The underlying fault tree must not have changed in any way since the fault tree analysis finished.

function graph

cpp
inline const Pdag * graph() const

Return: The original PDAG from the fault tree analyzer.

function products

cpp
inline const Zbdd & products() const

Return: The resulting products of the fault tree analyzer.

function p_vars

cpp
inline const Pdag::IndexMap< double > & p_vars() const

Return: A mapping for probability values with indices.

Protected Functions Documentation

function ~ProbabilityAnalyzerBase

cpp
~ProbabilityAnalyzerBase() override =default

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