cxBlend

@JvmName(name = "cxBlendDoubleArray")
fun <F> CellEvolveScope<DoubleArray, F>.cxBlend(chance: Double, alpha: Double)
@JvmName(name = "cxBlendFloatArray")
fun <F> CellEvolveScope<FloatArray, F>.cxBlend(chance: Double, alpha: Float)

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

Parameters

chance

chance of crossover between a pair of chromosomes

alpha

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