Package org.jreliability.gui.aspect
Class DensityAspect
- java.lang.Object
-
- org.jreliability.gui.aspect.AbstractAspect
-
- org.jreliability.gui.aspect.DensityAspect
-
- All Implemented Interfaces:
Aspect
public class DensityAspect extends AbstractAspect
TheDensityAspect
represents the density of aReliabilityFunction
.
-
-
Field Summary
-
Fields inherited from class org.jreliability.gui.aspect.AbstractAspect
lower, name, xAxis, yAxis
-
-
Constructor Summary
Constructors Constructor Description DensityAspect()
Constructs aDensityAspect
.
-
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
-
DensityAspect
public DensityAspect()
Constructs aDensityAspect
.
-
-
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
-
-