|
JGAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INaturalSelector
Natural selectors are responsible for actually selecting a specified number of Chromosome specimens from a population, using the fitness values as a guide. Usually fitness is treated as a statistic probability of survival, not as the sole determining factor. Therefore, Chromosomes with higher fitness values are more likely to survive than those with lesser fitness values, but it's not guaranteed.
Field Summary | |
---|---|
static java.lang.String |
CVS_REVISION
String containing the CVS revision. |
Method Summary | |
---|---|
void |
empty()
Empty out the working pool of Chromosomes. |
boolean |
returnsUniqueChromosomes()
|
void |
select(int a_howManyToSelect,
Population a_from_population,
Population a_to_population)
Select a given number of Chromosomes from the pool that will move on to the next generation population. |
Field Detail |
---|
static final java.lang.String CVS_REVISION
Method Detail |
---|
void select(int a_howManyToSelect, Population a_from_population, Population a_to_population)
a_howManyToSelect
- the number of Chromosomes to selecta_from_population
- the population the Chromosomes will be
selected froma_to_population
- the population the Chromosomes will be added tovoid empty()
boolean returnsUniqueChromosomes()
|
JGAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |