C# 클래스 SwarmOps.Problems.Mangler

Search-space mangler, used to increase the difficulty of optimizing benchmark problems and avoid correlation with global optima such as zero. Note that this works with parallel optimizers but not with parallel meta-optimization because of the way MetaFitness is implemented.
상속: ProblemWrapper
파일 보기 프로젝트 열기: DanWBR/dwsim3

공개 메소드들

메소드 설명
BeginOptimizationRun ( ) : void

At beginning of new optimization run create a random mangling.

Fitness ( double parameters, double fitnessLimit, bool oldFeasible, bool newFeasible ) : double

Compute fitness of wrapped problem and print the result.

Gradient ( double x, double &v ) : int

Compute the gradient of the fitness-function. This is not defined for mangled search-spaces.

Mangler ( Problem problem, double diffusion, double displacement, double spillover, double fitnessNoise ) : System

Constructs a new object.

메소드 상세

BeginOptimizationRun() 공개 메소드

At beginning of new optimization run create a random mangling.
public BeginOptimizationRun ( ) : void
리턴 void

Fitness() 공개 메소드

Compute fitness of wrapped problem and print the result.
public Fitness ( double parameters, double fitnessLimit, bool oldFeasible, bool newFeasible ) : double
parameters double
fitnessLimit double
oldFeasible bool
newFeasible bool
리턴 double

Gradient() 공개 메소드

Compute the gradient of the fitness-function. This is not defined for mangled search-spaces.
public Gradient ( double x, double &v ) : int
x double Candidate solution.
v double Array for holding the gradient.
리턴 int

Mangler() 공개 메소드

Constructs a new object.
public Mangler ( Problem problem, double diffusion, double displacement, double spillover, double fitnessNoise ) : System
problem Problem The problem being wrapped.
diffusion double Diffusion factor, larger than 0, e.g. 0.01
displacement double Displacement factor, larger than 0, e.g. 0.1
spillover double Spillover factor, larger than 0, e.g. 0.05
fitnessNoise double FitnessNoise factor, lager than 0, e.g. 0.01
리턴 System