public class SPEA2TournamentSelection extends TournamentSelection
P_PICKWORST, P_SIZE, P_TOURNAMENT, pickWorst, probabilityOfPickingSizePlusOne
INDS_PRODUCED
NO_PROBABILITY, P_PROB, probability
Constructor and Description |
---|
SPEA2TournamentSelection() |
Modifier and Type | Method and Description |
---|---|
int |
getRandomIndividual(int number,
int subpopulation,
EvolutionState state,
int thread)
Produces the index of a (typically uniformly distributed) randomly chosen individual
to fill the tournament.
|
betterThan, defaultBase, getTournamentSizeToUse, individualReplaced, produce, setup, sourcesAreProperForm
finishProducing, prepareToProduce, produce, produces, typicalIndsProduced
clone, getProbability, pickRandom, preparePipeline, setProbability, setupProbabilities
public int getRandomIndividual(int number, int subpopulation, EvolutionState state, int thread)
TournamentSelection
getRandomIndividual
in class TournamentSelection