Class ExponentialReliabilityFunction

java.lang.Object
org.jreliability.function.SequentialFunction
org.jreliability.function.common.ExponentialReliabilityFunction
All Implemented Interfaces:
Function, ReliabilityFunction
Direct Known Subclasses:
ExponentialFailureFunction

public class ExponentialReliabilityFunction extends SequentialFunction implements ReliabilityFunction
The ExponentialReliabilityFunction represents the exponential ReliabilityFunction
R(x) = 1 - F(x) = e^-(alpha * x)
with alpha > 0.

Typical for this ReliabilityFunction is the constant failure-rate lambda that equals the parameter alpha.

  • Field Details

    • alpha

      protected final double alpha
      The parameter alpha corresponds to the failure-rate lambda.
  • Constructor Details

    • ExponentialReliabilityFunction

      public ExponentialReliabilityFunction(double alpha)
      Constructs an ExponentialReliabilityFunction with a given alpha.
      Parameters:
      alpha - the alpha value
  • Method Details

    • getY

      public double getY(double x)
      Description copied from interface: Function
      Returns the y value for y = f(x).
      Specified by:
      getY in interface Function
      Parameters:
      x - the x value
      Returns:
      the y for y = f(x)
    • getAlpha

      public double getAlpha()
      The alpha parameter.
      Returns:
      the alpha value