Class Vaurio<T>
- java.lang.Object
-
- org.jreliability.importancemeasures.Vaurio<T>
-
- Type Parameters:
T
- The type of the variables of theBDD
of the system
- All Implemented Interfaces:
ImportanceMeasure
,TimeDependentImportanceMeasure<T>
public class Vaurio<T> extends java.lang.Object implements TimeDependentImportanceMeasure<T>
TheVaurio
class calculates the Vaurio Importance for non-coherent systems proposed by [Vau16]. Uses [ABGT17] for an easy representation. [Vau16] ( https://doi.org/10.1016/j.ress.2015.11.007 ) [ABGT17] ( https://doi.org/10.1016/j.ress.2016.12.013 )
-
-
Field Summary
Fields Modifier and Type Field Description protected CriticalityCalculator<T>
critCalc
-
Constructor Summary
Constructors Constructor Description Vaurio(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 Vaurio importances for all components at the specified time.
-
-
-
Field Detail
-
critCalc
protected final CriticalityCalculator<T> critCalc
-
-
Constructor Detail
-
Vaurio
public Vaurio(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 Vaurio importances for all components at the specified time. Uses equation 8 of [ABGT17] 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 Vaurio importance of all components is calculated. Must be greater than 0, otherwise an IllegalArgumentException is thrown.- Returns:
- results Map of components and their respective Vaurio importance at time t.
-
-