|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DerivationTree | |
---|---|
Mapper | |
Operator.Operations.ContextSensitiveOperations | |
Util |
Uses of DerivationTree in Mapper |
---|
Subclasses of DerivationTree in Mapper | |
---|---|
class |
ContextualDerivationTree
This class is used for building a genotype to phenotype mapping it also stores information on which codons affect structural or nodal grammar rules, for a more selective mutation |
Methods in Mapper that return DerivationTree | |
---|---|
DerivationTree |
GEGrammar.getDerivationTree()
|
static DerivationTree |
TreeMill.getDerivationTree(GEGrammar gegrammar)
|
Methods in Mapper with parameters of type DerivationTree | |
---|---|
void |
GEGrammar.setDerivationTree(DerivationTree dT)
Set the derivation tree |
Constructors in Mapper with parameters of type DerivationTree | |
---|---|
DerivationTree(DerivationTree copy)
Copy Constructor |
Uses of DerivationTree in Operator.Operations.ContextSensitiveOperations |
---|
Methods in Operator.Operations.ContextSensitiveOperations with parameters of type DerivationTree | |
---|---|
int |
SubtreeMutation.getMaxDTIndex(DerivationTree dT)
|
Uses of DerivationTree in Util |
---|
Methods in Util that return DerivationTree | |
---|---|
static DerivationTree |
GenotypeHelper.buildDerivationTree(Individual individual)
Build a derivation tree for a given individual |
static DerivationTree |
GenotypeHelper.buildDerivationTree(Individual individual,
DerivationNode node)
Build a derivation tree rooted at the specified node for a given individual. |
static DerivationTree |
GenotypeHelper.buildInvalidTree(Individual individual)
Build a derivation tree for a given individual |
static DerivationTree |
GenotypeHelper.buildInvalidTree(Individual individual,
DerivationNode node)
Build derivation trees for invalid individuals for repair operators. |
Methods in Util with parameters of type DerivationTree | |
---|---|
static boolean |
GenotypeHelper.derivationTreesEqual(DerivationTree t1,
DerivationTree t2)
Compare the derivation trees for equality. |
static DerivationNode |
GenotypeHelper.findNodeFromCodonIndex(DerivationTree tree,
int codonIndex)
Given a derivation tree and a codon index, return the tree node that makes use of the codon at that index. e.g., if codonIndex was 0, the root branch decides which production is picked based on the value of the codon at index 0, so the root is returned in this case |
static DerivationNode |
GenotypeHelper.findNodeFromCodonIndex(DerivationTree tree,
int codonIndex,
int usedGenes)
|
static java.util.ArrayList<java.lang.Integer> |
GenotypeHelper.getDerivationTreeIndeces(DerivationTree dT)
|
static int |
GenotypeHelper.getMaxDTIndex(DerivationTree dT)
Method to return the maximum codon index value in a derivation tree |
static int[] |
GenotypeHelper.getRecursiveNodeIndeces(DerivationTree dt,
GEGrammar gram)
Return an array with all the indeces of recursive derivation tree nodes. |
static GEChromosome |
GenotypeHelper.makeNewChromosome(Individual i1,
int point,
int length,
Individual i2,
DerivationTree tree)
Given two individuals, whose chromosomes are split into three codon groups running from [0..point1), [point1..point1+length), and [point1+length..usedGenes), named head, body, and tail respectively, return a chromosome with a head and tail made up of individual-one's chromosome, and all of individual-two, i.e., head(i1)+all(i2)+tail(i1). |
static GEChromosome |
GenotypeHelper.makeNewChromosome(Individual i1,
int point1,
int length1,
Individual i2,
int point2,
int length2,
DerivationTree tree)
|
static int |
GenotypeHelper.numRecNodes(DerivationTree tree,
GEGrammar gram)
This method takes a derivation tree and a grammar and returns the number of recursive nodes in that derivation tree. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |