Description Usage Arguments Value Recombination Parameters References
View source: R/recombination_onepoint.R
Implements the one-point recombination (as used in the Simple GA).
1 | recombination_onepoint(X, M, recpars = list(K = NULL))
|
X |
population matrix (original) |
M |
population matrix (mutated) |
recpars |
recombination parameters (see |
Matrix U
containing the recombined population
The recpars
parameter contains all parameters required to define the
recombination. recombination_onepoint()
understands the following
fields in recpars
:
K
: cut point for crossover.
Accepts integer value 0 <= K < n
, where n
is the
dimension of the problem; Use K = 0
or K = NULL
for randomly
choosing a position for each pair of points.
Defaults to NULL
.
F. Herrera, M. Lozano, A. M. Sanchez, "A taxonomy for the crossover operator for real-coded genetic algorithms: an experimental study", International Journal of Intelligent Systems 18(3) 309-338, 2003.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.