| Modifier and Type | Class and Description |
|---|---|
class |
IfFoodAhead |
class |
Move |
class |
Progn3 |
class |
Progn4 |
class |
Right |
| Modifier and Type | Class and Description |
|---|---|
class |
Accept |
class |
BAccept |
class |
BBud |
class |
BLoop |
class |
BStart |
class |
Bud |
class |
Double |
class |
Epsilon |
class |
Loop |
class |
One |
class |
Reverse |
class |
Split |
class |
Start |
class |
Zero |
| Modifier and Type | Class and Description |
|---|---|
class |
SemanticExtra |
class |
SemanticJ |
class |
SemanticN0 |
class |
SemanticN1 |
class |
SemanticN10 |
class |
SemanticN11 |
class |
SemanticN12 |
class |
SemanticN13 |
class |
SemanticN14 |
class |
SemanticN15 |
class |
SemanticN16 |
class |
SemanticN2 |
class |
SemanticN3 |
class |
SemanticN4 |
class |
SemanticN5 |
class |
SemanticN6 |
class |
SemanticN7 |
class |
SemanticN8 |
class |
SemanticN9 |
class |
SemanticNode |
class |
SemanticX0 |
class |
SemanticX1 |
class |
SemanticX10 |
class |
SemanticX11 |
class |
SemanticX12 |
class |
SemanticX13 |
class |
SemanticX14 |
class |
SemanticX15 |
class |
SemanticX16 |
class |
SemanticX2 |
class |
SemanticX3 |
class |
SemanticX4 |
class |
SemanticX5 |
class |
SemanticX6 |
class |
SemanticX7 |
class |
SemanticX8 |
class |
SemanticX9 |
| Modifier and Type | Method and Description |
|---|---|
(package private) double |
KLandscapes.fitness(GPNode root) |
(package private) double |
KLandscapes.fitnessHelper(GPNode node) |
(package private) double |
KLandscapes.subtreeFitness(GPNode node,
int depth) |
| Modifier and Type | Class and Description |
|---|---|
class |
KLandscapeTree |
class |
KLandscapeTreeA |
class |
KLandscapeTreeB |
class |
KLandscapeTreeW |
class |
KLandscapeTreeX |
class |
KLandscapeTreeY |
class |
KLandscapeTreeZ |
| Modifier and Type | Class and Description |
|---|---|
class |
Frog |
class |
LawnERC |
class |
Left |
class |
Mow |
class |
Progn2 |
class |
V8a |
| Modifier and Type | Method and Description |
|---|---|
boolean |
LawnERC.nodeEquals(GPNode node) |
| Modifier and Type | Class and Description |
|---|---|
class |
LidJ |
class |
LidX |
| Modifier and Type | Class and Description |
|---|---|
class |
E |
class |
EE |
class |
EEE |
class |
Nand |
class |
Nor |
class |
W |
class |
WW |
class |
WWW |
class |
X |
class |
Xor |
| Modifier and Type | Class and Description |
|---|---|
class |
A0 |
class |
A1 |
class |
A2 |
class |
And |
class |
D0 |
class |
D1 |
class |
D2 |
class |
D3 |
class |
D4 |
class |
D5 |
class |
D6 |
class |
D7 |
class |
If |
class |
Not |
class |
Or |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
OrderTree.nodeCal(GPNode p,
EvolutionState state) |
| Modifier and Type | Class and Description |
|---|---|
class |
OrderTreeF0 |
class |
OrderTreeF1 |
class |
OrderTreeF2 |
class |
OrderTreeF3 |
class |
OrderTreeF4 |
class |
OrderTreeF5 |
class |
OrderTreeF6 |
class |
OrderTreeF7 |
class |
OrderTreeF8 |
class |
OrderTreeF9 |
class |
OrderTreeNode |
class |
OrderTreeT0 |
class |
OrderTreeT1 |
class |
OrderTreeT2 |
class |
OrderTreeT3 |
class |
OrderTreeT4 |
class |
OrderTreeT5 |
class |
OrderTreeT6 |
class |
OrderTreeT7 |
class |
OrderTreeT8 |
class |
OrderTreeT9 |
| Modifier and Type | Class and Description |
|---|---|
class |
D10 |
class |
D11 |
class |
D12 |
class |
D13 |
class |
D14 |
class |
D15 |
class |
D16 |
class |
D17 |
class |
D18 |
class |
D19 |
class |
D20 |
class |
D21 |
class |
D22 |
class |
D23 |
class |
D24 |
class |
D25 |
class |
D26 |
class |
D27 |
class |
D28 |
class |
D29 |
class |
D30 |
class |
D31 |
class |
D8 |
class |
D9 |
| Modifier and Type | Class and Description |
|---|---|
class |
Cos |
class |
Cube |
class |
Exp |
class |
Inv |
class |
KeijzerERC |
class |
KornsERC |
class |
Log |
class |
Neg |
class |
NegExp |
class |
RegERC |
class |
Sin |
class |
Sqrt |
class |
Square |
class |
Tan |
class |
Tanh |
class |
VladERCA |
class |
VladERCB |
class |
VladERCC |
class |
X1 |
class |
X2 |
class |
X3 |
class |
X4 |
class |
X5 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RegERC.nodeEquals(GPNode node) |
| Modifier and Type | Method and Description |
|---|---|
(package private) double |
RoyalTree.fitness(GPNode node,
EvolutionState state) |
(package private) boolean |
RoyalTree.isPerfect(char parent,
GPNode node,
EvolutionState state)
Calculate whether the tree rooted at n is a perfect subtree
of the appropriate type given the current parent.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RoyalTreeA |
class |
RoyalTreeB |
class |
RoyalTreeC |
class |
RoyalTreeD |
class |
RoyalTreeE |
class |
RoyalTreeNode |
class |
RoyalTreeX |
| Modifier and Type | Class and Description |
|---|---|
class |
Y |
| Modifier and Type | Class and Description |
|---|---|
class |
Add |
class |
Div |
class |
H0 |
class |
H1 |
class |
L0 |
class |
L1 |
class |
Mul |
class |
Sub |
class |
W0 |
class |
W1 |
| Modifier and Type | Class and Description |
|---|---|
class |
ADF
An ADF is a GPNode which implements an "Automatically Defined Function",
as described in Koza II.
|
class |
ADFArgument
An ADFArgument is a GPNode which represents an ADF's
argument terminal, its counterpart which returns argument
values in its associated function tree.
|
class |
ADM
An ADM is an ADF which doesn't evaluate its arguments beforehand, but
instead only evaluates them (and possibly repeatedly) when necessary
at runtime.
|
class |
ERC
ERC is an abstract GPNode which implements Ephemeral Random Constants,
as described in Koza I.
|
| Modifier and Type | Field and Description |
|---|---|
GPNode |
GPTree.child
the root GPNode in the GPTree
|
GPNode[] |
GPNode.children |
(package private) GPNode |
GPNodeGatherer.node |
GPNode[][] |
GPFunctionSet.nodes
The nodes that our GPTree can use: nodes[type][thenodes].
|
GPNode[][][] |
GPFunctionSet.nodesByArity
Nodes == a given arity, that is: nodesByArity[type][arity][thenodes]
|
GPNode[][] |
GPFunctionSet.nonterminals
The nonterminals our GPTree can use: nonterminals[type][thenodes].
|
GPNode[][][] |
GPFunctionSet.nonterminalsOverArity
Nonterminals >= a given arity, that is: nonterminalsOverArity[type][arity][thenodes] --
this will be O(n^2).
|
GPNode[][][] |
GPFunctionSet.nonterminalsUnderArity
Nonterminals <= a given arity, that is: nonterminalsUnderArity[type][arity][thenodes] --
this will be O(n^2).
|
GPNode[][] |
GPFunctionSet.terminals
The terminals our GPTree can use: terminals[type][thenodes].
|
GPNode[] |
GPNodeConstraints.zeroChildren
A little memory optimization: if GPNodes have no children, they are welcome to
use share this zero-sized array as their children array.
|
| Modifier and Type | Method and Description |
|---|---|
GPNode |
GPNode.cloneReplacing()
Deprecated.
use clone() instead.
|
GPNode |
GPNode.cloneReplacing(GPNode[] newSubtrees,
GPNode[] oldSubtrees)
Deep-clones the tree rooted at this node, and returns the entire
copied tree.
|
GPNode |
GPNode.cloneReplacing(GPNode newSubtree,
GPNode oldSubtree)
Deep-clones the tree rooted at this node, and returns the entire
copied tree.
|
GPNode |
GPNode.cloneReplacingAtomic(GPNode[] newNodes,
GPNode[] oldNodes)
Clones a new subtree, but with each node in oldNodes[] respectively
(which may or may not be in the subtree) replaced with
the equivalent
nodes in newNodes[] (and not clones).
|
GPNode |
GPNode.cloneReplacingAtomic(GPNode newNode,
GPNode oldNode)
Clones a new subtree, but with the single node oldNode
(which may or may not be in the subtree)
replaced with a newNode (not a clone of newNode).
|
GPNode |
GPNode.cloneReplacingNoSubclone(GPNode newSubtree,
GPNode oldSubtree)
Deep-clones the tree rooted at this node, and returns the entire
copied tree.
|
GPNode |
GPNode.lightClone() |
abstract GPNode |
GPNodeBuilder.newRootedTree(EvolutionState state,
GPType type,
int thread,
GPNodeParent parent,
GPFunctionSet set,
int argposition,
int requestedSize) |
GPNode |
GPNode.nodeInPosition(int p,
GPNodeGatherer g)
Returns the p'th node, constrained by nodesearch,
in the subtree for which this GPNode is root.
|
GPNode |
GPNode.nodeInPosition(int p,
int nodesearch)
Returns the p'th node, constrained by nodesearch,
in the subtree for which this GPNode is root.
|
GPNode |
GPNodeSelector.pickNode(EvolutionState s,
int subpopulation,
int thread,
GPIndividual ind,
GPTree tree)
Picks a node at random from tree and returns it.
|
GPNode |
ERC.readNode(DecodeReturn dret) |
GPNode |
GPNode.readNode(DecodeReturn dret)
Reads the node symbol,
advancing the DecodeReturn to the first character in the string
beyond the node symbol, and returns a new, empty GPNode of the
appropriate class representing that symbol, else null if the
node symbol is not of the correct type for your GPNode class.
|
static GPNode |
GPNode.readRootedTree(EvolutionState state,
DataInput dataInput,
GPType expectedType,
GPFunctionSet set,
GPNodeParent parent,
int argposition) |
static GPNode |
GPNode.readRootedTree(int linenumber,
DecodeReturn dret,
GPType expectedType,
GPFunctionSet set,
GPNodeParent parent,
int argposition,
EvolutionState state)
Reads the node and its children from the form printed out by printRootedTree.
|
| Modifier and Type | Method and Description |
|---|---|
GPNode |
GPNode.cloneReplacing(GPNode[] newSubtrees,
GPNode[] oldSubtrees)
Deep-clones the tree rooted at this node, and returns the entire
copied tree.
|
GPNode |
GPNode.cloneReplacing(GPNode[] newSubtrees,
GPNode[] oldSubtrees)
Deep-clones the tree rooted at this node, and returns the entire
copied tree.
|
GPNode |
GPNode.cloneReplacing(GPNode newSubtree,
GPNode oldSubtree)
Deep-clones the tree rooted at this node, and returns the entire
copied tree.
|
GPNode |
GPNode.cloneReplacingAtomic(GPNode[] newNodes,
GPNode[] oldNodes)
Clones a new subtree, but with each node in oldNodes[] respectively
(which may or may not be in the subtree) replaced with
the equivalent
nodes in newNodes[] (and not clones).
|
GPNode |
GPNode.cloneReplacingAtomic(GPNode[] newNodes,
GPNode[] oldNodes)
Clones a new subtree, but with each node in oldNodes[] respectively
(which may or may not be in the subtree) replaced with
the equivalent
nodes in newNodes[] (and not clones).
|
GPNode |
GPNode.cloneReplacingAtomic(GPNode newNode,
GPNode oldNode)
Clones a new subtree, but with the single node oldNode
(which may or may not be in the subtree)
replaced with a newNode (not a clone of newNode).
|
GPNode |
GPNode.cloneReplacingNoSubclone(GPNode newSubtree,
GPNode oldSubtree)
Deep-clones the tree rooted at this node, and returns the entire
copied tree.
|
boolean |
GPNode.contains(GPNode subnode)
Returns true if the subtree rooted at this node contains subnode.
|
abstract boolean |
ERC.nodeEquals(GPNode node)
Implement this to do ERC-to-ERC comparisons.
|
boolean |
GPNode.nodeEquals(GPNode node)
Returns true if I am the "genetically" identical to this node, and our
children arrays are the same length, though
we may have different parents and children.
|
boolean |
ADF.nodeEquals(GPNode node)
Determines node equality by comparing the class, associated tree, and
function name of the nodes.
|
boolean |
GPNode.nodeEquivalentTo(GPNode node)
Returns true if I and the provided node are the same kind of
node -- that is, we could have both been cloned() and reset() from
the same prototype node.
|
void |
GPNode.replaceWith(GPNode newNode)
Replaces the node with another node in its position in the tree.
|
boolean |
GPNode.rootedTreeEquals(GPNode node)
Returns true if the two rooted trees are "genetically" equal, though
they may have different parents.
|
boolean |
GPNode.swapCompatibleWith(GPInitializer initializer,
GPNode node)
Returns true if I can swap into node's position.
|
boolean |
GPNodeGatherer.test(GPNode thisNode)
Returns true if thisNode is the kind of node to be considered in the
gather count for nodeInPosition(...) and GPNode.numNodes(GPNodeGatherer).
|
| Modifier and Type | Field and Description |
|---|---|
private GPNode |
MutateDemotePipeline.demotableNode |
(package private) GPNode |
SizeFairCrossoverPipeline.NodeInfo.node |
private GPNode |
MutatePromotePipeline.promotableNode |
private GPNode |
RehangPipeline.rehangableNode |
private GPNode |
MutateSwapPipeline.swappableNode |
| Modifier and Type | Method and Description |
|---|---|
protected GPNode |
SizeFairCrossoverPipeline.findFairSizeNode(ArrayList nodeToSubtrees,
HashMap sizeToNodes,
GPNode parent1SelectedNode,
GPTree tree2,
EvolutionState state,
int thread)
This method finds a node using the logic given in the langdon paper.
|
private GPNode |
MutateAllNodesPipeline.generateCompatibleTree(GPNode original,
GPFunctionSet set,
EvolutionState state,
GPType returntype,
int thread)
Returns a brand-new tree which is swap-compatible with returntype, created by making nodes "compatible" with the equivalent nodes in the tree rooted at original.
|
GPNode |
SizeFairCrossoverPipeline.NodeInfo.getNode() |
private GPNode |
MutateAllNodesPipeline.pickCompatibleNode(GPNode original,
GPFunctionSet set,
EvolutionState state,
GPType returntype,
int thread)
Returns a node which is swap-compatible with returntype, and whose arguments are swap-compatible with the current children of original.
|
private GPNode |
MutateOneNodePipeline.pickCompatibleNode(GPNode original,
GPFunctionSet set,
EvolutionState state,
GPType returntype,
int thread)
Returns a node which is swap-compatible with returntype, and whose arguments are swap-compatible with the current children of original.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
MutateDemotePipeline._demoteSomething(GPNode node,
EvolutionState state,
int thread,
GPFunctionSet set) |
private void |
MutateDemotePipeline._demoteSomethingTypeless(GPNode node,
EvolutionState state,
int thread,
GPFunctionSet set) |
private int |
MutateDemotePipeline._numDemotableNodes(GPInitializer initializer,
GPNode root,
int soFar,
GPFunctionSet set) |
private int |
RehangPipeline._numRehangableNodes(GPNode root,
int soFar) |
private int |
MutateDemotePipeline._pickDemotableNode(GPInitializer initializer,
GPNode root,
int num,
GPFunctionSet set) |
private int |
RehangPipeline._pickRehangableNode(GPNode root,
int num) |
private void |
MutateSwapPipeline._swapSomething(GPNode node,
EvolutionState state,
int thread) |
private void |
MutateSwapPipeline._swapSomethingTypeless(GPNode node,
EvolutionState state,
int thread) |
private boolean |
MutateDemotePipeline.demotable(GPInitializer initializer,
GPNode node,
GPFunctionSet set) |
private void |
MutateDemotePipeline.demoteSomething(GPNode node,
EvolutionState state,
int thread,
GPFunctionSet set) |
protected GPNode |
SizeFairCrossoverPipeline.findFairSizeNode(ArrayList nodeToSubtrees,
HashMap sizeToNodes,
GPNode parent1SelectedNode,
GPTree tree2,
EvolutionState state,
int thread)
This method finds a node using the logic given in the langdon paper.
|
private GPNode |
MutateAllNodesPipeline.generateCompatibleTree(GPNode original,
GPFunctionSet set,
EvolutionState state,
GPType returntype,
int thread)
Returns a brand-new tree which is swap-compatible with returntype, created by making nodes "compatible" with the equivalent nodes in the tree rooted at original.
|
void |
MutateERCPipeline.mutateERCs(GPNode node,
EvolutionState state,
int thread) |
private boolean |
InternalCrossoverPipeline.noContainment(GPNode inner1,
GPNode inner2)
Returns true if inner1 and inner2 do not contain one another
|
private int |
MutateDemotePipeline.numDemotableNodes(GPInitializer initializer,
GPNode root,
int soFar,
GPFunctionSet set) |
private int |
MutatePromotePipeline.numPromotableNodes(GPInitializer initializer,
GPNode root,
int soFar) |
private int |
RehangPipeline.numRehangableNodes(GPNode root,
int soFar) |
private int |
MutateSwapPipeline.numSwappableNodes(GPInitializer initializer,
GPNode root,
int soFar) |
private GPNode |
MutateAllNodesPipeline.pickCompatibleNode(GPNode original,
GPFunctionSet set,
EvolutionState state,
GPType returntype,
int thread)
Returns a node which is swap-compatible with returntype, and whose arguments are swap-compatible with the current children of original.
|
private GPNode |
MutateOneNodePipeline.pickCompatibleNode(GPNode original,
GPFunctionSet set,
EvolutionState state,
GPType returntype,
int thread)
Returns a node which is swap-compatible with returntype, and whose arguments are swap-compatible with the current children of original.
|
private int |
MutateDemotePipeline.pickDemotableNode(GPInitializer initializer,
GPNode root,
int num,
GPFunctionSet set) |
private int |
MutatePromotePipeline.pickPromotableNode(GPInitializer initializer,
GPNode root,
int num) |
private int |
RehangPipeline.pickRehangableNode(GPNode root,
int num) |
private int |
MutateSwapPipeline.pickSwappableNode(GPInitializer initializer,
GPNode root,
int num) |
private boolean |
MutatePromotePipeline.promotable(GPInitializer initializer,
GPNode node) |
private void |
MutatePromotePipeline.promoteSomething(GPNode node) |
private void |
RehangPipeline.rehang(EvolutionState state,
int thread,
GPNode pivot,
GPNode root) |
private boolean |
MutateSwapPipeline.swappable(GPInitializer initializer,
GPNode node)
This very expensive method (for types)
might be improved in various ways I guess.
|
private void |
MutateSwapPipeline.swapSomething(GPNode node,
EvolutionState state,
int thread) |
void |
SizeFairCrossoverPipeline.traverseTreeForDepth(GPNode node,
ArrayList nodeToDepth,
HashMap sizeToNodes)
Recursively travel the tree so that depth and subtree below are computed
only once and can be reused later.
|
private boolean |
MutateDemotePipeline.verifyPoint(GPNode inner1)
Returns true if inner1's depth + atdepth +1 is within the depth bounds
|
(package private) boolean |
InternalCrossoverPipeline.verifyPoints(GPInitializer initializer,
GPNode inner1,
GPNode inner2)
Returns true if inner1 can feasibly be swapped into inner2's position.
|
boolean |
SizeFairCrossoverPipeline.verifyPoints(GPInitializer initializer,
GPNode inner1,
GPNode inner2)
Returns true if inner1 can feasibly be swapped into inner2's position.
|
| Constructor and Description |
|---|
SizeFairCrossoverPipeline.NodeInfo(GPNode node,
int numberOfSubtrees) |
| Modifier and Type | Field and Description |
|---|---|
(package private) GPNode |
PTC2.dequeue_node |
GPNode |
UniformGPNodeStorage.node |
(package private) GPNode[] |
PTC2.s_node |
| Modifier and Type | Method and Description |
|---|---|
(package private) GPNode |
RandTree.buildTree(EvolutionState state,
int thread,
GPNodeParent parent,
int argposition,
GPFunctionSet set,
String dyckWord) |
(package private) GPNode |
Uniform.createTreeOfType(EvolutionState state,
int thread,
GPInitializer initializer,
int functionset,
int type,
int size,
MersenneTwisterFast mt) |
GPNode |
RandTree.newRootedTree(EvolutionState state,
GPType type,
int thread,
GPNodeParent parent,
GPFunctionSet set,
int argposition,
int requestedSize) |
GPNode |
Uniform.newRootedTree(EvolutionState state,
GPType type,
int thread,
GPNodeParent parent,
GPFunctionSet set,
int argposition,
int requestedSize) |
GPNode |
PTC1.newRootedTree(EvolutionState state,
GPType type,
int thread,
GPNodeParent parent,
GPFunctionSet set,
int argposition,
int requestedSize) |
GPNode |
RandomBranch.newRootedTree(EvolutionState state,
GPType type,
int thread,
GPNodeParent parent,
GPFunctionSet set,
int argposition,
int requestedSize) |
GPNode |
PTC2.newRootedTree(EvolutionState state,
GPType type,
int thread,
GPNodeParent parent,
GPFunctionSet set,
int argposition,
int requestedSize) |
private GPNode |
PTC1.ptc1(EvolutionState state,
int current,
GPType type,
int thread,
GPNodeParent parent,
int argposition,
GPFunctionSet set,
PTCFunctionSetForm pset,
double[] nonterminalSelectionProbabilities)
A private function which recursively returns a GROW tree to newRootedTree(...)
|
private GPNode |
RandomBranch.randomBranch(EvolutionState state,
GPType type,
int maxLength,
int thread,
GPNodeParent parent,
int argposition,
GPFunctionSet set) |
| Modifier and Type | Method and Description |
|---|---|
private void |
PTC2.enqueue(GPNode n,
int argpos,
int depth) |
(package private) void |
Uniform.fillNodeWithChildren(EvolutionState state,
int thread,
GPInitializer initializer,
int functionset,
GPNode parent,
GPNode parentc,
int pickchild,
int outof,
MersenneTwisterFast mt) |
int |
Uniform.intForNode(GPNode node) |
BigInteger |
Uniform.numChildPermutations(GPInitializer initializer,
int functionset,
GPNode parent,
int size,
int outof,
int pickchild) |
BigInteger |
Uniform.numTreesRootedByNode(GPInitializer initializer,
int functionset,
GPNode node,
int size) |
| Modifier and Type | Field and Description |
|---|---|
(package private) GPNode |
GrammarFunctionNode.prototype |
| Modifier and Type | Method and Description |
|---|---|
GPNode |
GrammarFunctionNode.getGPNodePrototype()
Returns the prototype without cloning it first.
|
(package private) GPNode |
GESpecies.makeSubtree(int[] index,
int[] genome,
EvolutionState es,
GPFunctionSet gpfs,
GrammarRuleNode rule,
int treeNum,
int threadnum,
HashMap ercMapsForFancyPrint,
GPNodeParent parent,
byte argposition) |
GPNode |
GESpecies.obtainERC(EvolutionState state,
int genomeVal,
int threadnum,
GPNode node,
HashMap ercMapsForFancyPrint)
Loads an ERC from the ERCBank given the value in the genome.
|
| Modifier and Type | Method and Description |
|---|---|
List |
GESpecies.gatherNodeString(EvolutionState state,
int threadnum,
GPNode node,
int index)
Used by the above function
|
String |
GESpecies.getKeyFromNode(EvolutionState state,
int threadnum,
GPNode node,
int index) |
GPNode |
GESpecies.obtainERC(EvolutionState state,
int genomeVal,
int threadnum,
GPNode node,
HashMap ercMapsForFancyPrint)
Loads an ERC from the ERCBank given the value in the genome.
|
| Modifier and Type | Method and Description |
|---|---|
protected GPNode |
KozaBuilder.fullNode(EvolutionState state,
int current,
int max,
GPType type,
int thread,
GPNodeParent parent,
int argposition,
GPFunctionSet set)
A private recursive method which builds a FULL-style tree for newRootedTree(...)
|
protected GPNode |
KozaBuilder.growNode(EvolutionState state,
int current,
int max,
GPType type,
int thread,
GPNodeParent parent,
int argposition,
GPFunctionSet set)
A private function which recursively returns a GROW tree to newRootedTree(...)
|
GPNode |
HalfBuilder.newRootedTree(EvolutionState state,
GPType type,
int thread,
GPNodeParent parent,
GPFunctionSet set,
int argposition,
int requestedSize) |
GPNode |
GrowBuilder.newRootedTree(EvolutionState state,
GPType type,
int thread,
GPNodeParent parent,
GPFunctionSet set,
int argposition,
int requestedSize) |
GPNode |
FullBuilder.newRootedTree(EvolutionState state,
GPType type,
int thread,
GPNodeParent parent,
GPFunctionSet set,
int argposition,
int requestedSize) |
GPNode |
KozaNodeSelector.pickNode(EvolutionState s,
int subpopulation,
int thread,
GPIndividual ind,
GPTree tree) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CrossoverPipeline.verifyPoints(GPInitializer initializer,
GPNode inner1,
GPNode inner2)
Returns true if inner1 can feasibly be swapped into inner2's position.
|
boolean |
MutationPipeline.verifyPoints(GPNode inner1,
GPNode inner2)
Returns true if inner1 can feasibly be swapped into inner2's position
|
| Modifier and Type | Class and Description |
|---|---|
class |
Nonterminal
ECJ implements Push's s-expressions as trees of nonterminals
and terminals.
|
class |
Terminal
Terminal is the leaf node in Push trees and is used to represent Push
instructions of all types.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) GPNode[] |
PushBuilder.dummy |
| Modifier and Type | Method and Description |
|---|---|
GPNode |
PushBuilder.newRootedTree(EvolutionState state,
GPType type,
int thread,
GPNodeParent parent,
GPFunctionSet set,
int argposition,
int requestedSize) |
GPNode[] |
PushBuilder.shuffle(GPNode[] objs,
EvolutionState state,
int thread) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Terminal.nodeEquals(GPNode other) |
GPNode[] |
PushBuilder.shuffle(GPNode[] objs,
EvolutionState state,
int thread) |
Copyright © 2014 Evolutionary Computation Laboratory at George Mason University. All rights reserved.