currMutationRate: Computing Current Mutation Rate

Description Usage Arguments

View source: R/mutate.R

Description

currMutationRate computes the mutation rate in the current iteration of the genetic algorithm, assuming mutation rate is variable

Usage

1
currMutationRate(mutationRate, maxMutationRate, iterCounter, maxIter)

Arguments

mutationRate

constant mutation rate. Value must be between 0 and 1.

maxMutationRate

the mutation rate expected by the user when iteration limit is reached. If specified, then the mutation rate is linearly increasing in each iteration.

iterCounter

an integer specifying which iteration in the the current update

maxIter

maximum number of iterations of updating the generation.


garylin2099/GA documentation built on Feb. 8, 2020, 1:13 a.m.