Class TMR


  • public class TMR
    extends java.lang.Object
    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 Detail

      • component1

        protected java.lang.String component1
        The first component.
      • component2

        protected java.lang.String component2
        The second component.
      • component3

        protected java.lang.String component3
        The third component.
    • Constructor Detail

      • TMR

        public TMR()
        Constructs a TMR.
    • Method Detail

      • getTerm

        public Term getTerm()
        Returns a model of the TMR as a Term.
        Returns:
        the term representation of the TMR
      • getTransformer

        public org.apache.commons.collections15.Transformer<java.lang.String,​ReliabilityFunction> getTransformer()
        Returns a Transformer for each element of the system to its ReliabilityFunction.
        Returns:
        the transformer