|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectec.BreedingSource
ec.BreedingPipeline
ec.gp.GPBreedingPipeline
ec.gp.koza.CrossoverPipeline
ec.gp.koza.MCS
public class MCS
| Field Summary | |
|---|---|
int |
minChildSize
|
static java.lang.String |
P_MIN_CHILD_SIZE
|
| Fields inherited from class ec.gp.koza.CrossoverPipeline |
|---|
INDS_PRODUCED, maxDepth, nodeselect1, nodeselect2, NUM_SOURCES, numTries, P_CROSSOVER, P_MAXDEPTH, P_NUM_TRIES, P_TOSS, parents, tossSecondParent, tree1, tree2 |
| Fields inherited from class ec.gp.GPBreedingPipeline |
|---|
P_NODESELECTOR, P_TREE, TREE_UNFIXED |
| 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 | |
|---|---|
MCS()
|
|
| Method Summary | |
|---|---|
void |
setup(EvolutionState state,
Parameter base)
Sets up the BreedingPipeline. |
boolean |
verifyPoints(GPInitializer initializer,
GPNode inner1,
GPNode inner2)
Returns true if inner1 can feasibly be swapped into inner2's position. |
| Methods inherited from class ec.gp.koza.CrossoverPipeline |
|---|
clone, defaultBase, numSources, produce, typicalIndsProduced |
| Methods inherited from class ec.gp.GPBreedingPipeline |
|---|
produces |
| Methods inherited from class ec.BreedingPipeline |
|---|
finishProducing, individualReplaced, maxChildProduction, minChildProduction, preparePipeline, prepareToProduce, sourcesAreProperForm |
| Methods inherited from class ec.BreedingSource |
|---|
getProbability, pickRandom, setProbability, setupProbabilities |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String P_MIN_CHILD_SIZE
public int minChildSize
| Constructor Detail |
|---|
public MCS()
| Method Detail |
|---|
public void setup(EvolutionState state,
Parameter base)
BreedingSourceThe most common modification is to normalize it with some other set of probabilities, then set all of them up in increasing summation; this allows the use of the fast static BreedingSource-picking utility method, BreedingSource.pickRandom(...). In order to use this method, for example, if four breeding source probabilities are {0.3, 0.2, 0.1, 0.4}, then they should get normalized and summed by the outside owners as: {0.3, 0.5, 0.6, 1.0}.
setup in interface Prototypesetup in interface Setupsetup in class CrossoverPipelinePrototype.setup(EvolutionState,Parameter)
public boolean verifyPoints(GPInitializer initializer,
GPNode inner1,
GPNode inner2)
CrossoverPipeline
verifyPoints in class CrossoverPipeline
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||