Uses of Class
Mapper.DerivationNode

Packages that use DerivationNode
Mapper   
Util   
 

Uses of DerivationNode in Mapper
 

Methods in Mapper with parameters of type DerivationNode
protected  boolean DerivationTree.growNode(DerivationNode t)
          Grows the nodes of the tree in a recursive procedure.
protected  boolean ContextualDerivationTree.growNode(DerivationNode t)
          Grows the nodes of the tree in a recursive procedure.
 

Uses of DerivationNode in Util
 

Methods in Util that return DerivationNode
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)
           
 

Methods in Util with parameters of type DerivationNode
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, DerivationNode node)
          Build derivation trees for invalid individuals for repair operators.
static int GenotypeHelper.calcNodeLength(DerivationNode nodes)
          Calculate how may codons are used to build a specified branch of a tree.
static int GenotypeHelper.findLastRecIndex(DerivationNode dNode, GEGrammar gram)
          This method takes a derivation node and a grammar and returns the codon index of the last recurisve node in the derivation tree.
static Phenotype GenotypeHelper.getNodePhenotype(DerivationNode node)
           
static int GenotypeHelper.nodesDifferentAtIndex(DerivationNode n1, DerivationNode n2)
          This method is used to compare two different derivation nodes to see at which index in the tree, they differ.