Interface MultiDimensionFunctionEvaluatorListener


public interface MultiDimensionFunctionEvaluatorListener
Interface to define how multi dimension functions can be evaluated. This interface is used in several algorithms to provide methods to evaluate functions and retrieve their minima/maxima, etc.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    evaluate(double[] point)
    Evaluates a multi dimension function such as f([x1, x2, ..., xn]) at provided multidimensional point and returns the result as a scalar value.
  • Method Details

    • evaluate

      double evaluate(double[] point) throws EvaluationException
      Evaluates a multi dimension function such as f([x1, x2, ..., xn]) at provided multidimensional point and returns the result as a scalar value.
      Parameters:
      point - Multidimensional point where function will be evaluated. This must be an array of length equal to the dimensionality of the function.
      Returns:
      Value returned by the function.
      Throws:
      EvaluationException - Raised if something failed during the evaluation.