Interface Minimizer<F extends Function<S,​?>,​S>

  • Type Parameters:
    F - The type of the function
    S - The type of the start position for the minimization
    All Known Subinterfaces:
    MinimizerWithGradient<F,​G,​S>, ScalarMinimizer
    All Known Implementing Classes:
    GoldenSectionMinimizer1D

    public interface Minimizer<F extends Function<S,​?>,​S>
    Interface that finds the minimum value of a function. The function must be one-dimensional but the input type is not constrained
    • Method Detail

      • minimize

        S minimize​(F function,
                   S startPosition)
        Parameters:
        function - The function to be minimized, not null
        startPosition - The start position
        Returns:
        The minimum