Rdocumentation
powered by
Learn R Programming
GABi (version 0.1)
fps: Fitness Proportional Selection
Description
Performs selection step in GA process using fitness proportional selection.
Usage
fps(population,fitnesses,elitism)
Arguments
population
Numeric array representing a population of binary GA chromosomes.
fitnesses
Numeric vector specifying relative fitnesses of each solution (row) of
population
.
elitism
Boolean indicating whether or not the fittest solution should be guaranteed to pass into the next generation.
Value
population
, biased towards each individual solution in direct proportion to its relative fitness.
Details
Fitness Proportional Selection