Package org.jreliability.function.common
Class SerialReliabilityFunction
- java.lang.Object
-
- org.jreliability.function.ReliabilityFunctionSet
-
- org.jreliability.function.common.SerialReliabilityFunction
-
- All Implemented Interfaces:
Function
,ReliabilityFunction
public class SerialReliabilityFunction extends ReliabilityFunctionSet
TheSerialReliabilityFunction
corresponds to a serial-structure of elements in a system as known from Serial-Parallel systems. Basically, theSerialReliabilityFunction
holds a set ofReliabilityFunction
s and multiplies theiry
-values to derive they
-value of the whole serial-structure.
-
-
Field Summary
-
Fields inherited from class org.jreliability.function.ReliabilityFunctionSet
functions
-
-
Constructor Summary
Constructors Constructor Description SerialReliabilityFunction()
Constructs aSerialReliabilityFunction
.SerialReliabilityFunction(java.util.Set<ReliabilityFunction> functions)
Constructs aSerialReliabilityFunction
with a given set ofReliabilityFunction
s.
-
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.ReliabilityFunctionSet
add, getFunctions, getY
-
-
-
-
Constructor Detail
-
SerialReliabilityFunction
public SerialReliabilityFunction()
Constructs aSerialReliabilityFunction
.
-
SerialReliabilityFunction
public SerialReliabilityFunction(java.util.Set<ReliabilityFunction> functions)
Constructs aSerialReliabilityFunction
with a given set ofReliabilityFunction
s.- Parameters:
functions
- the reliability functions
-
-
Method Detail
-
getY
public double getY(double x)
Description copied from interface:Function
Returns they
value fory = f(x)
.- Parameters:
x
- the x value- Returns:
- the y for y = f(x)
-
-