Package org.jreliability.function.common
Class ExponentialFailureFunction
- java.lang.Object
-
- org.jreliability.function.SequentialFunction
-
- org.jreliability.function.common.ExponentialReliabilityFunction
-
- org.jreliability.function.common.ExponentialFailureFunction
-
- All Implemented Interfaces:
Function
,ReliabilityFunction
public class ExponentialFailureFunction extends ExponentialReliabilityFunction
TheExponentialFailureFunction
represents the exponential behavior of cumulative failure probability
F(x) = 1 - e^-(alpha * x)
of a failure caused with a fixed rate/probability of occurrencealpha > 0
.
-
-
Field Summary
-
Fields inherited from class org.jreliability.function.common.ExponentialReliabilityFunction
alpha
-
-
Constructor Summary
Constructors Constructor Description ExponentialFailureFunction(double alpha)
-
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.common.ExponentialReliabilityFunction
getAlpha
-
Methods inherited from class org.jreliability.function.SequentialFunction
getY
-
-
-
-
Method Detail
-
getY
public double getY(double x)
Description copied from interface:Function
Returns they
value fory = f(x)
.- Specified by:
getY
in interfaceFunction
- Overrides:
getY
in classExponentialReliabilityFunction
- Parameters:
x
- represents time t at which the failure probability is acquired.- Returns:
- y failure probability at time t
-
-