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 |