Package org.jreliability.gui.aspect
Class ReliabilityFunctionAspect
java.lang.Object
org.jreliability.gui.aspect.AbstractAspect
org.jreliability.gui.aspect.ReliabilityFunctionAspect
- All Implemented Interfaces:
Aspect
The
ReliabilityFunctionAspect
plots the ReliabilityFunction
itself.-
Field Summary
Fields inherited from class org.jreliability.gui.aspect.AbstractAspect
lower, name, xAxis, yAxis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
getUpper
(ReliabilityFunction reliabilityFunction) Returns the upper bound of theReliabilityFunction
under the currentAspect
.getY
(double x, ReliabilityFunction reliabilityFunction) Methods inherited from class org.jreliability.gui.aspect.AbstractAspect
getLower, getName, getXAxis, getYAxis
-
Constructor Details
-
ReliabilityFunctionAspect
public ReliabilityFunctionAspect()Constructs aUnreliabilityFunctionAspect
.
-
-
Method Details
-
getUpper
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
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
-