Package org.jreliability.function
Class FailureRate
- java.lang.Object
-
- org.jreliability.function.FailureRate
-
public class FailureRate extends java.lang.Object
TheFailureRate
determines the failure ratelambda
of a givenReliabilityFunction
and is defined aslambda(x) = f(x) / R(x)
.
-
-
Field Summary
Fields Modifier and Type Field Description protected DensityFunction
densityFunction
The usedDensityFunction
to determinef(x)
.protected ReliabilityFunction
reliabilityFunction
TheReliabilityFunction
for which theFailureRate
is to determine.
-
Constructor Summary
Constructors Constructor Description FailureRate(ReliabilityFunction reliabilityFunction)
Constructs aFailureRate
with a givenReliabilityFunction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getY(double x)
-
-
-
Field Detail
-
reliabilityFunction
protected final ReliabilityFunction reliabilityFunction
TheReliabilityFunction
for which theFailureRate
is to determine.
-
densityFunction
protected final DensityFunction densityFunction
The usedDensityFunction
to determinef(x)
.
-
-
Constructor Detail
-
FailureRate
public FailureRate(ReliabilityFunction reliabilityFunction)
Constructs aFailureRate
with a givenReliabilityFunction
.- Parameters:
reliabilityFunction
- the reliabilityFunction
-
-