Class TournamentSelector<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.core.selection.TournamentSelector<T>
- All Implemented Interfaces:
Selector<T>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.apache.logging.log4j.Logger
private final RandomGenerator
private final SelectionPolicy
-
Constructor Summary
ConstructorDescriptionTournamentSelector
(SelectionPolicy _selectionPolicy, RandomGenerator _randomGenerator) -
Method Summary
-
Field Details
-
logger
public static final org.apache.logging.log4j.Logger logger -
selectionPolicy
-
randomGenerator
-
-
Constructor Details
-
TournamentSelector
-
-
Method Details
-
select
public Population<T> select(AbstractEAConfiguration<T> eaConfiguration, int numIndividuals, List<Genotype> population, List<T> fitnessScore) - Specified by:
select
in interfaceSelector<T extends Comparable<T>>
-