mut Uniform
fun <F> CellEvolveScope<DoubleArray, F>.mutUniform(low: Double, up: Double, chance: Double, uniformChance: Double)
fun <F> CellEvolveScope<IntArray, F>.mutUniform(low: Int, up: Int, chance: Double, uniformChance: Double)
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
uniform Chance
the probability of each attribute to be moved.