C# Class 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.
Inheritance: Optimizer
Afficher le fichier Open project: DanWBR/dwsim3

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

GetNumIterationsPerDim() public méthode

Get parameter, Number of iterations per dimension.
public GetNumIterationsPerDim ( double parameters ) : int
parameters double Optimizer parameters.
Résultat int

MESH() public méthode

Construct the object.
public MESH ( ) : System.Diagnostics
Résultat System.Diagnostics

MESH() public méthode

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

Optimize() public méthode

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