C# 클래스 SwarmOps.Problems.Rosenbrock

Rosenbrock benchmark problem.
상속: Benchmark
파일 보기 프로젝트 열기: DanWBR/dwsim3 1 사용 예제들

공개 메소드들

메소드 설명
Fitness ( double x ) : double

Compute and return fitness for the given parameters.

Gradient ( double x, double &v ) : int

Compute the gradient of the fitness-function.

Rosenbrock ( int dimensionality, int maxIterations ) : System.Diagnostics

Construct the object.

메소드 상세

Fitness() 공개 메소드

Compute and return fitness for the given parameters.
public Fitness ( double x ) : double
x double Candidate solution.
리턴 double

Gradient() 공개 메소드

Compute the gradient of the fitness-function.
public Gradient ( double x, double &v ) : int
x double Candidate solution.
v double Array for holding the gradient.
리턴 int

Rosenbrock() 공개 메소드

Construct the object.
public Rosenbrock ( int dimensionality, int maxIterations ) : System.Diagnostics
dimensionality int Dimensionality of the problem (e.g. 20)
maxIterations int Max optimization iterations to perform.
리턴 System.Diagnostics