Learn R Programming

GABi (version 0.1)

reproduction: Reproduction

Description

Wrapper to apply the genetic operators (crossover and mutation) in the GABi GA.

Usage

reproduction(population,xfreq,mfreq,xoverpoints,pinvert,elitism)

Arguments

population
Numeric array representing a population of binary GA chromosomes.
xfreq
Crossover frequency: probability of each pair of solutions having the crossover operator being applied.
mfreq
Mutation frequency: probability of flipping each bit in each GA solution is mfreq/ncol(x).
xoverpoints
The number of 'crossover points' in the crossover operation (see details).
pinvert
The probability with which the order of the subset to be swapped of one of the solutions will be reversed prior to crossover.
elitism
Boolean indicating whether or not the fittest solution should be guaranteed to pass into the next generation.

Value

population.

Details

Reproduction is the stage of a GA in which the solutions that are selected to be passed onto the next generation have the potential to be altered to construct new, and potentially better, solutions.