Class RRW<T>
- java.lang.Object
-
- org.jreliability.importancemeasures.RRW<T>
-
- Type Parameters:
T
- The type of the variables of theBDD
of the system
- All Implemented Interfaces:
ImportanceMeasure
,TimeDependentImportanceMeasure<T>
public class RRW<T> extends java.lang.Object implements TimeDependentImportanceMeasure<T>
TheRRW
class calculates the RRW values for coherent and non-coherent systems. Uses [Ali17] to calculate them. [Ali17] ( https://nbn-resolving.org/urn:nbn:de:bvb:29-opus4-87185 )
-
-
Field Summary
Fields Modifier and Type Field Description protected BDD<T>
bdd
protected BDDTTRF<T>
bddTTRF
protected BDDProvider<T>
provider
protected org.apache.commons.collections15.Transformer<T,ReliabilityFunction>
transformer
-
Constructor Summary
Constructors Constructor Description RRW(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 theRRW
values for all components at the specified time.
-
-
-
Field Detail
-
transformer
protected final org.apache.commons.collections15.Transformer<T,ReliabilityFunction> transformer
-
provider
protected final BDDProvider<T> provider
-
-
Constructor Detail
-
RRW
public RRW(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 theRRW
values for all components at the specified time. Uses equation 4.7 of [Ali17] to calculate the RRW values from the conditional unreliability of the system if a component works correctly and the nominal system unreliability. Note: [BAGT16] (https://doi.org/10.1016/j.ejor.2016.03.054) use a slightly different notation. They use U_i^- instead of U_i^+ because they use failure probabilities, while this framework generally uses success probabilities for the components, as does [Ali17]. In [BAGT16] U_i^- corresponds to no failure in a component. In [Ali17] U_i^+ corresponds to a correctly working component. They are equivalent.- Specified by:
calculate
in interfaceTimeDependentImportanceMeasure<T>
- Parameters:
time
- Time t at which the RRW values of all components is calculated. Must be greater than 0, otherwise an IllegalArgumentException is thrown.- Returns:
- results Map of components and their respective RRW values at time t.
-
-