|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectec.BreedingSource
ec.SelectionMethod
ec.select.TournamentSelection
ec.multiobjective.spea2.SPEA2TournamentSelection
public class SPEA2TournamentSelection
This is a special version of TournamentSelection which restricts the selection to only the archive region (the top 'archiveSize' elements in the subpopulation).
Field Summary |
---|
Fields inherited from class ec.select.TournamentSelection |
---|
DEFAULT_SIZE, P_PICKWORST, P_SIZE, P_TOURNAMENT, pickWorst, probabilityOfPickingSizePlusOne |
Fields inherited from class ec.SelectionMethod |
---|
INDS_PRODUCED |
Fields inherited from class ec.BreedingSource |
---|
NO_PROBABILITY, P_PROB, probability |
Constructor Summary | |
---|---|
SPEA2TournamentSelection()
|
Method Summary | |
---|---|
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. |
Methods inherited from class ec.select.TournamentSelection |
---|
betterThan, defaultBase, getTournamentSizeToUse, individualReplaced, produce, setup, sourcesAreProperForm |
Methods inherited from class ec.SelectionMethod |
---|
finishProducing, prepareToProduce, produce, produces, typicalIndsProduced |
Methods inherited from class ec.BreedingSource |
---|
clone, getProbability, pickRandom, preparePipeline, setProbability, setupProbabilities |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SPEA2TournamentSelection()
Method Detail |
---|
public int getRandomIndividual(int number, int subpopulation, EvolutionState state, int thread)
TournamentSelection
getRandomIndividual
in class TournamentSelection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |