Package org.jreliability.function.common
Class SerialReliabilityFunction
java.lang.Object
org.jreliability.function.ReliabilityFunctionSet
org.jreliability.function.common.SerialReliabilityFunction
- All Implemented Interfaces:
Function,ReliabilityFunction
The
SerialReliabilityFunction corresponds to a serial-structure of
elements in a system as known from Serial-Parallel systems. Basically, the
SerialReliabilityFunction holds a set of ReliabilityFunctions
and multiplies their y-values to derive the y-value of the
whole serial-structure.-
Field Summary
Fields inherited from class org.jreliability.function.ReliabilityFunctionSet
functions -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aSerialReliabilityFunction.SerialReliabilityFunction(Set<ReliabilityFunction> functions) Constructs aSerialReliabilityFunctionwith a given set ofReliabilityFunctions. -
Method Summary
Methods inherited from class org.jreliability.function.ReliabilityFunctionSet
add, getFunctions, getY
-
Constructor Details
-
SerialReliabilityFunction
public SerialReliabilityFunction()Constructs aSerialReliabilityFunction. -
SerialReliabilityFunction
Constructs aSerialReliabilityFunctionwith a given set ofReliabilityFunctions.- Parameters:
functions- the reliability functions
-
-
Method Details
-
getY
public double getY(double x) Description copied from interface:FunctionReturns theyvalue fory = f(x).- Parameters:
x- the x value- Returns:
- the y for y = f(x)
-