Class ABGT<T>
- java.lang.Object
-
- org.jreliability.importancemeasures.ABGT<T>
-
- Type Parameters:
T
- The type of the variables of theBDD
of the system
- All Implemented Interfaces:
ImportanceMeasure
,TimeDependentImportanceMeasure<T>
public class ABGT<T> extends java.lang.Object implements TimeDependentImportanceMeasure<T>
TheABGT
class calculates the ABGT importance for coherent and non-coherent systems proposed by [ABGT17]. [ABGT17] ( https://doi.org/10.1016/j.ress.2016.12.013 )
-
-
Field Summary
Fields Modifier and Type Field Description protected BDD<T>
bdd
protected BDDTTRF<T>
bddTTRF
protected CriticalityCalculator<T>
critCalc
protected org.apache.commons.collections15.Transformer<T,ReliabilityFunction>
transformer
-
Constructor Summary
Constructors Constructor Description ABGT(BDD<T> bdd, org.apache.commons.collections15.Transformer<T,ReliabilityFunction> 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 ABGT importances for all components at the specified time.
-
-
-
Field Detail
-
transformer
protected final org.apache.commons.collections15.Transformer<T,ReliabilityFunction> transformer
-
critCalc
protected final CriticalityCalculator<T> critCalc
-
-
Constructor Detail
-
ABGT
public ABGT(BDD<T> bdd, org.apache.commons.collections15.Transformer<T,ReliabilityFunction> 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 ABGT importances for all components at the specified time. Uses equation 15 and 23 of [ABGT17] to calculate the importance from the failure and repairCriticalityBDDs
of the components.- Specified by:
calculate
in interfaceTimeDependentImportanceMeasure<T>
- Parameters:
time
- Time t at which the ABGT importance of all components is calculated. Must be greater than 0, otherwise an IllegalArgumentException is thrown.- Returns:
- results Map of components and their respective ABGT importance at time t.
-
-