Class BAGT<T>
- java.lang.Object
-
- org.jreliability.importancemeasures.BAGT<T>
-
- Type Parameters:
T
- The type of the variables of theBDD
of the system
- All Implemented Interfaces:
ImportanceMeasure
public class BAGT<T> extends java.lang.Object implements ImportanceMeasure
TheBAGT
class calculates the time-independent importance of components proposed by [BAGT16]. [BAGT16] ( https://doi.org/10.1016/j.ejor.2016.03.054 )
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BAGT.Variant
-
Field Summary
Fields Modifier and Type Field Description protected BDD<T>
bdd
protected BDDTTRF<T>
bddTTRF
protected MomentEvaluator
moment
protected double
mttf
protected BDDProvider<T>
provider
protected org.apache.commons.collections15.Transformer<T,ReliabilityFunction>
transformer
-
Constructor Summary
Constructors Constructor Description BAGT(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(BAGT.Variant variant)
Calculates one of the BAGT importance measure variants.
-
-
-
Field Detail
-
transformer
protected final org.apache.commons.collections15.Transformer<T,ReliabilityFunction> transformer
-
provider
protected final BDDProvider<T> provider
-
moment
protected final MomentEvaluator moment
-
mttf
protected final double mttf
-
-
Constructor Detail
-
BAGT
public BAGT(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(BAGT.Variant variant)
Calculates one of the BAGT importance measure variants. Note: This function might have infinite run times for some variants using non coherent systems. This is due to theMomentEvaluator
having an infinite run time for the restricted reliability functions in those cases.- Parameters:
variant
- The variant of BAGT to be calculated.- Returns:
- results Map of components and their respective BAGT importance.
-
-