|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 |
public static final java.lang.String CVS_REVISION
| Method Detail |
public void select(int a_howManyToSelect,
Population a_from_population,
Population a_to_population)
a_howManyToSelect - The number of Chromosomes to select.a_from_population - the population the Chromosomes will be selected from.a_to_population - the population the Chromosomes will be added to.public void empty()
public boolean returnsUniqueChromosomes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||