C# Class 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.
Inheritance: SwarmOps.Optimizers.DESuite
Datei anzeigen Open project: DanWBR/dwsim3

Public Methods

Method Description
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.

Method Details

DESuite() public method

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.
return System.Diagnostics

DESuite() public method

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.
return System.Diagnostics

DESuite() public method

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.
return System.Diagnostics

DESuite() public method

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.
return System.Diagnostics

GetNumAgents() public method

Get parameter, Number of agents, aka. population size.
public GetNumAgents ( double parameters ) : int
parameters double Optimizer parameters.
return int

Optimize() public method

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