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. |
| Pdag * | graph() const |
| const Zbdd & | products() const |
| const Pdag::IndexMap< double > & | p_vars() const |
| const FaultTreeAnalysis * | fault_tree_analysis() const |
| double | ApplyInitiatingEventFrequency(double probability) const |
| double | initiating_event_frequency() const |
Protected Functions
| Name | |
|---|---|
| ~ProbabilityAnalyzerBase() override =default |
Protected Attributes
| Name | |
|---|---|
| Pdag * | graph_ <br>PDAG from the fault tree analysis. |
| const Zbdd * | products_ <br>A collection of products. |
| Pdag::IndexMap< double > | p_vars_ <br>Variable probabilities. |
| const FaultTreeAnalysis * | fta_ <br>Pointer back to qualitative analysis. |
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 |
| void | Analyze()<br>Performs quantitative analysis on the supplied fault tree. |
| double | p_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 |
| double | analysis_time() const |
Protected Functions inherited from scram::core::Analysis
| Name | |
|---|---|
| Settings & | settings() |
| void | AddWarning(std::string msg)<br>Appends a warning message to the analysis warnings. |
| void | AddAnalysisTime(double time)<br>Adds time to the total analysis time. |
Public Functions Documentation
function ProbabilityAnalyzerBase
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
inline Pdag * graph() constReturn: The original PDAG from the fault tree analyzer.
function products
inline const Zbdd & products() constReturn: The resulting products of the fault tree analyzer.
function p_vars
inline const Pdag::IndexMap< double > & p_vars() constReturn: A mapping for probability values with indices.
function fault_tree_analysis
inline const FaultTreeAnalysis * fault_tree_analysis() constReturn: Pointer to the originating fault tree analysis.
function ApplyInitiatingEventFrequency
inline double ApplyInitiatingEventFrequency(
double probability
) constfunction initiating_event_frequency
inline double initiating_event_frequency() constProtected Functions Documentation
function ~ProbabilityAnalyzerBase
~ProbabilityAnalyzerBase() override =defaultProtected Attributes Documentation
variable graph_
Pdag * graph_;PDAG from the fault tree analysis.
variable products_
const Zbdd * products_;A collection of products.
variable p_vars_
Pdag::IndexMap< double > p_vars_;Variable probabilities.
variable fta_
const FaultTreeAnalysis * fta_ = nullptr;Pointer back to qualitative analysis.
Updated on 2026-01-09 at 21:59:11 +0000
