public class ESSelection extends SelectionMethod
To do evolution strategies evolution, the breeding pipelines should contain at least one ESSelection selection method. While a child is being generated by the pipeline, the ESSelection object will return a parent from the pool of mu parents. The particular parent is chosen round-robin, so all the parents will have an equal number of children. It's perfectly fine to have more than one ESSelection object in the tree, or to call the same one repeatedly during the course of generating a child; all such objects will consistently return the same parent. They only increment to the nex parent in the pool of mu parents after the child has been created from the pipeline. You can also mix ESSelection operators with other operators (like Tournament Selection). But you ought to have at least one ESSelection operator in the pipeline -- else it wouldn't be Evolution Strategies, would it?
Default Base
es.select
| Modifier and Type | Field and Description |
|---|---|
static String |
P_ESSELECT |
INDS_PRODUCEDNO_PROBABILITY, P_PROB, probability| Constructor and Description |
|---|
ESSelection() |
| Modifier and Type | Method and Description |
|---|---|
Parameter |
defaultBase()
Returns the default base for this prototype.
|
void |
prepareToProduce(EvolutionState state,
int subpopulation,
int thread)
A default version of prepareToProduce which does nothing.
|
int |
produce(int subpopulation,
EvolutionState state,
int thread)
An alternative form of "produce" special to Selection Methods;
selects an individual from the given subpopulation and
returns its position in that subpopulation.
|
int |
produce(int min,
int max,
int start,
int subpopulation,
Individual[] inds,
EvolutionState state,
int thread)
Produces n individuals from the given subpopulation
and puts them into inds[start...start+n-1],
where n = Min(Max(q,min),max), where q is the "typical" number of
individuals the BreedingSource produces in one shot, and returns
n.
|
finishProducing, produces, typicalIndsProducedclone, getProbability, pickRandom, preparePipeline, setProbability, setup, setupProbabilitiespublic static final String P_ESSELECT
public Parameter defaultBase()
Prototypepublic void prepareToProduce(EvolutionState state, int subpopulation, int thread)
SelectionMethodprepareToProduce in class SelectionMethodpublic int produce(int subpopulation,
EvolutionState state,
int thread)
SelectionMethodproduce in class SelectionMethodpublic int produce(int min,
int max,
int start,
int subpopulation,
Individual[] inds,
EvolutionState state,
int thread)
BreedingSourceproduce in class SelectionMethodCopyright © 2014 Evolutionary Computation Laboratory at George Mason University. All rights reserved.