C# Class SwarmOps.Optimizers.PSO

Particle Swarm Optimization (PSO) originally due to Eberhart et al. (1, 2). This is a 'plain vanilla' variant which can have its parameters tuned (or meta-optimized) to work well on a range of optimization problems. Generally, however, the DE optimizer has been found to work better.
References: (1) J. Kennedy and R. Eberhart. Particle swarm optimization. In Proceedings of IEEE International Conference on Neural Networks, volume IV, pages 1942-1948, Perth, Australia, 1995 (2) Y. Shi and R.C. Eberhart. A modified particle swarm optimizer. In Proceedings of the IEEE International Conference on Evolutionary Computation, pages 69-73, Anchorage, AK, USA, 1998.
Inheritance: Optimizer
ファイルを表示 Open project: DanWBR/dwsim3

Public Methods

Method Description
GetNumAgents ( double parameters ) : int

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

GetOmega ( double parameters ) : double

Get parameter, Omega.

GetPhiG ( double parameters ) : double

Get parameter, PhiG.

GetPhiP ( double parameters ) : double

Get parameter, PhiP.

Optimize ( double parameters ) : Result

Perform one optimization run and return the best found solution.

PSO ( ) : System.Diagnostics

Construct the object.

PSO ( Problem problem ) : System.Diagnostics

Construct the object.

Method Details

GetNumAgents() public method

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

GetOmega() public method

Get parameter, Omega.
public GetOmega ( double parameters ) : double
parameters double Optimizer parameters.
return double

GetPhiG() public method

Get parameter, PhiG.
public GetPhiG ( double parameters ) : double
parameters double Optimizer parameters.
return double

GetPhiP() public method

Get parameter, PhiP.
public GetPhiP ( double parameters ) : double
parameters double Optimizer parameters.
return double

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

PSO() public method

Construct the object.
public PSO ( ) : System.Diagnostics
return System.Diagnostics

PSO() public method

Construct the object.
public PSO ( Problem problem ) : System.Diagnostics
problem Problem Problem to optimize.
return System.Diagnostics