public class ProportionalSelection extends Object implements SelectionFunction
A Selection function that determines the proportion of individuals in a new population proportionally to their fitness. The population size is not allowed to grow. Individuals are randomly selected for replication, those with greater fitness tend to replicate more often.
|Constructor and Description|
|Modifier and Type||Method and Description|
public Population select(Population pop, GeneticAlgorithm genAlg) throws ChangeVetoException
Organismsfor replication based on their fitness.
Copyright © 2020 BioJava. All rights reserved.