C# Class SwarmOps.RepeatSum

Performs a number of optimization runs and returns the sum of the fitnesses. Ignores feasibility (constraint satisfaction.) This allows for Preemptive Fitness Evaluation.
Inheritance: Repeat
Afficher le fichier Open project: DanWBR/dwsim3 Class Usage Examples

Méthodes publiques

Méthode Description
Fitness ( double parameters, double fitnessLimit ) : double

Compute the fitness by repeating a number of optimization runs and sum the fitnesses achieved in the runs.

RepeatSum ( Optimizer optimizer, int numRuns ) : System.Diagnostics

Construct the object.

Method Details

Fitness() public méthode

Compute the fitness by repeating a number of optimization runs and sum the fitnesses achieved in the runs.
public Fitness ( double parameters, double fitnessLimit ) : double
parameters double Parameters to use for the Optimizer.
fitnessLimit double Preemptive Fitness Limit
Résultat double

RepeatSum() public méthode

Construct the object.
public RepeatSum ( Optimizer optimizer, int numRuns ) : System.Diagnostics
optimizer Optimizer Optimizer to use.
numRuns int Number of optimization runs to perform.
Résultat System.Diagnostics