mut Uniform
suspend fun <F> PanmicticEvolveScope<DoubleArray, F>.mutUniform(low: Double, up: Double, chance: Double, uniformChance: Double, parallelismLimit: Int = parallelismConfig.workersCount)
suspend fun <F> PanmicticEvolveScope<IntArray, F>.mutUniform(low: Int, up: Int, chance: Double, uniformChance: Double, parallelismLimit: Int = parallelismConfig.workersCount)
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
uniform Chance
the probability of each attribute to be moved.
parallelism Limit
limit of parallel workers