Class ElitismImpl<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.core.replacement.ElitismImpl<T>
- All Implemented Interfaces:
ReplacementStrategyImplementor<T>
public class ElitismImpl<T extends Comparable<T>>
extends Object
implements ReplacementStrategyImplementor<T>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Elitism
static final org.apache.logging.log4j.Logger
-
Constructor Summary
-
Method Summary
-
Field Details
-
logger
public static final org.apache.logging.log4j.Logger logger -
elitismSpec
-
offspringSelector
-
survivorSelector
-
-
Constructor Details
-
ElitismImpl
-
-
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>>
-