Class ConstantFailureFunction

    • Constructor Detail

      • ConstantFailureFunction

        public ConstantFailureFunction​(double failureProbability)
    • 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
        Overrides:
        getY in class ConstantReliabilityFunction
        Parameters:
        x - the x value
        Returns:
        the y for y = f(x)