Package edu.cnu.mdi.sim.ga
Interface GAPopulation<T extends GASolution<T>>
- All Known Implementing Classes:
SimpleGAPopulation
public interface GAPopulation<T extends GASolution<T>>
Interface for a population of GA solutions. The GA will maintain and evolve a population of individuals.
The population must support copying for elitism and best-tracking.
-
Method Summary
-
Method Details
-
individuals
- Returns:
- individuals in population order
-
size
int size()- Returns:
- number of individuals
-
copy
GAPopulation<T> copy()- Returns:
- an independent population copy
-