ec.gp.ge.breed
Class GECrossoverPipeline
- java.lang.Object
-
- ec.BreedingSource
-
- ec.BreedingPipeline
-
- ec.vector.breed.ListCrossoverPipeline
-
- ec.gp.ge.breed.GECrossoverPipeline
-
- All Implemented Interfaces:
- Prototype, Setup, SteadyStateBSourceForm, RandomChoiceChooserD, java.io.Serializable, java.lang.Cloneable
public class GECrossoverPipeline extends ListCrossoverPipeline
GECrossoverPipeline is just like ListCrossoverPipeline, except that it will additionally check to verify that the first crossover point is within the range of consumed genes in each parent. This is not uncommon in the GE literature.For simplicity, GECrossoverPipeline shares the same default base as ListCrossoverPipeline, since it adds no new parameters.
Number of Sources
2Default Base
vector.list-xover- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class ec.vector.breed.ListCrossoverPipeline
crossoverType, maxCrossoverPercentage, minChildSize, minCrossoverPercentage, NUM_SOURCES, numTries, P_LIST_CROSSOVER, P_MAX_CROSSOVER_PERCENT, P_MIN_CHILD_SIZE, P_MIN_CROSSOVER_PERCENT, P_NUM_TRIES, P_TOSS, tossSecondParent
-
Fields inherited from class ec.BreedingPipeline
DYNAMIC_SOURCES, likelihood, mybase, P_LIKELIHOOD, P_NUMSOURCES, P_SOURCE, sources, V_SAME
-
Fields inherited from class ec.BreedingSource
NO_PROBABILITY, P_PROB, probability
-
-
Constructor Summary
Constructors Constructor and Description GECrossoverPipeline()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.ObjectcomputeValidationData(EvolutionState state, VectorIndividual[] parents, int thread)A hook called by ListCrossoverPipeline to allow subclasses to prepare for additional validation testing.booleanisValidated(int[][] split, java.lang.Object validationData)A hook called by ListCrossoverPipeline to allow subclasses to further validate children crossover points.-
Methods inherited from class ec.vector.breed.ListCrossoverPipeline
clone, defaultBase, numSources, produce, setup, typicalIndsProduced
-
Methods inherited from class ec.BreedingPipeline
finishProducing, individualReplaced, maxChildProduction, minChildProduction, preparePipeline, prepareToProduce, produces, reproduce, sourcesAreProperForm
-
Methods inherited from class ec.BreedingSource
getProbability, pickRandom, setProbability, setupProbabilities
-
-
-
-
Method Detail
-
computeValidationData
public java.lang.Object computeValidationData(EvolutionState state, VectorIndividual[] parents, int thread)
Description copied from class:ListCrossoverPipelineA hook called by ListCrossoverPipeline to allow subclasses to prepare for additional validation testing. Primarily used by GECrossoverPipeline.- Overrides:
computeValidationDatain classListCrossoverPipeline
-
isValidated
public boolean isValidated(int[][] split, java.lang.Object validationData)Description copied from class:ListCrossoverPipelineA hook called by ListCrossoverPipeline to allow subclasses to further validate children crossover points. Primarily used by GECrossoverPipeline.- Overrides:
isValidatedin classListCrossoverPipeline
-
-
DMelt 3.0 © DataMelt by jWork.ORG