Package org.jreliability.function.common
Class ParallelReliabilityFunction
- java.lang.Object
-
- org.jreliability.function.ReliabilityFunctionSet
-
- org.jreliability.function.common.ParallelReliabilityFunction
-
- All Implemented Interfaces:
Function
,ReliabilityFunction
public class ParallelReliabilityFunction extends ReliabilityFunctionSet
TheParallelReliabilityFunction
corresponds to a parallel-structure of elements in a system as known from Serial-Parallel systems. Basically, theParallelReliabilityFunction
holds a set ofReliabilityFunction
s and multiplies their(1-y)
-values and calculates the counter probability to derive they
-value of the whole parallel-structure.
-
-
Field Summary
-
Fields inherited from class org.jreliability.function.ReliabilityFunctionSet
functions
-
-
Constructor Summary
Constructors Constructor Description ParallelReliabilityFunction()
Constructs aParallelReliabilityFunction
.ParallelReliabilityFunction(java.util.Set<ReliabilityFunction> functions)
Constructs aParallelReliabilityFunction
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
-
ParallelReliabilityFunction
public ParallelReliabilityFunction()
Constructs aParallelReliabilityFunction
.
-
ParallelReliabilityFunction
public ParallelReliabilityFunction(java.util.Set<ReliabilityFunction> functions)
Constructs aParallelReliabilityFunction
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)
-
-