Package org.jreliability.tester
Class TestExponentialTransformer
- java.lang.Object
-
- org.jreliability.tester.TestExponentialTransformer
-
- All Implemented Interfaces:
org.apache.commons.collections15.Transformer<java.lang.String,ReliabilityFunction>
public class TestExponentialTransformer extends java.lang.Object implements org.apache.commons.collections15.Transformer<java.lang.String,ReliabilityFunction>
TheTestExponentialTransformer
is aTransformer
for theTestExample
that usesExponentialReliabilityFunction
asReliabilityFunction
s.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
heater
The heater.protected ReliabilityFunction
heaterReliabilityFunction
TheReliabilityFunction
of the heater.protected java.lang.String
pump1
The first pump.protected ReliabilityFunction
pump1ReliabilityFunction
TheReliabilityFunction
of the first pump.protected java.lang.String
pump2
The second pump.protected ReliabilityFunction
pump2ReliabilityFunction
TheReliabilityFunction
of the second pump.protected java.util.Map<java.lang.String,ReliabilityFunction>
reliabilityFunction
Maps each element to itsReliabilityFunction
.
-
Constructor Summary
Constructors Constructor Description TestExponentialTransformer()
Constructs aTestExponentialTransformer
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReliabilityFunction
transform(java.lang.String a)
-
-
-
Field Detail
-
heater
protected final java.lang.String heater
The heater.- See Also:
- Constant Field Values
-
pump1
protected final java.lang.String pump1
The first pump.- See Also:
- Constant Field Values
-
pump2
protected final java.lang.String pump2
The second pump.- See Also:
- Constant Field Values
-
reliabilityFunction
protected java.util.Map<java.lang.String,ReliabilityFunction> reliabilityFunction
Maps each element to itsReliabilityFunction
.
-
heaterReliabilityFunction
protected ReliabilityFunction heaterReliabilityFunction
TheReliabilityFunction
of the heater.
-
pump1ReliabilityFunction
protected ReliabilityFunction pump1ReliabilityFunction
TheReliabilityFunction
of the first pump.
-
pump2ReliabilityFunction
protected ReliabilityFunction pump2ReliabilityFunction
TheReliabilityFunction
of the second pump.
-
-
Constructor Detail
-
TestExponentialTransformer
public TestExponentialTransformer()
Constructs aTestExponentialTransformer
.
-
-
Method Detail
-
transform
public ReliabilityFunction transform(java.lang.String a)
- Specified by:
transform
in interfaceorg.apache.commons.collections15.Transformer<java.lang.String,ReliabilityFunction>
-
-