Class DensityAspect

java.lang.Object
org.jreliability.gui.aspect.AbstractAspect
org.jreliability.gui.aspect.DensityAspect
All Implemented Interfaces:
Aspect

public class DensityAspect extends AbstractAspect
The DensityAspect represents the density of a ReliabilityFunction.
  • Constructor Details

    • DensityAspect

      public DensityAspect()
      Constructs a DensityAspect.
  • Method Details

    • getUpper

      public double getUpper(ReliabilityFunction reliabilityFunction)
      Description copied from interface: Aspect
      Returns the upper bound of the ReliabilityFunction under the current Aspect.
      Parameters:
      reliabilityFunction - the reliabilityFunction
      Returns:
      the upper bound of the reliabilityFunction
    • getY

      public Double getY(double x, ReliabilityFunction reliabilityFunction)
      Description copied from interface: Aspect
      Returns the y-value for the ReliabilityFunction y = R(x) under the current Aspect.
      Parameters:
      x - the x-value
      reliabilityFunction - the reliabilityFunction
      Returns:
      the y-value for the reliabilityFunction y = R(x) under the current aspect