Class ConstantReliabilityFunction

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected double successProbability  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getY​(double x)
      Returns the y value for y = f(x).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.jreliability.function.Function

        getY
    • Field Detail

      • successProbability

        protected final double successProbability
    • Constructor Detail

      • ConstantReliabilityFunction

        public ConstantReliabilityFunction​(double successProbability)
    • Method Detail

      • 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)