Class ObjectiveFunction

java.lang.Object
org.hipparchus.optim.nonlinear.scalar.ObjectiveFunction
All Implemented Interfaces:
OptimizationData

public class ObjectiveFunction extends Object implements OptimizationData
Scalar function to be optimized.
  • Constructor Details

    • ObjectiveFunction

      public ObjectiveFunction(MultivariateFunction f)
      Simple constructor.
      Parameters:
      f - Function to be optimized.
  • Method Details

    • getObjectiveFunction

      public MultivariateFunction getObjectiveFunction()
      Gets the function to be optimized.
      Returns:
      the objective function.