Package org.jreliability.function.common
Class ExponentialReliabilityFunction
- java.lang.Object
-
- org.jreliability.function.SequentialFunction
-
- org.jreliability.function.common.ExponentialReliabilityFunction
-
- All Implemented Interfaces:
Function
,ReliabilityFunction
- Direct Known Subclasses:
ExponentialFailureFunction
public class ExponentialReliabilityFunction extends SequentialFunction implements ReliabilityFunction
TheExponentialReliabilityFunction
represents the exponentialReliabilityFunction
R(x) = 1 - F(x) = e^-(alpha * x)
withalpha > 0
.Typical for this
ReliabilityFunction
is the constant failure-ratelambda
that equals the parameteralpha
.
-
-
Field Summary
Fields Modifier and Type Field Description protected double
alpha
The parameteralpha
corresponds to the failure-ratelambda
.
-
Constructor Summary
Constructors Constructor Description ExponentialReliabilityFunction(double alpha)
Constructs anExponentialReliabilityFunction
with a givenalpha
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAlpha()
Thealpha
parameter.double
getY(double x)
Returns they
value fory = f(x)
.-
Methods inherited from class org.jreliability.function.SequentialFunction
getY
-
-
-
-
Constructor Detail
-
ExponentialReliabilityFunction
public ExponentialReliabilityFunction(double alpha)
Constructs anExponentialReliabilityFunction
with a givenalpha
.- Parameters:
alpha
- the alpha value
-
-
Method Detail
-
getY
public double getY(double x)
Description copied from interface:Function
Returns they
value fory = f(x)
.
-
getAlpha
public double getAlpha()
Thealpha
parameter.- Returns:
- the alpha value
-
-