public class RuleMutationPipeline extends BreedingPipeline
Typical Number of Individuals Produced Per produce(...) call
1
Number of Sources
1
Default Base
rule.mutate (not that it matters)
| Modifier and Type | Field and Description |
|---|---|
static int |
INDS_PRODUCED |
static int |
NUM_SOURCES |
static String |
P_MUTATION |
DYNAMIC_SOURCES, likelihood, mybase, P_LIKELIHOOD, P_NUMSOURCES, P_SOURCE, sources, V_SAMENO_PROBABILITY, P_PROB, probability| Constructor and Description |
|---|
RuleMutationPipeline() |
| Modifier and Type | Method and Description |
|---|---|
Parameter |
defaultBase()
Returns the default base for this prototype.
|
int |
numSources()
Returns 1
|
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.
|
int |
typicalIndsProduced()
Returns 1
|
clone, finishProducing, individualReplaced, maxChildProduction, minChildProduction, preparePipeline, prepareToProduce, produces, reproduce, setup, sourcesAreProperFormgetProbability, pickRandom, setProbability, setupProbabilitiespublic static final String P_MUTATION
public static final int INDS_PRODUCED
public static final int NUM_SOURCES
public Parameter defaultBase()
Prototypepublic int numSources()
numSources in class BreedingPipelinepublic int typicalIndsProduced()
typicalIndsProduced in class BreedingPipelinepublic int produce(int min,
int max,
int start,
int subpopulation,
Individual[] inds,
EvolutionState state,
int thread)
BreedingSourceproduce in class BreedingSourceCopyright © 2014 Evolutionary Computation Laboratory at George Mason University. All rights reserved.