public class LexicaseSelection extends SelectionMethod
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
P_LEXICASESELECT |
INDS_PRODUCED, KEY_PARENTS
NO_PROBABILITY, P_PROB, probability
Constructor and Description |
---|
LexicaseSelection() |
Modifier and Type | Method and Description |
---|---|
Parameter |
defaultBase()
Returns the default base for this prototype.
|
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.
|
finishProducing, prepareToProduce, produce, produces, produceWithoutCloning, typicalIndsProduced
clone, fillStubs, getProbability, pickRandom, preparePipeline, setProbability, setup, setupProbabilities
public static final java.lang.String P_LEXICASESELECT
public Parameter defaultBase()
Prototype
public int produce(int subpopulation, EvolutionState state, int thread)
SelectionMethod
produce
in class SelectionMethod