C# 클래스 SwarmOps.Optimizers.MESH

Optimizer that iterates over all possible combinations of parameters fitting a mesh of a certain size. This is particularly useful for displaying performance landscapes from meta-optimization, relating choices of control parameters to the performance of the optimizer.
상속: Optimizer
파일 보기 프로젝트 열기: DanWBR/dwsim3

공개 메소드들

메소드 설명
GetNumIterationsPerDim ( double parameters ) : int

Get parameter, Number of iterations per dimension.

MESH ( ) : System.Diagnostics

Construct the object.

MESH ( double mask, Problem problem ) : System.Diagnostics

Construct the object.

Optimize ( double parameters ) : Result

Perform one optimization run and return the best found solution.

비공개 메소드들

메소드 설명
Recursive ( int curDim, int numIterationsPerDim, double delta, double &x, double &g, double &gFitness, bool &gFeasible ) : void

Helper function for recursive traversal of the mesh in a depth-first order.

RecursiveInner ( int curDim, int numIterationsPerDim, double delta, double &x, double &g, double &gFitness, bool &gFeasible ) : void

Helper function for recursive traversal of the mesh in a depth-first order.

메소드 상세

GetNumIterationsPerDim() 공개 메소드

Get parameter, Number of iterations per dimension.
public GetNumIterationsPerDim ( double parameters ) : int
parameters double Optimizer parameters.
리턴 int

MESH() 공개 메소드

Construct the object.
public MESH ( ) : System.Diagnostics
리턴 System.Diagnostics

MESH() 공개 메소드

Construct the object.
public MESH ( double mask, Problem problem ) : System.Diagnostics
mask double Fix certain parameters or leave null.
problem Problem Problem to optimize.
리턴 System.Diagnostics

Optimize() 공개 메소드

Perform one optimization run and return the best found solution.
public Optimize ( double parameters ) : Result
parameters double Control parameters for the optimizer.
리턴 Result