Class RAW<T>
- java.lang.Object
-
- org.jreliability.importancemeasures.RAW<T>
-
- Type Parameters:
T
- The type of the variables of theBDD
of the system
- All Implemented Interfaces:
ImportanceMeasure
,TimeDependentImportanceMeasure<T>
public class RAW<T> extends java.lang.Object implements TimeDependentImportanceMeasure<T>
TheRAW
class calculates the RAW 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 RAW(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 theRAW
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
-
RAW
public RAW(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 theRAW
values for all components at the specified time. Uses equation 4.7 of [Ali17] to calculate the RAW values from the conditional unreliability of the system if a component fails 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 the presence of a failure in a component. In [Ali17] U_i^- corresponds to the absence of a correctly working component. They are equivalent.- Specified by:
calculate
in interfaceTimeDependentImportanceMeasure<T>
- Parameters:
time
- Time t at which the RAW values of all components is calculated. Must be greater than 0, otherwise an IllegalArgumentException is thrown.- Returns:
- results Map of components and their respective RAW values at time t.
-
-