|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Population
A collection of chromosomes that facilitates generational evolution.
| Method Summary | |
|---|---|
void |
addChromosome(Chromosome chromosome)
Add the given chromosome to the population. |
Chromosome |
getFittestChromosome()
Access the fittest chromosome in this population. |
int |
getPopulationLimit()
Access the maximum population size. |
int |
getPopulationSize()
Access the current population size. |
Population |
nextGeneration()
Start the population for the next generation. |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
int getPopulationSize()
int getPopulationLimit()
Population nextGeneration()
void addChromosome(Chromosome chromosome)
chromosome - the chromosome to add.Chromosome getFittestChromosome()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||