Package org.jreliability.sl
Class SLReliabilityFunction<T>
- java.lang.Object
-
- org.jreliability.function.SequentialFunction
-
- org.jreliability.sl.SLReliabilityFunction<T>
-
- Type Parameters:
T
- the type of variable
- All Implemented Interfaces:
Function
,ReliabilityFunction
public class SLReliabilityFunction<T> extends SequentialFunction implements ReliabilityFunction
TheSLReliabilityFunction
represents theReliabilityFunction
using stochastic logic as implemented bySL
.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.commons.collections15.Transformer<T,ReliabilityFunction>
functionTransformer
protected SL<T>
stochasticLogic
TheSL
representing theUnreliabilityFunction
.
-
Constructor Summary
Constructors Constructor Description SLReliabilityFunction(SL<T> stochasticLogic, org.apache.commons.collections15.Transformer<T,ReliabilityFunction> functionTransformer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getY(double x)
Returns they
value fory = f(x)
.-
Methods inherited from class org.jreliability.function.SequentialFunction
getY
-
-
-
-
Field Detail
-
stochasticLogic
protected final SL<T> stochasticLogic
TheSL
representing theUnreliabilityFunction
.
-
functionTransformer
protected final org.apache.commons.collections15.Transformer<T,ReliabilityFunction> functionTransformer
-
-
Constructor Detail
-
SLReliabilityFunction
public SLReliabilityFunction(SL<T> stochasticLogic, org.apache.commons.collections15.Transformer<T,ReliabilityFunction> functionTransformer)
- Parameters:
stochasticLogic
- the stochastic logic representing the reliabilityFunctionfunctionTransformer
- the functionTransformer to transform stochastic logic elements to reliabilityFunction
-
-