Class WeibullReliabilityFunction

java.lang.Object
org.jreliability.function.SequentialFunction
org.jreliability.function.common.WeibullReliabilityFunction
All Implemented Interfaces:
Function, ReliabilityFunction

public class WeibullReliabilityFunction extends SequentialFunction implements ReliabilityFunction
The WeibullReliabilityFunction represents the 2-parameter Weibull reliability function

R(x) = 1 - F(x) = e^-((x / nu)^beta)) = e^-((alpha * x)^beta))}
with alpha, beta > 0.

While the parameter alpha = 1 / nu scales the ReliabilityFunction and, thus, somehow corresponds to the failure-rate lambda, the beta parameter determines the shape of the ReliabilityFunction.

  • Field Details

    • alpha

      protected final double alpha
      The alpha parameter somehow resembles the failure-rate lambda.
    • beta

      protected final double beta
      The used shape of the WeibullReliabilityFunction.
  • Constructor Details

    • WeibullReliabilityFunction

      public WeibullReliabilityFunction(double alpha, double beta)
      Constructs a WeibullReliabilityFunction with a given alpha and beta.
      Parameters:
      alpha - the scale value
      beta - the shape 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)