|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SelectionOperator
Provides the interface to a selection operator. This allows genomes to be selected for offspring production or elimination.
| Method Summary | |
|---|---|
EvolutionaryAlgorithm |
getTrainer()
|
int |
performAntiSelection(Random rnd,
Species species)
Selects an unfit genome. |
int |
performSelection(Random rnd,
Species species)
Selects an fit genome. |
| Method Detail |
|---|
int performSelection(Random rnd,
Species species)
rnd - A random number generator.species - The species to select the genome from.
int performAntiSelection(Random rnd,
Species species)
rnd - A random number generator.species - The species to select the genome from.
EvolutionaryAlgorithm getTrainer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||