Class GenerationalReplacementImpl<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.core.replacement.GenerationalReplacementImpl<T>
- All Implemented Interfaces:
ReplacementStrategyImplementor<T>
public class GenerationalReplacementImpl<T extends Comparable<T>>
extends Object
implements ReplacementStrategyImplementor<T>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGenerationalReplacementImpl
(GenerationalReplacement _elistismSpec, Selector<T> _offspringSelector) -
Method Summary
-
Field Details
-
generationalReplacementSpec
-
offspringSelector
-
-
Constructor Details
-
GenerationalReplacementImpl
public GenerationalReplacementImpl(GenerationalReplacement _elistismSpec, Selector<T> _offspringSelector)
-
-
Method Details
-
select
public Population<T> select(AbstractEAConfiguration<T> eaConfiguration, int numIndividuals, List<Genotype> population, List<T> populationScores, List<Genotype> offsprings, List<T> offspringScores) - Specified by:
select
in interfaceReplacementStrategyImplementor<T extends Comparable<T>>
-