ec.gp
Class GPBreedingPipeline
java.lang.Object
ec.BreedingSource
ec.BreedingPipeline
ec.gp.GPBreedingPipeline
- All Implemented Interfaces:
- Prototype, Setup, SteadyStateBSourceForm, RandomChoiceChooser, java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- CrossoverPipeline, InternalCrossoverPipeline, MutateAllNodesPipeline, MutateDemotePipeline, MutateERCPipeline, MutateOneNodePipeline, MutatePromotePipeline, MutateSwapPipeline, MutationPipeline, RehangPipeline
public abstract class GPBreedingPipeline
- extends BreedingPipeline
A GPBreedingPipeline is a BreedingPipeline which produces only
members of some subclass of GPSpecies. This is just a convenience
superclass for many of the breeding pipelines here; you don't have
to be a GPBreedingPipeline in order to breed GPSpecies or anything.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
P_NODESELECTOR
Standard parameter for node-selectors associated with a GPBreedingPipeline |
static java.lang.String |
P_TREE
Standard parameter for tree fixing |
static int |
TREE_UNFIXED
Standard value for an unfixed tree |
Methods inherited from class ec.BreedingPipeline |
clone, finishProducing, individualReplaced, maxChildProduction, minChildProduction, numSources, preparePipeline, prepareToProduce, reproduce, setup, sourcesAreProperForm, typicalIndsProduced |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
P_NODESELECTOR
public static final java.lang.String P_NODESELECTOR
- Standard parameter for node-selectors associated with a GPBreedingPipeline
- See Also:
- Constant Field Values
P_TREE
public static final java.lang.String P_TREE
- Standard parameter for tree fixing
- See Also:
- Constant Field Values
TREE_UNFIXED
public static final int TREE_UNFIXED
- Standard value for an unfixed tree
- See Also:
- Constant Field Values
GPBreedingPipeline
public GPBreedingPipeline()
produces
public boolean produces(EvolutionState state,
Population newpop,
int subpopulation,
int thread)
- Returns true if s is a GPSpecies.
- Overrides:
produces
in class BreedingPipeline