Skip to content

scram::core::RareEventCalculator

Quantitative calculator of probability values with the Rare-Event approximation.

#include <probability_analysis.h>

Inherits from scram::core::CutSetProbabilityCalculator

Public Functions

Name
doubleCalculate(const Zbdd & cut_sets, const Pdag::IndexMap< double > & p_vars)<br>Calculates probabilities using the Rare-Event approximation.

Public Functions Documentation

function Calculate

cpp
double Calculate(
    const Zbdd & cut_sets,
    const Pdag::IndexMap< double > & p_vars
)

Calculates probabilities using the Rare-Event approximation.

Parameters:

  • cut_sets A collection of sets of indices of basic events.
  • p_vars Probabilities of events mapped by the variable indices.

Return: The total probability with the rare-event approximation.

Postcondition: In case the calculated probability exceeds 1, the probability is adjusted to 1. It is very unwise to use the rare-event approximation with large probability values.


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