C# 클래스 Accord.Math.Optimization.BaseGradientOptimizationMethod

Base class for gradient-based optimization methods.
상속: BaseOptimizationMethod
파일 보기 프로젝트 열기: accord-net/framework

공개 메소드들

메소드 설명
Maximize ( ) : bool

Finds the maximum value of a function. The solution vector will be made available at the IOptimizationMethod.Solution property.

Minimize ( ) : bool

Finds the minimum value of a function. The solution vector will be made available at the IOptimizationMethod.Solution property.

보호된 메소드들

메소드 설명
BaseGradientOptimizationMethod ( int numberOfVariables ) : System

Initializes a new instance of the BaseGradientOptimizationMethod class.

BaseGradientOptimizationMethod ( int numberOfVariables, double>.Func function, double[]>.Func gradient ) : System

Initializes a new instance of the BaseGradientOptimizationMethod class.

메소드 상세

BaseGradientOptimizationMethod() 보호된 메소드

Initializes a new instance of the BaseGradientOptimizationMethod class.
protected BaseGradientOptimizationMethod ( int numberOfVariables ) : System
numberOfVariables int The number of free parameters in the optimization problem.
리턴 System

BaseGradientOptimizationMethod() 보호된 메소드

Initializes a new instance of the BaseGradientOptimizationMethod class.
protected BaseGradientOptimizationMethod ( int numberOfVariables, double>.Func function, double[]>.Func gradient ) : System
numberOfVariables int The number of free parameters in the optimization problem.
function double>.Func The objective function whose optimum values should be found.
gradient double[]>.Func The gradient of the objective .
리턴 System

Maximize() 공개 메소드

Finds the maximum value of a function. The solution vector will be made available at the IOptimizationMethod.Solution property.
public Maximize ( ) : bool
리턴 bool

Minimize() 공개 메소드

Finds the minimum value of a function. The solution vector will be made available at the IOptimizationMethod.Solution property.
public Minimize ( ) : bool
리턴 bool