Package org.jreliability.gui.aspect
Class UnreliabilityFunctionAspect
- java.lang.Object
-
- org.jreliability.gui.aspect.AbstractAspect
-
- org.jreliability.gui.aspect.UnreliabilityFunctionAspect
-
- All Implemented Interfaces:
Aspect
public class UnreliabilityFunctionAspect extends AbstractAspect
-
-
Field Summary
-
Fields inherited from class org.jreliability.gui.aspect.AbstractAspect
lower, name, xAxis, yAxis
-
-
Constructor Summary
Constructors Constructor Description UnreliabilityFunctionAspect()
Constructs aUnreliabilityFunctionAspect
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getUpper(ReliabilityFunction reliabilityFunction)
Returns the upper bound of theReliabilityFunction
under the currentAspect
.java.lang.Double
getY(double x, ReliabilityFunction reliabilityFunction)
-
Methods inherited from class org.jreliability.gui.aspect.AbstractAspect
getLower, getName, getXAxis, getYAxis
-
-
-
-
Constructor Detail
-
UnreliabilityFunctionAspect
public UnreliabilityFunctionAspect()
Constructs aUnreliabilityFunctionAspect
.
-
-
Method Detail
-
getUpper
public double getUpper(ReliabilityFunction reliabilityFunction)
Description copied from interface:Aspect
Returns the upper bound of theReliabilityFunction
under the currentAspect
.- Parameters:
reliabilityFunction
- the reliabilityFunction- Returns:
- the upper bound of the reliabilityFunction
-
getY
public java.lang.Double getY(double x, ReliabilityFunction reliabilityFunction)
Description copied from interface:Aspect
- Parameters:
x
- the x-valuereliabilityFunction
- the reliabilityFunction- Returns:
- the y-value for the reliabilityFunction y = R(x) under the current aspect
-
-