Skip to content

scram::core::EventTreeAnalysis

Event tree analysis functionality.

#include <event_tree_analysis.h>

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

Public Classes

Name
structResult <br>The analysis results binding to the unique analysis target.

Public Functions

Name
const std::vector< Result > &sequences() const
std::vector< Result > &sequences()
EventTreeAnalysis(const mef::InitiatingEvent & initiating_event, const Settings & settings, mef::Context * context)
voidAnalyze()<br>Analyzes an event tree given the initiating event.
const mef::InitiatingEvent &initiating_event() const

Additional inherited members

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 sequences

cpp
inline const std::vector< Result > & sequences() const

Return: The results of the event tree analysis.

function sequences

cpp
inline std::vector< Result > & sequences()

function EventTreeAnalysis

cpp
EventTreeAnalysis(
    const mef::InitiatingEvent & initiating_event,
    const Settings & settings,
    mef::Context * context
)

Parameters:

  • initiating_event The unique initiating event.
  • settings The analysis settings.
  • context The context to communicate with test-events.

Precondition: The initiating event has its event tree.

function Analyze

cpp
void Analyze()

Analyzes an event tree given the initiating event.

function initiating_event

cpp
inline const mef::InitiatingEvent & initiating_event() const

Return: The initiating event of the event tree analysis.


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