ec.gp
Class GPBreedingPipeline

java.lang.Object
  extended by ec.BreedingSource
      extended by ec.BreedingPipeline
          extended by 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.

Version:
1.0
Author:
Sean Luke
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
 
Fields inherited from class ec.BreedingPipeline
DYNAMIC_SOURCES, mybase, P_NUMSOURCES, P_SOURCE, sources, V_SAME
 
Fields inherited from class ec.BreedingSource
CHECKBOUNDARY, DEFAULT_PRODUCED, NO_PROBABILITY, P_PROB, probability, UNUSED
 
Constructor Summary
GPBreedingPipeline()
           
 
Method Summary
 boolean produces(EvolutionState state, Population newpop, int subpopulation, int thread)
          Returns true if s is a GPSpecies.
 
Methods inherited from class ec.BreedingPipeline
clone, finishProducing, individualReplaced, maxChildProduction, minChildProduction, numSources, preparePipeline, prepareToProduce, setup, sourcesAreProperForm, typicalIndsProduced
 
Methods inherited from class ec.BreedingSource
getProbability, pickRandom, produce, setProbability, setupProbabilities
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ec.Prototype
defaultBase
 

Field Detail

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
Constructor Detail

GPBreedingPipeline

public GPBreedingPipeline()
Method Detail

produces

public boolean produces(EvolutionState state,
                        Population newpop,
                        int subpopulation,
                        int thread)
Returns true if s is a GPSpecies.

Overrides:
produces in class BreedingPipeline