public interface SelectionFunction
| Modifier and Type | Interface and Description |
|---|---|
static class |
SelectionFunction.SelectAll |
static class |
SelectionFunction.Threshold
Selects individuals who's fitness exceeds a threshold value.
|
| Modifier and Type | Field and Description |
|---|---|
static SelectionFunction |
DEFAULT
Selects all members of a population for replication
|
| Modifier and Type | Method and Description |
|---|---|
Population |
select(Population pop,
GeneticAlgorithm genAlg)
Selects a
Population of Organisms for
replication based on their fitness. |
static final SelectionFunction DEFAULT
Population select(Population pop, GeneticAlgorithm genAlg) throws ChangeVetoException
Population of Organisms for
replication based on their fitness.pop - the Population to select from.genAlg - the parent GeneticAlgorithm.Organisms selectedChangeVetoException - if the function attempts to change the population and it is
vetoed.Copyright © 2020 BioJava. All rights reserved.