Package org.jreliability.function
Class UnreliabilityFunction
- java.lang.Object
-
- org.jreliability.function.SequentialFunction
-
- org.jreliability.function.UnreliabilityFunction
-
- All Implemented Interfaces:
Function
public class UnreliabilityFunction extends SequentialFunction
TheUnreliabilityFunction
determines theUnreliabilityFunction
F(x)
of a givenReliabilityFunction
R(x)
asF(x) = 1 - R(x)
.
-
-
Field Summary
Fields Modifier and Type Field Description protected ReliabilityFunction
reliabilityFunction
TheReliabilityFunction
for which theUnreliabilityFunction
is to determine.
-
Constructor Summary
Constructors Constructor Description UnreliabilityFunction(ReliabilityFunction reliabilityFunction)
Constructs aUnreliabilityFunction
with a givenReliabilityFunction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getY(double x)
Returns they
value fory = F(x) = 1 - R(x)
.-
Methods inherited from class org.jreliability.function.SequentialFunction
getY
-
-
-
-
Field Detail
-
reliabilityFunction
protected final ReliabilityFunction reliabilityFunction
TheReliabilityFunction
for which theUnreliabilityFunction
is to determine.
-
-
Constructor Detail
-
UnreliabilityFunction
public UnreliabilityFunction(ReliabilityFunction reliabilityFunction)
Constructs aUnreliabilityFunction
with a givenReliabilityFunction
.- Parameters:
reliabilityFunction
- the reliability reliabilityFunction
-
-