org.jgap.distr
Interface IPopulationMerger
- All Known Implementing Classes:
- FittestPopulationMerger
public interface IPopulationMerger
Interface for implementations allowing to merge two independent
populations together into one combined population.
- Since:
- 2.0
|
Field Summary |
static java.lang.String |
CVS_REVISION
String containing the CVS revision. |
CVS_REVISION
static final java.lang.String CVS_REVISION
- String containing the CVS revision. Read out via reflection!
- See Also:
- Constant Field Values
mergePopulations
Population mergePopulations(Population a_population1,
Population a_population2,
int a_new_population_size)
- Merges two populations into one that has the given size.
- Parameters:
a_population1 - first populationa_population2 - second populationa_new_population_size - size of merged population
- Returns:
- the resulting population
- Since:
- 2.0