Performs one-point crossover operation on a pair of two selected parent candidate solutions
This function is not called directly but is given as a parameter in
GA::ga, if the parameter
crossover= is set to
the byte-coded one-point crossover operator is applied in the genetic search. In
mcga2 function, the hard-coded
crossover parameter is set to byte_crossover by definition.
byte_crossover_1p function simply takes two double vectors
(parents) and combines the bytes of doubles using given cut-point.
Indices of the selected parents
Additional arguments to be passed to the function
List of two generated offspring
Mehmet Hakan Satman - email@example.com
M.H.Satman (2013), Machine Coded Genetic Algorithms for Real Parameter Optimization Problems, Gazi University Journal of Science, Vol 26, No 1, pp. 85-95
1 2 3 4 5 6 7