Package org.jreliability.tutorial.tmr
Class TMR
java.lang.Object
org.jreliability.tutorial.tmr.TMR
The
TMR models a 2-out-of-3 majority voter commonly known as Triple
Modular Redundancy. This behavior can be expressed as a linear constrained as
follows:1*component1 + 1*component2 + 1* component3 >= 2
The needed comparator to perform the voting is commonly not modeled explicitly due to its extremely high reliability.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe first component.protected StringThe second component.protected StringThe third component.protected org.apache.commons.collections15.Transformer<String, ReliabilityFunction> The usedReliabilityFunctionTransformer. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()getTerm()org.apache.commons.collections15.Transformer<String, ReliabilityFunction> Returns aTransformerfor each element of the system to itsReliabilityFunction.
-
Field Details
-
component1
The first component. -
component2
The second component. -
component3
The third component. -
transformer
The usedReliabilityFunctionTransformer.
-
-
Constructor Details
-
TMR
public TMR()Constructs aTMR.
-
-
Method Details
-
getTerm
- Returns:
- the term representation of the TMR
-
get
- Returns:
- the reliabilityFunction of the TMR
-
getTransformer
Returns aTransformerfor each element of the system to itsReliabilityFunction.- Returns:
- the transformer
-