mutUniform

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

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.

parallelismLimit

limit of parallel workers