C# 클래스 SwarmOps.Optimizers.Parallel.PSO

Parallel version of PSO 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 PSO will execute faster because of less overhead.
상속: Optimizer
파일 보기 프로젝트 열기: DanWBR/dwsim3

공개 메소드들

메소드 설명
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.

PSO ( int numAgentsMultiple ) : System.Diagnostics

Construct the object.

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

Construct the object.

메소드 상세

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

GetPhiG() 공개 메소드

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

GetPhiP() 공개 메소드

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

Optimize() 공개 메소드

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

PSO() 공개 메소드

Construct the object.
public PSO ( ) : System.Diagnostics
리턴 System.Diagnostics

PSO() 공개 메소드

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

PSO() 공개 메소드

Construct the object.
public PSO ( int numAgentsMultiple ) : System.Diagnostics
numAgentsMultiple int Population size multiple, e.g. 4 ensures populations are sized 4, 8, 12, 16, ...
리턴 System.Diagnostics

PSO() 공개 메소드

Construct the object.
public PSO ( 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