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

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

공개 메소드들

메소드 설명
Maximize ( ) : bool

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

Maximize ( double values ) : bool

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

Minimize ( ) : bool

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

Minimize ( double values ) : bool

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

보호된 메소드들

메소드 설명
ArgumentException ( string paramName, string message, string code ) : ArgumentOutOfRangeException

Creates an exception with a given inner optimization algorithm code (for debugging purposes).

BaseOptimizationMethod ( NonlinearObjectiveFunction function ) : System

Initializes a new instance of the BaseOptimizationMethod class.

BaseOptimizationMethod ( int numberOfVariables ) : System

Initializes a new instance of the BaseOptimizationMethod class.

BaseOptimizationMethod ( int numberOfVariables, double>.Func function ) : System

Initializes a new instance of the BaseOptimizationMethod class.

OperationException ( string message, string code ) : InvalidOperationException

Creates an exception with a given inner optimization algorithm code (for debugging purposes).

Optimize ( ) : bool

Implements the actual optimization algorithm. This method should try to minimize the objective function.

비공개 메소드들

메소드 설명
init ( int numberOfVariables ) : void

메소드 상세

ArgumentException() 보호된 정적인 메소드

Creates an exception with a given inner optimization algorithm code (for debugging purposes).
protected static ArgumentException ( string paramName, string message, string code ) : ArgumentOutOfRangeException
paramName string
message string
code string
리턴 System.ArgumentOutOfRangeException

BaseOptimizationMethod() 보호된 메소드

Initializes a new instance of the BaseOptimizationMethod class.
protected BaseOptimizationMethod ( NonlinearObjectiveFunction function ) : System
function NonlinearObjectiveFunction The objective function whose optimum values should be found.
리턴 System

BaseOptimizationMethod() 보호된 메소드

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

BaseOptimizationMethod() 보호된 메소드

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

Maximize() 공개 메소드

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

Maximize() 공개 메소드

Finds the maximum value of a function. The solution vector will be made available at the Solution property.
public Maximize ( double values ) : bool
values double The initial solution vector to start the search.
리턴 bool

Minimize() 공개 메소드

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

Minimize() 공개 메소드

Finds the minimum value of a function. The solution vector will be made available at the Solution property.
public Minimize ( double values ) : bool
values double The initial solution vector to start the search.
리턴 bool

OperationException() 보호된 정적인 메소드

Creates an exception with a given inner optimization algorithm code (for debugging purposes).
protected static OperationException ( string message, string code ) : InvalidOperationException
message string
code string
리턴 System.InvalidOperationException

Optimize() 보호된 추상적인 메소드

Implements the actual optimization algorithm. This method should try to minimize the objective function.
protected abstract Optimize ( ) : bool
리턴 bool