Skip to content

scram::core::McubCalculator

Quantitative calculator of probability values with the Min-Cut-Upper Bound 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 minimal cut set upper bound (MCUB) approximation.

Public Functions Documentation

function Calculate

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

Calculates probabilities using the minimal cut set upper bound (MCUB) 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 MCUB approximation.


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