C# Class SwarmOps.Problems.SphereSleep

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

Méthodes publiques

Méthode 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 méthode

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

SphereSleep() public méthode

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.
Résultat System.Diagnostics