| Package | Description |
|---|---|
| ec.gp | |
| ec.gp.breed | |
| ec.gp.build | |
| ec.gp.ge | |
| ec.gp.koza | |
| ec.gp.push |
| Modifier and Type | Field and Description |
|---|---|
GPFunctionSet |
GPTreeConstraints.functionset
The function set for nodes in the tree
|
| Modifier and Type | Method and Description |
|---|---|
static GPFunctionSet |
GPFunctionSet.functionSetFor(String functionSetName,
EvolutionState state)
Returns the function set for a given name.
|
| Modifier and Type | Method and Description |
|---|---|
abstract GPNode |
GPNodeBuilder.newRootedTree(EvolutionState state,
GPType type,
int thread,
GPNodeParent parent,
GPFunctionSet set,
int argposition,
int requestedSize) |
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.
|
(package private) int |
GPNode.verify(EvolutionState state,
GPFunctionSet set,
int index)
Verification of validity of the node in the tree -- strictly for debugging purposes only
|
void |
GPNode.writeRootedTree(EvolutionState state,
GPType expectedType,
GPFunctionSet set,
DataOutput dataOutput) |
| 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 |
MutateDemotePipeline._pickDemotableNode(GPInitializer initializer,
GPNode root,
int num,
GPFunctionSet set) |
private boolean |
MutateDemotePipeline.demotable(GPInitializer initializer,
GPNode node,
GPFunctionSet set) |
private void |
MutateDemotePipeline.demoteSomething(GPNode node,
EvolutionState state,
int thread,
GPFunctionSet set) |
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.
|
private int |
MutateDemotePipeline.numDemotableNodes(GPInitializer initializer,
GPNode root,
int soFar,
GPFunctionSet set) |
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) |
| Modifier and Type | Class and Description |
|---|---|
class |
PTCFunctionSet
PTCFunctionSet is a GPFunctionSet which adheres to PTCFunctionSetForm, and thus
can be used with the PTC1 and PTC2 methods.
|
| Modifier and Type | Field and Description |
|---|---|
GPFunctionSet[] |
Uniform.functionsets |
| Modifier and Type | Method and Description |
|---|---|
(package private) GPNode |
RandTree.buildTree(EvolutionState state,
int thread,
GPNodeParent parent,
int argposition,
GPFunctionSet set,
String dyckWord) |
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) |
void |
RandTree.setupArities(EvolutionState state,
GPFunctionSet set) |
| Modifier and Type | Method and Description |
|---|---|
(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) |
(package private) void |
GrammarParser.parseProductions(EvolutionState state,
GrammarRuleNode retResult,
Lexer lexer,
GPFunctionSet gpfs) |
(package private) GrammarRuleNode |
GrammarParser.parseRule(EvolutionState state,
Lexer lexer,
GPFunctionSet gpfs) |
GrammarRuleNode |
GrammarParser.parseRules(EvolutionState state,
BufferedReader reader,
GPFunctionSet gpfs)
Parses the rules from a grammar and returns the resulting GrammarRuleNode root.
|
| Constructor and Description |
|---|
GrammarFunctionNode(GPFunctionSet gpfs,
String name)
Determines the GPNode from the function set by the name.
|
| 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) |
| Modifier and Type | Method and Description |
|---|---|
GPNode |
PushBuilder.newRootedTree(EvolutionState state,
GPType type,
int thread,
GPNodeParent parent,
GPFunctionSet set,
int argposition,
int requestedSize) |
Copyright © 2014 Evolutionary Computation Laboratory at George Mason University. All rights reserved.