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 String
The first component.protected String
The second component.protected String
The third component.protected org.apache.commons.collections15.Transformer
<String, ReliabilityFunction> The usedReliabilityFunction
Transformer
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()
getTerm()
org.apache.commons.collections15.Transformer
<String, ReliabilityFunction> Returns aTransformer
for each element of the system to itsReliabilityFunction
.
-
Field Details
-
component1
The first component. -
component2
The second component. -
component3
The third component. -
transformer
The usedReliabilityFunction
Transformer
.
-
-
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 aTransformer
for each element of the system to itsReliabilityFunction
.- Returns:
- the transformer
-