Uses of Class
ec.gp.GPType

Packages that use GPType
ec.gp   
ec.gp.build   
ec.gp.koza   
 

Uses of GPType in ec.gp
 

Subclasses of GPType in ec.gp
 class GPAtomicType
          A GPAtomicType is a simple, atomic GPType.
 class GPSetType
          A GPSetType is a GPType which contains GPAtomicTypes in a set, and is used as a generic GP type.
 

Fields in ec.gp declared as GPType
 GPType[] GPNodeConstraints.childtypes
          The children types for a GPNode
 GPType GPNodeConstraints.returntype
          The return type for a GPNode
 GPType GPTreeConstraints.treetype
          The type of the root of the tree
 GPType[] GPInitializer.types
           
 

Methods in ec.gp that return GPType
 GPType GPNode.parentType(GPInitializer initializer)
          Returns the argument type of the slot that I fit into in my parent.
static GPType GPType.typeFor(java.lang.String typeName, EvolutionState state)
          Returns a type for a given name.
 

Methods in ec.gp with parameters of type GPType
abstract  boolean GPType.compatibleWith(GPInitializer initializer, GPType t)
          Am I compatible with ("fit" with) t? For two atomic types, this is done by direct pointer equality.
 boolean GPSetType.compatibleWith(GPInitializer initializer, GPType t)
           
 boolean GPAtomicType.compatibleWith(GPInitializer initializer, GPType t)
           
protected  void GPNodeBuilder.errorAboutNoNodeWithType(GPType type, EvolutionState state)
          Issues a fatal error that no node (nonterminal or terminal) was found with a return type of the given type, and that an algorithm had requested one.
abstract  GPNode GPNodeBuilder.newRootedTree(EvolutionState state, GPType type, int thread, GPNodeParent parent, GPFunctionSet set, int argposition, int requestedSize)
           
static GPNode GPNode.readRootedTree(EvolutionState state, java.io.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.
protected  boolean GPNodeBuilder.warnAboutNonterminal(boolean test, GPType type, boolean fail, EvolutionState state)
          If the given test is true, issues a warning that no terminal was found with a return type of the given type, and that an algorithm had requested one.
protected  void GPNodeBuilder.warnAboutNonTerminalWithType(GPType type, boolean fail, EvolutionState state)
          Issues a warning that no nonterminal was found with a return type of the given type, and that an algorithm had requested one.
protected  void GPNodeBuilder.warnAboutNoTerminalWithType(GPType type, boolean fail, EvolutionState state)
          Issues a warning that no terminal was found with a return type of the given type, and that an algorithm had requested one.
 void GPNode.writeRootedTree(EvolutionState state, GPType expectedType, GPFunctionSet set, java.io.DataOutput dataOutput)
           
 

Uses of GPType in ec.gp.build
 

Methods in ec.gp.build with parameters of type GPType
 GPNode PTC2.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 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)
           
 

Uses of GPType in ec.gp.koza
 

Methods in ec.gp.koza with parameters of type GPType
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)