JGAP

org.jgap.distr
Interface IPopulationMerger

All Known Implementing Classes:
FittestPopulationMerger

public interface IPopulationMerger

Interface for implementations allowing to merge two or more independent Population's to be merged together into one Population.

Since:
2.0

Field Summary
static java.lang.String CVS_REVISION
          String containing the CVS revision.
 
Method Summary
 Population mergePopulations(Population a_population1, Population a_population2, int a_new_population_size)
          Merges two Population's 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 Population's into one that has the given size.

Parameters:
a_population1 - Population first Population
a_population2 - Population second Population
a_new_population_size - int size of merged Population
Returns:
Population the resulting Population
Since:
2.0

JGAP