Class ConstantReliabilityFunction

    • Field Summary

      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

    • 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
        x - the x value
        the y for y = f(x)