Package org.jreliability.gui.aspect
Class ReliabilityFunctionAspect
- java.lang.Object
-
- org.jreliability.gui.aspect.AbstractAspect
-
- org.jreliability.gui.aspect.ReliabilityFunctionAspect
-
- All Implemented Interfaces:
Aspect
public class ReliabilityFunctionAspect extends AbstractAspect
TheReliabilityFunctionAspect
plots theReliabilityFunction
itself.
-
-
Field Summary
-
Fields inherited from class org.jreliability.gui.aspect.AbstractAspect
lower, name, xAxis, yAxis
-
-
Constructor Summary
Constructors Constructor Description ReliabilityFunctionAspect()
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
-
ReliabilityFunctionAspect
public ReliabilityFunctionAspect()
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
-
-