org.jgap.distr
Interface IPopulationMerger
-
- All Known Implementing Classes:
- FittestPopulationMerger
public interface IPopulationMergerInterface for implementations allowing to merge two independent populations together into one combined population.- Since:
- 2.0
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringCVS_REVISIONString containing the CVS revision.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description PopulationmergePopulations(Population a_population1, Population a_population2, int a_new_population_size)Merges two populations into one that has the given size.
-
-
-
Field Detail
-
CVS_REVISION
static final java.lang.String CVS_REVISION
String containing the CVS revision. Read out via reflection!- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-
DMelt 3.0 © DataMelt by jWork.ORG