![]() |
IGradientOptimizationMethod Interface |
Namespace: Accord.Math.Optimization
public interface IGradientOptimizationMethod : IOptimizationMethod, IOptimizationMethod<double[], double>, IGradientOptimizationMethod<double[], double>, IFunctionOptimizationMethod<double[], double>
The IGradientOptimizationMethod type exposes the following members.
Name | Description | |
---|---|---|
![]() | Function |
Gets or sets the function to be optimized.
(Inherited from IFunctionOptimizationMethod<TInput, TOutput>.) |
![]() | Gradient |
Gets or sets a function returning the gradient
vector of the function to be optimized for a
given value of its free parameters.
(Inherited from IGradientOptimizationMethod<TInput, TOutput>.) |
![]() | NumberOfVariables |
Gets the number of variables (free parameters)
in the optimization problem.
(Inherited from IOptimizationMethod<TInput, TOutput>.) |
![]() | Solution |
Gets the current solution found, the values of
the parameters which optimizes the function.
(Inherited from IOptimizationMethod<TInput, TOutput>.) |
![]() | Value |
Gets the output of the function at the current Solution.
(Inherited from IOptimizationMethod<TInput, TOutput>.) |
Name | Description | |
---|---|---|
![]() | Maximize |
Finds the maximum value of a function. The solution vector
will be made available at the Solution property.
(Inherited from IOptimizationMethod<TInput, TOutput>.) |
![]() | Minimize |
Finds the minimum value of a function. The solution vector
will be made available at the Solution property.
(Inherited from IOptimizationMethod<TInput, TOutput>.) |