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
Показать файл Открыть проект

Открытые методы

Метод Описание
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