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>
The
RRW
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
FieldsModifier and TypeFieldDescriptionprotected final BDDProvider
<T> protected final org.apache.commons.collections15.Transformer
<T, ReliabilityFunction> -
Constructor Summary
ConstructorsConstructorDescriptionRRW
(BDD<T> bdd, org.apache.commons.collections15.Transformer<T, ReliabilityFunction> transformer) -
Method Summary
-
Field Details
-
bdd
-
transformer
-
provider
-
bddTTRF
-
-
Constructor Details
-
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 Details
-
calculate
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.
-