C# Class SwarmOps.Optimizers.Parallel.MetaFitness

Parallel version of MetaFitness where parallelization is made on the optimization runs.
Inheritance: SwarmOps.Optimizers.MetaFitness
Exibir arquivo Open project: DanWBR/dwsim3

Public Methods

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

Compute the meta-fitness measure by passing the given parameters to the Optimizer, and perform optimization runs on the array of problems until the fitness compute exceeds the fitnessLimit.

MetaFitness ( Optimizer optimizer, Problem problems, int numRuns, int maxIterations ) : System.Diagnostics

Construct the object, un-weighted problems.

MetaFitness ( Optimizer optimizer, WeightedProblem weightedProblems, int numRuns, int maxIterations ) : System.Diagnostics

Construct the object, weighted problems.

Method Details

Fitness() public method

Compute the meta-fitness measure by passing the given parameters to the Optimizer, and perform optimization runs on the array of problems until the fitness compute exceeds the fitnessLimit.
public Fitness ( double parameters, double fitnessLimit ) : double
parameters double Parameters to use for the Optimizer.
fitnessLimit double Preemptive Fitness Limit
return double

MetaFitness() public method

Construct the object, un-weighted problems.
public MetaFitness ( Optimizer optimizer, Problem problems, int numRuns, int maxIterations ) : System.Diagnostics
optimizer Optimizer Optimize to be used.
problems Problem Array of problems to be optimized.
numRuns int Number of optimization runs per problem.
maxIterations int Max number of optimization iterations.
return System.Diagnostics

MetaFitness() public method

Construct the object, weighted problems.
public MetaFitness ( Optimizer optimizer, WeightedProblem weightedProblems, int numRuns, int maxIterations ) : System.Diagnostics
optimizer Optimizer Optimize to be used.
weightedProblems WeightedProblem Array of weighted problems to be optimized.
numRuns int Number of optimization runs per problem.
maxIterations int Max number of optimization iterations.
return System.Diagnostics