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

Parallel version of MOL 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 MOL will execute faster because of less overhead.
Наследование: Optimizer
Показать файл Открыть проект

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

Метод Описание
GetNumAgents ( double parameters ) : int

Get parameter, Number of agents, aka. swarm-size.

GetOmega ( double parameters ) : double

Get parameter, Omega.

GetPhi ( double parameters ) : double

Get parameter, Phi.

MOL ( ) : System.Diagnostics

Construct the object.

MOL ( Problem problem ) : System.Diagnostics

Construct the object.

MOL ( int numAgentsMultiple ) : System.Diagnostics

Construct the object.

MOL ( int numAgentsMultiple, Problem problem ) : System.Diagnostics

Construct the object.

Optimize ( double parameters ) : Result

Perform one optimization run and return the best found solution.

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

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

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

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

Get parameter, Omega.
public GetOmega ( double parameters ) : double
parameters double Optimizer parameters.
Результат double

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

Get parameter, Phi.
public GetPhi ( double parameters ) : double
parameters double Optimizer parameters.
Результат double

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

Construct the object.
public MOL ( ) : System.Diagnostics
Результат System.Diagnostics

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

Construct the object.
public MOL ( Problem problem ) : System.Diagnostics
problem Problem Problem to optimize.
Результат System.Diagnostics

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

Construct the object.
public MOL ( int numAgentsMultiple ) : System.Diagnostics
numAgentsMultiple int Population size multiple, e.g. 4 ensures populations are sized 4, 8, 12, 16, ...
Результат System.Diagnostics

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

Construct the object.
public MOL ( int numAgentsMultiple, Problem problem ) : System.Diagnostics
numAgentsMultiple int Population size multiple, e.g. 4 ensures populations are sized 4, 8, 12, 16, etc.
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