crossoverBlend

fun crossoverBlend(value1: DoubleArray, value2: DoubleArray, alpha: Double, random: Random)

Executes a blend crossover that modify in-place the input chromosomes. The blend crossover expects Chromosome.value of floating point numbers.

Parameters

value1

value of first child chromosome

value2

value of second child chromosome

alpha

Extent of the interval in which the new values can be drawn for each attribute on both side of the parents’ attributes.


fun crossoverBlend(value1: FloatArray, value2: FloatArray, alpha: Float, random: Random)

Executes a blend crossover that modify in-place the input individuals. The blend crossover expects Chromosome.value of floating point numbers.

Parameters

value1

value of first child chromosome

value2

value of second child chromosome

alpha

Extent of the interval in which the new values can be drawn for each attribute on both side of the parents’ attributes.