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 Summary
Constructors Constructor Description ObjectiveFunction(MultivariateFunction f)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultivariateFunction
getObjectiveFunction()
Gets the function to be optimized.
-
-
-
Constructor Detail
-
ObjectiveFunction
public ObjectiveFunction(MultivariateFunction f)
- Parameters:
f
- Function to be optimized.
-
-
Method Detail
-
getObjectiveFunction
public MultivariateFunction getObjectiveFunction()
Gets the function to be optimized.- Returns:
- the objective function.
-
-