Package org.jreliability.gui.aspect
Class DensityAspect
java.lang.Object
org.jreliability.gui.aspect.AbstractAspect
org.jreliability.gui.aspect.DensityAspect
- All Implemented Interfaces:
Aspect
The
DensityAspect
represents the density of a
ReliabilityFunction
.-
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
-
DensityAspect
public DensityAspect()Constructs aDensityAspect
.
-
-
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
-