Package ec.gp
Class GPBreedingPipeline
java.lang.Object
ec.BreedingSource
ec.BreedingPipeline
ec.gp.GPBreedingPipeline
- All Implemented Interfaces:
Prototype,Setup,SteadyStateBSourceForm,RandomChoiceChooserD,Serializable,Cloneable
- Direct Known Subclasses:
CrossoverPipeline,InternalCrossoverPipeline,MutateAllNodesPipeline,MutateDemotePipeline,MutateERCPipeline,MutateOneNodePipeline,MutatePromotePipeline,MutateSwapPipeline,MutationPipeline,RehangPipeline,SizeFairCrossoverPipeline
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringStandard parameter for node-selectors associated with a GPBreedingPipelinestatic final StringStandard parameter for tree fixingstatic final intStandard value for an unfixed treeFields inherited from class ec.BreedingPipeline
DYNAMIC_SOURCES, likelihood, mybase, P_LIKELIHOOD, P_NUMSOURCES, P_SOURCE, sources, V_SAME, V_STUBFields inherited from class ec.BreedingSource
NO_PROBABILITY, P_PROB, probability -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanproduces(EvolutionState state, Population newpop, int subpopulation, int thread) Returns true if s is a GPSpecies.Methods inherited from class ec.BreedingPipeline
clone, fillStubs, finishProducing, individualReplaced, maxChildProduction, minChildProduction, numSources, preparePipeline, prepareToProduce, setup, sourcesAreProperForm, typicalIndsProducedMethods inherited from class ec.BreedingSource
getProbability, pickRandom, produce, setProbability, setupProbabilitiesMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ec.Prototype
defaultBase
-
Field Details
-
P_NODESELECTOR
Standard parameter for node-selectors associated with a GPBreedingPipeline- See Also:
-
P_TREE
Standard parameter for tree fixing- See Also:
-
TREE_UNFIXED
public static final int TREE_UNFIXEDStandard value for an unfixed tree- See Also:
-
-
Constructor Details
-
GPBreedingPipeline
public GPBreedingPipeline()
-
-
Method Details
-
produces
Returns true if s is a GPSpecies.- Overrides:
producesin classBreedingPipeline
-