ec.multiobjective.spea2
Class SPEA2TournamentSelection
- java.lang.Object
-
- ec.BreedingSource
-
- ec.SelectionMethod
-
- ec.select.TournamentSelection
-
- ec.multiobjective.spea2.SPEA2TournamentSelection
-
- All Implemented Interfaces:
- Prototype, Setup, SteadyStateBSourceForm, RandomChoiceChooserD, java.io.Serializable, java.lang.Cloneable
public class SPEA2TournamentSelection extends TournamentSelection
This is a special version of TournamentSelection which restricts the selection to only the archive region (the top 'archiveSize' elements in the subpopulation).- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class ec.select.TournamentSelection
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
Constructors Constructor and Description SPEA2TournamentSelection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetRandomIndividual(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
-
-
-
-
Method Detail
-
getRandomIndividual
public int getRandomIndividual(int number, int subpopulation, EvolutionState state, int thread)Description copied from class:TournamentSelectionProduces the index of a (typically uniformly distributed) randomly chosen individual to fill the tournament. number> is the position of the individual in the tournament.- Overrides:
getRandomIndividualin classTournamentSelection
-
-
DMelt 3.0 © DataMelt by jWork.ORG