C# Class SwarmOps.Optimizers.DECrossover

Variants of crossover operator for Differential Evolution (DE), originally due to Storner and Price (1).
References: (1) R. Storn and K. Price. Differential evolution - a simple and efficient heuristic for global optimization over continuous spaces. Journal of Global Optimization, 11:341-359, 1997.
显示文件 Open project: DanWBR/dwsim3 Class Usage Examples

Public Methods

Method Description
DoCrossover ( Variant crossover, double CR, int n, double w, double x, double &y, double g, double agents, RandomOps randomSet ) : void

Perform DE crossover.

Name ( Variant variant ) : string

Name of DE crossover variant.

Method Details

DoCrossover() public static method

Perform DE crossover.
public static DoCrossover ( Variant crossover, double CR, int n, double w, double x, double &y, double g, double agents, RandomOps randomSet ) : void
crossover Variant Crossover variant to be performed.
CR double Crossover probability.
n int Dimensionality for problem.
w double Differential weight (vector).
x double Current agent position.
y double Potentially new agent position.
g double Population's best known position.
agents double Entire population.
randomSet RandomOps Random-set used for drawing distinct agents.
return void

Name() public static method

Name of DE crossover variant.
public static Name ( Variant variant ) : string
variant Variant
return string