Arithmetical Crossover
Arithmetical (geometric) crossover (§A.8): draws β ~ U(0,1) and forms the two convex combinations β·x_i + (1−β)·x_j and (1−β)·x_i + β·x_j. The solver rounds each offspring to the integer grid and keeps the parents instead of any offspring that is infeasible.
Functions
Link copied to clipboard
open override fun crossover(parent1: DoubleArray, parent2: DoubleArray, nga: NichingGeneticAlgorithmSolver): List<DoubleArray>