Implements the one-point recombination (as used in the Simple GA).
recombination_onepoint(X, M, recpars = list(K = NULL))Matrix U containing the recombined population
population matrix (original)
population matrix (mutated)
recombination parameters (see Recombination parameters
for details)
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.