Uses of Class
org.artoflife.gp.genome.GpTreeNode

Packages that use GpTreeNode
org.artoflife.gp.genome This package implements the abstract GP core (in org.artoflife.gp) with a strongly typed Koza-like GP tree per chromsome. 
org.artoflife.gp.genome.bool A basic collection of genes built on the base in org.artoflife.gp.genome that implement boolean operators including logical, comparative and conditional, as well as a GpMutator that acts on Boolean genes. 
org.artoflife.gp.genome.numeric A basic collection of genes built on the base in org.artoflife.gp.genome that implement numeric operators including arithmetic, trigonometric and other simple functions, as well as a GpMutator that acts on Float genes. 
 

Uses of GpTreeNode in org.artoflife.gp.genome
 

Subclasses of GpTreeNode in org.artoflife.gp.genome
 class FunctionGene
          A gene that that returns a certain type and acts on a list of typed parameters.
 class RootGene
          Gene that GpTreeChromosome uses as its root gene: it passes through a type.
 class VariableGene
          Represents the value of a field from the Phenotype, retrieved as a JavaBeans property.
 

Methods in org.artoflife.gp.genome that return GpTreeNode
 GpTreeNode VariableGene.getParameterGene(int index)
           
abstract  GpTreeNode GpTreeNode.getParameterGene(int index)
           
 GpTreeNode GpTreeChromosome.getRootGene()
           
 GpTreeNode GeneFactory.getGeneTree(java.lang.String id, java.lang.Class returnClass)
          Note that this recurses indefinitely if there are no leaf genes in the valid set.
protected  GpTreeNode GeneFactory.getGeneTree(java.lang.String id, java.lang.Class returnClass, int depth)
           
 GpTreeNode FunctionGene.getParameterGene(int index)
           
 

Methods in org.artoflife.gp.genome with parameters of type GpTreeNode
 void VariableGene.setParameterGene(int index, GpTreeNode gene)
           
 void ReplaceParameterMutator.mutate(java.lang.String geneSelectionId, GpTreeNode gene)
          Replace a parameter of this gene with a random one from the {GeneFactory}, using a configured probability of choosing from only the terminals.
 void JumpUpMutator.mutate(java.lang.String geneSelectionId, GpTreeNode gene)
          Replace a parameter of this gene with a parameter of the parameter's gene.
 void JumpDownMutator.mutate(java.lang.String geneSelectionId, GpTreeNode gene)
          Replace a parameter of this function with a new gene using the original parameter as a parameter of the new function.
abstract  void GpTreeNode.setParameterGene(int index, GpTreeNode gene)
           
 void GpMutator.mutate(java.lang.String geneSelectionId, GpTreeNode gene)
           
 void GeneFactory.setGenes(java.lang.String id, GpTreeNode[] genes)
           
 void FunctionGene.setParameterGene(int index, GpTreeNode gene)
           
 void CopyJumpDownMutator.mutate(java.lang.String geneSelectionId, GpTreeNode gene)
          Replace a parameter of a child with a parameter of this.
 

Uses of GpTreeNode in org.artoflife.gp.genome.bool
 

Subclasses of GpTreeNode in org.artoflife.gp.genome.bool
 class AndGene
          True if boolean parameters are both true.
 class BinaryLogicalGene
          Abstract base class for boolean operators like AndGene and GreaterThanGene and others that take two boolean parameters and return a boolean.
 class BooleanGene
          Represents a boolean value, mutated with BooleanMutator).
 class ComparisonGene
          Abstract base class for boolean operators like EqualsGene and GreaterThanGene that act on two float genes and return a boolean.
 class EqualsGene
          True if float parameters are equal (within a preset precision).
 class GreaterThanGene
          True if float value1 (a float) is greater than value2 (a float).
 class LessThanGene
          True if float value1 (a float) is less than value2 (a float).
 class NotGene
          True if boolean value1 is false and vice versa.
 class OrGene
          True if one of the two boolean parameters are true.
 class UnaryLogicalGene
          Abstract base class for unary logical operators like NotGene that take a boolean parameter and return a boolean.
 

Methods in org.artoflife.gp.genome.bool that return GpTreeNode
 GpTreeNode BooleanGene.getParameterGene(int index)
           
 

Methods in org.artoflife.gp.genome.bool with parameters of type GpTreeNode
 void BooleanMutator.mutate(java.lang.String geneSelectionId, GpTreeNode gene)
           
 void BooleanGene.setParameterGene(int index, GpTreeNode gene)
           
 

Uses of GpTreeNode in org.artoflife.gp.genome.numeric
 

Subclasses of GpTreeNode in org.artoflife.gp.genome.numeric
 class AbsGene
          Abs float value of a float.
 class AddGene
          Float sum of two float parameters.
 class AtanGene
          Float arctan of float value (in radians).
 class BinaryNumericGene
          Abstract base class for binary numeric operators like AddGene and others.
 class CosGene
          Float cosine of float value (in radians).
 class DivideGene
          Float value of value1 (a float) divided by value2 (a float).
 class FloatGene
          Represents a float value with some min and max value.
 class LogGene
          Float log of float value.
 class MaxGene
          Float max of two float values.
 class MinGene
          Float max of two float values.
 class ModGene
          Float value of value1 (a float) modulus value2 (a float).
 class MultiplyGene
          Float value of value1 (a float) multiplied by value2 (a float).
 class NumericIfGene
          Return a float depending on value of first Boolean parameter: if true return first Number (as float) parameter, else return second Number (as float) parameter.
 class PowGene
          Float value of value1 (a float) to the power of value2 (a float).
 class RoundGene
          Float value of value1 (a float) rounded to closest integer.
 class SinGene
          Float sine of float value (in radians).
 class SubGene
          Float value of value1 (a float) minus value2 (a float).
 class UnaryNumericGene
          Abstract base class for unary numeric operators like SinGene and others.
 

Methods in org.artoflife.gp.genome.numeric that return GpTreeNode
 GpTreeNode FloatGene.getParameterGene(int index)
           
 

Methods in org.artoflife.gp.genome.numeric with parameters of type GpTreeNode
 void FloatGene.setParameterGene(int index, GpTreeNode gene)
           
 void FloatGaussianRangeMutator.mutate(java.lang.String geneSelectionId, GpTreeNode gene)
           
 


artoflife pre0.1.0-dev

Copyright © 2002 the Art Of Life team. All Rights Reserved.