C# Класс SwarmOps.Optimizers.Parallel.DESuite

Parallel version of DESuite which computes the fitness of its agents in parallel. Assumes the fitness function is thread-safe. Should only be used with very time-consuming optimization problems otherwise basic DESuite will execute faster because of less overhead.
Наследование: SwarmOps.Optimizers.DESuite
Показать файл Открыть проект

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

Метод Описание
DESuite ( DECrossover crossover, DitherVariant dither ) : System.Diagnostics

Construct the object.

DESuite ( Problem problem, DECrossover crossover, DitherVariant dither ) : System.Diagnostics

Construct the object.

DESuite ( int numAgentsMultiple, DECrossover crossover, DitherVariant dither ) : System.Diagnostics

Construct the object.

DESuite ( int numAgentsMultiple, Problem problem, DECrossover crossover, DitherVariant dither ) : System.Diagnostics

Construct the object.

GetNumAgents ( double parameters ) : int

Get parameter, Number of agents, aka. population size.

Optimize ( double parameters ) : Result

Perform one optimization run and return the best found solution.

Описание методов

DESuite() публичный Метод

Construct the object.
public DESuite ( DECrossover crossover, DitherVariant dither ) : System.Diagnostics
crossover DECrossover Crossover variant to be used.
dither DitherVariant Dither variant to be used.
Результат System.Diagnostics

DESuite() публичный Метод

Construct the object.
public DESuite ( Problem problem, DECrossover crossover, DitherVariant dither ) : System.Diagnostics
problem Problem Problem to optimize.
crossover DECrossover Crossover variant to be used.
dither DitherVariant Dither variant to be used.
Результат System.Diagnostics

DESuite() публичный Метод

Construct the object.
public DESuite ( int numAgentsMultiple, DECrossover crossover, DitherVariant dither ) : System.Diagnostics
numAgentsMultiple int Population size multiple, e.g. 4 ensures populations are sized 4, 8, 12, 16, ...
crossover DECrossover Crossover variant to be used.
dither DitherVariant Dither variant to be used.
Результат System.Diagnostics

DESuite() публичный Метод

Construct the object.
public DESuite ( int numAgentsMultiple, Problem problem, DECrossover crossover, DitherVariant dither ) : System.Diagnostics
numAgentsMultiple int Population size multiple, e.g. 4 ensures populations are sized 4, 8, 12, 16, ...
problem Problem Problem to optimize.
crossover DECrossover Crossover variant to be used.
dither DitherVariant Dither variant to be used.
Результат System.Diagnostics

GetNumAgents() публичный Метод

Get parameter, Number of agents, aka. population size.
public GetNumAgents ( double parameters ) : int
parameters double Optimizer parameters.
Результат int

Optimize() публичный Метод

Perform one optimization run and return the best found solution.
public Optimize ( double parameters ) : Result
parameters double Control parameters for the optimizer.
Результат Result