C# Class SwarmOps.Problems.SphereSleep

Sphere benchmark problem with thread-sleeping to simulate a time-consuming problem.
Inheritance: Sphere
Datei anzeigen Open project: DanWBR/dwsim3

Public Methods

Method Description
Fitness ( double x ) : double

Compute and return fitness for the given parameters.

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

Construct the object.

Method Details

Fitness() public method

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

SphereSleep() public method

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