C# 클래스 SwarmOps.Problems.SphereSleep

Sphere benchmark problem with thread-sleeping to simulate a time-consuming problem.
상속: Sphere
파일 보기 프로젝트 열기: DanWBR/dwsim3

공개 메소드들

메소드 설명
Fitness ( double x ) : double

Compute and return fitness for the given parameters.

SphereSleep ( int sleepMilliSeconds, int dimensionality, int maxIterations ) : System.Diagnostics

Construct the object.

메소드 상세

Fitness() 공개 메소드

Compute and return fitness for the given parameters.
public Fitness ( double x ) : double
x double Candidate solution.
리턴 double

SphereSleep() 공개 메소드

Construct the object.
public SphereSleep ( int sleepMilliSeconds, int dimensionality, int maxIterations ) : System.Diagnostics
sleepMilliSeconds int
dimensionality int Dimensionality of the problem (e.g. 20)
maxIterations int Max optimization iterations to perform.
리턴 System.Diagnostics