object: An object of class "nsga", "nsga2" and "nsga3", usually resulting from a call to function nsga, nsga2 and nsga3.
parents: A two-rows matrix of values indexing the parents from the current population.
nc: Parameters of non-dominated genetic operators.
Returns
Return a list with two elements:
children: a matrix of dimension 2 times the number of decision variables containing the generated offsprings;
fitness: a vector of length 2 containing the fitness values for the offsprings. A value NA is returned if an offspring is different (which is usually the case) from the two parents.
References
Scrucca, L. (2017) On some extensions to 'GA' package: hybrid optimisation, parallelisation and islands evolution. The R Journal, 9/1, 187-206, doi: 10.32614/RJ-2017-008.