Class Birnbaum<T>
- java.lang.Object
-
- org.jreliability.importancemeasures.Birnbaum<T>
-
- Type Parameters:
T
- The type of the variables of theBDD
of the system
- All Implemented Interfaces:
ImportanceMeasure
,TimeDependentImportanceMeasure<T>
public class Birnbaum<T> extends java.lang.Object implements TimeDependentImportanceMeasure<T>
TheBirnbaum
class calculates the Birnbaum Importance for coherent systems. This is done via boolean expression in theCriticalityCalculator
using [ABGT17]. As a result, it is equivalent to the importance measure proposed by Zaitseva and Levashenko in [ZL13]. [ABGT17] ( https://doi.org/10.1016/j.ress.2016.12.013 ) [ZL13] ( https://doi.org/10.1134/S000511791302001X )
-
-
Field Summary
Fields Modifier and Type Field Description protected CriticalityCalculator<T>
critCalc
-
Constructor Summary
Constructors Constructor Description Birnbaum(BDD<T> bdd, org.apache.commons.collections15.Transformer<T,ReliabilityFunction> transformer)
Returns aBirnbaum
calculator for a specific system with itsBDD
andReliabilityFunction
Transformer
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<T,java.lang.Double>
calculate(double time)
Calculates the Birnbaum importances for all components at the specified time.
-
-
-
Field Detail
-
critCalc
protected final CriticalityCalculator<T> critCalc
-
-
Constructor Detail
-
Birnbaum
public Birnbaum(BDD<T> bdd, org.apache.commons.collections15.Transformer<T,ReliabilityFunction> transformer)
Returns aBirnbaum
calculator for a specific system with itsBDD
andReliabilityFunction
Transformer
.- Parameters:
bdd
- TheBDD
representing the system structure functiontransformer
- TheTransformer
used to get theReliabilityFunction
of variables present in theBDD
-
-
Method Detail
-
calculate
public java.util.Map<T,java.lang.Double> calculate(double time)
Calculates the Birnbaum importances for all components at the specified time. Uses equation 6 of [ABGT17] to calculate the importance from the failure criticality of the component.- Specified by:
calculate
in interfaceTimeDependentImportanceMeasure<T>
- Parameters:
time
- Time t at which the Birnbaum importance of all components is calculated. Must be greater than 0, otherwise an IllegalArgumentException is thrown.- Returns:
- results Map of components and their respective Birnbaum importance at time t.
-
-