Class SLReliabilityFunction<T>

    • Constructor Detail

      • SLReliabilityFunction

        public SLReliabilityFunction​(SL<T> stochasticLogic,
                                     org.apache.commons.collections15.Transformer<T,​ReliabilityFunction> functionTransformer)
        Constructs a SLReliabilityFunction with a given SL and Transformer.
        Parameters:
        stochasticLogic - the stochastic logic representing the reliabilityFunction
        functionTransformer - the functionTransformer to transform stochastic logic elements to reliabilityFunction
    • 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)