Class BirnbaumAB<T>
- java.lang.Object
-
- org.jreliability.importancemeasures.BirnbaumAB<T>
-
- Type Parameters:
T
- The type of the variables of theBDD
of the system
- All Implemented Interfaces:
ImportanceMeasure
,TimeDependentImportanceMeasure<T>
public class BirnbaumAB<T> extends java.lang.Object implements TimeDependentImportanceMeasure<T>
TheBirnbaumAB
class calculates the Andrews Beeson extension of the Birnbaum importance for coherent and non-coherent systems by [AB03]. [AB03] ( https://doi.org/10.1109/TR.2003.816397 )
-
-
Field Summary
Fields Modifier and Type Field Description protected CriticalityCalculator<T>
critCalc
-
Constructor Summary
Constructors Constructor Description BirnbaumAB(BDD<T> bdd, org.apache.commons.collections15.Transformer<T,ReliabilityFunction> transformer)
Returns aBirnbaumAB
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 Andrews Beeson extension of theBirnbaum
importance for all components at the specified time.
-
-
-
Field Detail
-
critCalc
protected final CriticalityCalculator<T> critCalc
-
-
Constructor Detail
-
BirnbaumAB
public BirnbaumAB(BDD<T> bdd, org.apache.commons.collections15.Transformer<T,ReliabilityFunction> transformer)
Returns aBirnbaumAB
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 Andrews Beeson extension of theBirnbaum
importance for all components at the specified time. Uses equation 6 of [AB03] to calculate the importance from the failure and repairCriticalityValues
of the components.- Specified by:
calculate
in interfaceTimeDependentImportanceMeasure<T>
- Parameters:
time
- Time t at which the Andrews Beeson extension of 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 Andrews Beeson Birnbaum importance at time t.
-
-