C# Class SwarmOps.RepeatMin

Performs a number of optimization runs and returns the minimum fitness found. Respects feasibility (constraint satisfaction.) This does NOT allow for Preemptive Fitness Evaluation!
Inheritance: Repeat
ファイルを表示 Open project: DanWBR/dwsim3

Public Methods

Method Description
Fitness ( double parameters, double fitnessLimit ) : double

Compute the fitness by repeating a number of optimization runs and taking the best fitness achieved in any one of these runs.

RepeatMin ( Optimizer optimizer, int numRuns )

Construct the object.

Method Details

Fitness() public method

Compute the fitness by repeating a number of optimization runs and taking the best fitness achieved in any one of these runs.
public Fitness ( double parameters, double fitnessLimit ) : double
parameters double Parameters to use for the Optimizer.
fitnessLimit double Preemptive Fitness Limit
return double

RepeatMin() public method

Construct the object.
public RepeatMin ( Optimizer optimizer, int numRuns )
optimizer Optimizer Optimizer to use.
numRuns int Number of optimization runs to perform.