Package org.jreliability.function.common
Class ConstantReliabilityFunction
- java.lang.Object
-
- org.jreliability.function.SequentialFunction
-
- org.jreliability.function.common.ConstantReliabilityFunction
-
- All Implemented Interfaces:
Function
,ReliabilityFunction
- Direct Known Subclasses:
ConstantFailureFunction
public class ConstantReliabilityFunction extends SequentialFunction implements ReliabilityFunction
TheConstantReliabilityFunction
returns a constant success probability for which it must hold that
0 =< failure probability =< 1
.
-
-
Field Summary
Fields Modifier and Type Field Description protected double
successProbability
-
Constructor Summary
Constructors Constructor Description ConstantReliabilityFunction(double successProbability)
-
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
-
-