mutUniform

@JvmName(name = "mutUniformDoubleArray")
fun <F> CellEvolveScope<DoubleArray, F>.mutUniform(low: Double, up: Double, chance: Double, uniformChance: Double)
@JvmName(name = "mutUniformIntArray")
fun <F> CellEvolveScope<IntArray, F>.mutUniform(low: Int, up: Int, chance: Double, uniformChance: Double)
@JvmName(name = "mutUniformLongArray")
fun <F> CellEvolveScope<LongArray, F>.mutUniform(low: Long, up: Long, chance: Double, uniformChance: Double)

Executes a uniform mutation for the attributes of the input chromosome.

Parameters

low

A value that is the lower bound of the uniform distribution (inclusive).

up

A value that is the upper bound of the uniform distribution (inclusive).

chance

chance of mutation between a pair of chromosomes

uniformChance

the probability of each attribute to be moved.