A B C D E F G I K L M N O P R S T U V W X Y Z

A

Add - class gpsys.primitives.Add.
<typeX> Add(<typeX> num1, <typeX> num2) Add is a generic function that returns the result of adding both arguments.
add(Fitness) - Method in class gpsys.Fitness
Add a fitness value to this fitness value.
add(Fitness) - Method in class gpsys.lawnmower.LawnMowerFitness
Adds a fitness value to this fitness value.
add(Fitness) - Method in class gpsys.symreg.SymRegFitness
Adds a fitness value to this fitness value.
Add(Type) - Constructor for class gpsys.primitives.Add
Constructs an Add Function that works with the specified Type.
add(Vector2Mod8, Vector2Mod8) - Static method in class gpsys.lawnmower.Vector2Mod8
Construct a new Vector2Mod8 object which is the sum of the specified Vector2Mod8 objects.
addCrossover(ParentInfo) - Method in class gpsys.ParentInfo
Adds a crossover operation to this parent.
addCrossoverOperation(int, int) - Method in class gpsys.CrossoverBookkeeping
Add a crossover operation to the list of operations to be performed.
addMutation() - Method in class gpsys.ParentInfo
Adds a mutation operation to this parent.
addMutationOperation(int) - Method in class gpsys.CrossoverBookkeeping
Add a mutation operation to the list of operations to be performed.
addReproduction() - Method in class gpsys.ParentInfo
Adds a reproduction operation to this parent.
addReproductionOperation(int) - Method in class gpsys.CrossoverBookkeeping
Add a reproduction operation to the list of operations to be performed.
addToList(ParentInfo) - Method in class gpsys.CrossoverBookkeeping
Add the parent mating information structure to the appropriate list.
AddVector2Mod8 - class gpsys.lawnmower.AddVector2Mod8.
Vector2Mod8 AddVector2Mod8(Vector2Mod8 v1, Vector2Mod8 v2) A Function that adds two Vector2Mod8 quantities and returns the result.
AddVector2Mod8() - Constructor for class gpsys.lawnmower.AddVector2Mod8
Create a Vector2Mod8 adder object.
adf - Variable in class gpsys.Chromosome
index into the adf array in the gpParameters.
adf - Variable in class gpsys.Individual
An Individual has a number of Chromosomes.
adf - Variable in class gpsys.GPParameters
Parameters for each ADF to be evolved.
ADF1 - class gpsys.lawnmower.ADF1.
Vector2Mod8 ADF1 ADF1 is an automatically defined Terminal.
ADF1() - Constructor for class gpsys.lawnmower.ADF1
Construct an ADF1 terminal assigning its type to Vector2Mod8.
ADF2 - class gpsys.lawnmower.ADF2.
Vector2Mod8 ADF2(Vector2Mod8 arg) ADF2 is an automatically defined Function which takes one argument.
ADF2(ADF2Arg0) - Constructor for class gpsys.lawnmower.ADF2
Create an ADF2 Object.
ADF2Arg0 - class gpsys.lawnmower.ADF2Arg0.
Vector2Mod8 ADF2Arg0 This Terminal represents the one and only argument of ADF2.
ADF2Arg0() - Constructor for class gpsys.lawnmower.ADF2Arg0
Create a new ADF2Arg0 object, setting the type to Vector2Mod8.
adfIndex - Variable in class gpsys.ADFunction
should be set to the index corresponding to this ADF in the adf array defined in your GPParameters extension.
adfIndex - Variable in class gpsys.ADTerminal
should be set to the index corresponding to this ADF in the adf array defined in your GPParameters extension.
ADFunction - class gpsys.ADFunction.
An Automatically Defined Function is a Function that is evolved.
ADFunction() - Constructor for class gpsys.ADFunction
 
ADTerminal - class gpsys.ADTerminal.
An Automatically Defined Terminal is a Terminal that is evolved.
ADTerminal() - Constructor for class gpsys.ADTerminal
 
And - class gpsys.primitives.And.
BOOLEAN and(BOOLEAN b1, BOOLEAN b2) And is a boolean function that returns the logical "and" of both arguments.
And() - Constructor for class gpsys.primitives.And
Construct an instance of the And Function.
arg0 - Variable in class gpsys.lawnmower.LawnMowerChromosomeParametersADF2
 
arg0 - Variable in class gpsys.lawnmower.ADF2
A reference to the Terminal defining the argument to this Function.
argTypes - Variable in class gpsys.Function
The types of each argument that this function takes.
arguments - Variable in class gpsys.GeneFunction
The arguments for this function call.
averageComplexity - Variable in class gpsys.Population
The average number of nodes in the Individuals of the Population.
averageFitness - Variable in class gpsys.Population
The average fitness of the Population.

B

bestGeneration - Variable in class gpsys.Population
The fittest Individual in the Population.
bestRun - Variable in class gpsys.Population
The fittest Individual of the Run.
bookkeepingInfo - Variable in class gpsys.Population
Used for implementing a minimal memory generational evolution engine.
BOOLEAN - Static variable in class gpsys.Type
The java boolean type.
BOOLEAN_typeID - Static variable in class gpsys.Type
The type ID for java byte type.
branchesOfType(Gene, int, Gene, Type, Vector, Vector) - Static method in class gpsys.GeneBranch
Get a table of all subtrees of a given type.
BUSY - Static variable in class gpsys.ParentInfo
A parent is busy if it has one or more outstanding genetic operations to be performed.
bvalue - Variable in class gpsys.primitives.XBoolean
Holds the value of the variable.
bvalue - Variable in class gpsys.primitives.XByte
Holds the value of the variable.
BYTE - Static variable in class gpsys.Type
The java byte type.
BYTE_typeID - Static variable in class gpsys.Type
The type ID for java byte type.

C

CHAR - Static variable in class gpsys.Type
The java char type.
CHAR_typeID - Static variable in class gpsys.Type
The type ID for java byte type.
child - Variable in class gpsys.GeneBranch
The Gene subtree itself.
Chromosome - class gpsys.Chromosome.
A Chromosome defines an evolvable gene tree.
Chromosome(GPParameters, int) - Constructor for class gpsys.Chromosome
Constructs a new Chromosome using the specified GPParameters.
ChromosomeParameters - class gpsys.ChromosomeParameters.
ChromosomeParameters define information needed to construct a chromosome.
ChromosomeParameters() - Constructor for class gpsys.ChromosomeParameters
 
complexity - Variable in class gpsys.Chromosome
A count of the total number of nodes in this tree.
complexity - Variable in class gpsys.Individual
The total number of Genes used across all Chromosomes.
complexity - Variable in class gpsys.lawnmower.LawnMowerFitness
The complexity of the individual i.e.
complexity - Variable in class gpsys.symreg.SymRegFitness
The complexity of the GP i.e.
complexity() - Method in class gpsys.Gene
Calculates the number of nodes (Genes) in the subtree starting at this node (Gene).
complexity() - Method in class gpsys.GeneFunction
Get the number of Genes in this Gene tree.
complexity() - Method in class gpsys.Chromosome
Calculates the number of nodes in the Gene tree of this Chromosome.
complexity() - Method in class gpsys.GeneTerminal
Get the number of Genes in this Gene.
complexity() - Method in class gpsys.Individual
Get the total number of Genes in this Individual.
ConstantDouble - class gpsys.primitives.ConstantDouble.
DOUBLE ConstantDouble Creates a Terminal representing an ephemeral random constant of Type DOUBLE.
ConstantDouble(Random, double, double) - Constructor for class gpsys.primitives.ConstantDouble
Create a ephemeral random constant of type double in the range between from and to using the random number generator rng.
ConstantFloat - class gpsys.primitives.ConstantFloat.
FLOAT ConstantFloat Creates a Terminal representing an ephemeral random constant of Type FLOAT.
ConstantFloat(Random, float, float) - Constructor for class gpsys.primitives.ConstantFloat
Create a ephemeral random constant of type float in the range between from and to using the random number generator rng.
ConstantVector2Mod8 - class gpsys.lawnmower.ConstantVector2Mod8.
Vector2Mod8 ConstantVector2Mod8 Creates a Terminal representing an ephemeral random constant of Type Vector2Mod8.
ConstantVector2Mod8(Random) - Constructor for class gpsys.lawnmower.ConstantVector2Mod8
Create a new ephemeral random Vector2Mod8 constant in the range (0,0) to (8,8).
CREATE_FULL - Static variable in class gpsys.ChromosomeParameters
This constant used to initialise the createMethod variable to select the full method of creation.
CREATE_GROW - Static variable in class gpsys.ChromosomeParameters
This constant used to initialise the createMethod variable to select the grow method of creation.
CREATE_RAMP_HALF_AND_HALF - Static variable in class gpsys.ChromosomeParameters
This constant used to initialise the createMethod variable to select the ramp method of creation.
createLists() - Method in class gpsys.CrossoverBookkeeping
Populate the four lists with parent mating information.
createMethod - Variable in class gpsys.ChromosomeParameters
The method of Chromosome creation, this can be initialised to any of the following constants.
CREATION - Static variable in interface gpsys.GPObserver
Used to indicate that the generation update is for the 0th generation.
creationIndex - Variable in class gpsys.GPParameters
Used during the generation of the initial popupation.
cross(Chromosome, Chromosome) - Static method in class gpsys.Chromosome
Creates a new child Chromosome via crossover of the mother and father Chromosomes.
CROSSOVER - Static variable in class gpsys.Population
Used internally to signal a crossover operation.
CrossoverBookkeeping - class gpsys.CrossoverBookkeeping.
This is an implementation of the bookkeeping class used for memory efficient crossover as described in the book Genetic Programming III.
CrossoverBookkeeping(int) - Constructor for class gpsys.CrossoverBookkeeping
Construct a bookkeeping object suitable for storing the selected genetic operations for creating the next generation.
CrossoverOperation - class gpsys.CrossoverOperation.
This class represents a Crossover operation.
CrossoverOperation(int, int) - Constructor for class gpsys.CrossoverOperation
Constructs a Crossover operation to be performed on the specified parents.
crossoverParents - Variable in class gpsys.ParentInfo
A list containing information about parents involved in crossover operations with this parent.
crossovers - Variable in class gpsys.Population
Total number of crossovers performed.
CUT - Static variable in class gpsys.lawnmower.Lawn
Used to tag squares on the lawn as having been cut.
cut(int, int) - Method in class gpsys.lawnmower.Lawn
Sets the specified square on the lawn to the CUT state, and informs the observer of the event.
cutCount - Variable in class gpsys.lawnmower.Lawn
Used to keep a count of how many squares have been cut.
cutCount() - Method in class gpsys.lawnmower.Lawn
Gets a count of the number of squares on the lawn in the CUT state.
cvalue - Variable in class gpsys.primitives.XChar
Holds the value of the variable.

D

d - Variable in class gpsys.primitives.ConstantDouble
The value of this constant.
DEAD - Static variable in class gpsys.ParentInfo
A parent has this state if it has expired and been replaced a new Individual.
deepClone() - Method in class gpsys.Gene
Makes a deep clone of this Gene, i.e.
deepClone() - Method in class gpsys.GeneFunction
Make a clone of this Gene tree, cloning all subtrees.
deepClone() - Method in class gpsys.Chromosome
Makes a deep copy of this Chromsome by making a copy of the entire data graph.
deepClone() - Method in class gpsys.GeneTerminal
Make a clone of this Gene.
depth() - Method in class gpsys.Gene
Calculates the maximum depth of the subtree starting at this node (Gene).
depth() - Method in class gpsys.GeneFunction
Get the maximum depth of this Gene tree
depth() - Method in class gpsys.GeneTerminal
Calculate the maximum depth of this Gene.
diagnosticUpdate(String) - Method in interface gpsys.GPObserver
Invoked by the GP system whenever something interesting occurs, the supplied String indictates what happened.
diagnosticUpdate(String) - Method in class gpsys.lawnmower.LawnMower
Print the diagnostic message to the standard output.
diagnosticUpdate(String) - Method in class gpsys.symreg.SymReg
Print the diagnostic message to the standard output.
direction - Variable in class gpsys.lawnmower.Mower
The current direction of the mower, can be one of NORTH, EAST, SOUTH or WEST.
disableObserver() - Method in class gpsys.lawnmower.Lawn
Disables the observer from receiving change messages.
Div - class gpsys.primitives.Div.
<typeX> Div(<typeX> num1, <typeX> num2) Div is a generic function that returns the result of dividing the first argument by the second argument.
Div(Type) - Constructor for class gpsys.primitives.Div
Constructs a Div Function that works with the specified Type.
divide(int) - Method in class gpsys.Fitness
Divide the fitness by the specified integer.
divide(int) - Method in class gpsys.lawnmower.LawnMowerFitness
Divide the fitness by the specified integer.
divide(int) - Method in class gpsys.symreg.SymRegFitness
Divide the fitness by the specified integer.
DivideByZeroException - exception gpsys.DivideByZeroException.
An DivideByZeroException flags an attempt to divide by zero.
DivideByZeroException() - Constructor for class gpsys.DivideByZeroException
Create a DivideByZeroException with an empty message.
DivideByZeroException(String) - Constructor for class gpsys.DivideByZeroException
Create a DivideByZeroException with the specified message.
DOUBLE - Static variable in class gpsys.Type
The java double type.
DOUBLE_typeID - Static variable in class gpsys.Type
The type ID for java byte type.
dvalue - Variable in class gpsys.primitives.XDouble
Holds the value of the variable.

E

EAST - Static variable in class gpsys.lawnmower.Mower
The value of direction when the mower is pointing EAST.
enableObserver() - Method in class gpsys.lawnmower.Lawn
Enables the observer to receive change messages.
engine - Variable in class gpsys.GPParameters
The engine to be used for evolution.
ENGINE_GENERATIONAL - Static variable in class gpsys.GPParameters
Used for selecting the generational engine type.
ENGINE_STEADYSTATE - Static variable in class gpsys.GPParameters
Used for selecting the steady state engine type.
EQ - class gpsys.primitives.EQ.
BOOLEAN EQ(<typeX> a, <typeX> b) EQ is a generic function that tests the equality of its two arguments.
EQ(Type) - Constructor for class gpsys.primitives.EQ
Constructs an EQ Function that works with the specified Type.
equals(Fitness) - Method in class gpsys.Fitness
Tests if this fitness is equal to another fitness.
equals(Fitness) - Method in class gpsys.lawnmower.LawnMowerFitness
Tests if this fitness is equal to another fitness.
equals(Fitness) - Method in class gpsys.symreg.SymRegFitness
Tests if this fitness is equal to another fitness.
evaluateBoolean() - Method in class gpsys.Individual
Evaluate this Individual as a program returning a boolean.
evaluateBoolean(Individual) - Method in class gpsys.Gene
Evaluate this Gene as a Gene that returns a boolean when evaluated.
evaluateBoolean(Individual) - Method in class gpsys.GeneFunction
Evaluate this Gene as Function returning a boolean.
evaluateBoolean(Individual) - Method in class gpsys.Chromosome
Evaluates the chromosome so that it returns a boolean.
evaluateBoolean(Individual) - Method in class gpsys.Terminal
To be overridden by Terminals returning a boolean when evaluated.
evaluateBoolean(Individual) - Method in class gpsys.GeneTerminal
Evaluate this Gene as Terminal returning a boolean.
evaluateBoolean(Individual) - Method in class gpsys.primitives.True
Evaluates the True Terminal.
evaluateBoolean(Individual) - Method in class gpsys.primitives.XBoolean
Evaluates the variable, which returns its value.
evaluateBoolean(Individual) - Method in class gpsys.primitives.False
Evaluates the False Terminal.
evaluateBoolean(Individual, Gene[]) - Method in class gpsys.Function
To be overridden by Functions returning a boolean when evaluated.
evaluateBoolean(Individual, Gene[]) - Method in class gpsys.primitives.Or
Perform the logical Or of both arguments and return the result.
evaluateBoolean(Individual, Gene[]) - Method in class gpsys.primitives.LE
Used to execute the LE test for arguments of any of the supported Types.
evaluateBoolean(Individual, Gene[]) - Method in class gpsys.primitives.GE
Used to execute the GE test for arguments of any of the supported Types.
evaluateBoolean(Individual, Gene[]) - Method in class gpsys.primitives.ProgN
Used to evaluate a ProgN Function of Type BOOLEAN.
evaluateBoolean(Individual, Gene[]) - Method in class gpsys.primitives.EQ
Used to test arguments of any of the supported Types for equality.
evaluateBoolean(Individual, Gene[]) - Method in class gpsys.primitives.And
Perform the logical And of both arguments and return the result.
evaluateBoolean(Individual, Gene[]) - Method in class gpsys.primitives.LT
Used to execute the LT test for arguments of any of the supported Types.
evaluateBoolean(Individual, Gene[]) - Method in class gpsys.primitives.Xor
Perform the logical Xor of both arguments and return the result.
evaluateBoolean(Individual, Gene[]) - Method in class gpsys.primitives.MemSet
Used to set values in memories of MEM_BOOLEAN type.
evaluateBoolean(Individual, Gene[]) - Method in class gpsys.primitives.GT
Used to execute the GT test for arguments of any of the supported Types.
evaluateBoolean(Individual, Gene[]) - Method in class gpsys.primitives.Not
Perform the logical Not of the one argument and return the result.
evaluateBoolean(Individual, Gene[]) - Method in class gpsys.primitives.MemGet
Used to get values from memory of MEM_BOOLEAN type.
evaluateBoolean(Individual, Gene[]) - Method in class gpsys.primitives.If
Used to conditionally evaluate arguments of BOOLEAN Types.
evaluateByte() - Method in class gpsys.Individual
Evaluate this Individual as a program returning a byte.
evaluateByte(Individual) - Method in class gpsys.Gene
Evaluate this Gene as a Gene that returns a byte when evaluated.
evaluateByte(Individual) - Method in class gpsys.GeneFunction
Evaluate this Gene as Function returning a byte.
evaluateByte(Individual) - Method in class gpsys.Chromosome
Evaluates the chromosome so that it returns a byte.
evaluateByte(Individual) - Method in class gpsys.Terminal
To be overridden by Terminals returning a byte when evaluated.
evaluateByte(Individual) - Method in class gpsys.GeneTerminal
Evaluate this Gene as Terminal returning a byte.
evaluateByte(Individual) - Method in class gpsys.primitives.One
Used to get a BYTE value of the constant one.
evaluateByte(Individual) - Method in class gpsys.primitives.Zero
Used to get a BYTE value of the constant zero.
evaluateByte(Individual) - Method in class gpsys.primitives.XByte
Evaluates the variable, which returns its value.
evaluateByte(Individual, Gene[]) - Method in class gpsys.Function
To be overridden by Functions returning a byte when evaluated.
evaluateByte(Individual, Gene[]) - Method in class gpsys.primitives.Div
Used to divide arguments of BYTE Types.
evaluateByte(Individual, Gene[]) - Method in class gpsys.primitives.Sub
Used to subtract arguments of BYTE Types.
evaluateByte(Individual, Gene[]) - Method in class gpsys.primitives.ProgN
Used to evaluate a ProgN Function of Type BYTE.
evaluateByte(Individual, Gene[]) - Method in class gpsys.primitives.MemSet
Used to set values in memories of MEM_BYTE type.
evaluateByte(Individual, Gene[]) - Method in class gpsys.primitives.MemGet
Used to get values from memory of MEM_BYTE type.
evaluateByte(Individual, Gene[]) - Method in class gpsys.primitives.If
Used to conditionally evaluate arguments of BYTE Types.
evaluateByte(Individual, Gene[]) - Method in class gpsys.primitives.Add
Used to Add arguments of BYTE Types.
evaluateByte(Individual, Gene[]) - Method in class gpsys.primitives.Mul
Used to multiply arguments of BYTE Types.
evaluateChar() - Method in class gpsys.Individual
Evaluate this Individual as a program returning a char.
evaluateChar(Individual) - Method in class gpsys.Gene
Evaluate this Gene as a Gene that returns a char when evaluated.
evaluateChar(Individual) - Method in class gpsys.GeneFunction
Evaluate this Gene as Function returning a char.
evaluateChar(Individual) - Method in class gpsys.Chromosome
Evaluates the chromosome so that it returns a char.
evaluateChar(Individual) - Method in class gpsys.Terminal
To be overridden by Terminals returning a char when evaluated.
evaluateChar(Individual) - Method in class gpsys.GeneTerminal
Evaluate this Gene as Terminal returning a char.
evaluateChar(Individual) - Method in class gpsys.primitives.XChar
Evaluates the variable, which returns its value.
evaluateChar(Individual, Gene[]) - Method in class gpsys.Function
To be overridden by Functions returning a char when evaluated.
evaluateChar(Individual, Gene[]) - Method in class gpsys.primitives.ProgN
Used to evaluate a ProgN Function of Type CHAR.
evaluateChar(Individual, Gene[]) - Method in class gpsys.primitives.MemSet
Used to set values in memories of MEM_CHAR type.
evaluateChar(Individual, Gene[]) - Method in class gpsys.primitives.MemGet
Used to get values from memory of MEM_CHAR type.
evaluateChar(Individual, Gene[]) - Method in class gpsys.primitives.If
Used to conditionally evaluate arguments of CHAR Types.
evaluateDouble() - Method in class gpsys.Individual
Evaluate this Individual as a program returning a double.
evaluateDouble(Individual) - Method in class gpsys.Gene
Evaluate this Gene as a Gene that returns a double when evaluated.
evaluateDouble(Individual) - Method in class gpsys.GeneFunction
Evaluate this Gene as Function returning a double.
evaluateDouble(Individual) - Method in class gpsys.Chromosome
Evaluates the chromosome so that it returns a double.
evaluateDouble(Individual) - Method in class gpsys.Terminal
To be overridden by Terminals returning a double when evaluated.
evaluateDouble(Individual) - Method in class gpsys.GeneTerminal
Evaluate this Gene as Terminal returning a double.
evaluateDouble(Individual) - Method in class gpsys.primitives.One
Used to get a DOUBLE value of the constant one.
evaluateDouble(Individual) - Method in class gpsys.primitives.Zero
Used to get a DOUBLE value of the constant zero.
evaluateDouble(Individual) - Method in class gpsys.primitives.ConstantDouble
Evaluate this Terminal.
evaluateDouble(Individual) - Method in class gpsys.primitives.XDouble
Evaluates the variable, which returns its value.
evaluateDouble(Individual, Gene[]) - Method in class gpsys.Function
To be overridden by Functions returning a double when evaluated.
evaluateDouble(Individual, Gene[]) - Method in class gpsys.primitives.Div
Used to divide arguments of DOUBLE Types.
evaluateDouble(Individual, Gene[]) - Method in class gpsys.primitives.Sub
Used to subtract arguments of DOUBLE Types.
evaluateDouble(Individual, Gene[]) - Method in class gpsys.primitives.ProgN
Used to evaluate a ProgN Function of Type DOUBLE.
evaluateDouble(Individual, Gene[]) - Method in class gpsys.primitives.MemSet
Used to set values in memories of MEM_DOUBLE type.
evaluateDouble(Individual, Gene[]) - Method in class gpsys.primitives.MemGet
Used to get values from memory of MEM_DOUBLE type.
evaluateDouble(Individual, Gene[]) - Method in class gpsys.primitives.If
Used to conditionally evaluate arguments of DOUBLE Types.
evaluateDouble(Individual, Gene[]) - Method in class gpsys.primitives.Add
Used to Add arguments of DOUBLE Types.
evaluateDouble(Individual, Gene[]) - Method in class gpsys.primitives.Mul
Used to multiply arguments of DOUBLE Types.
evaluateFloat() - Method in class gpsys.Individual
Evaluate this Individual as a program returning a float.
evaluateFloat(Individual) - Method in class gpsys.Gene
Evaluate this Gene as a Gene that returns a float when evaluated.
evaluateFloat(Individual) - Method in class gpsys.GeneFunction
Evaluate this Gene as Function returning a float.
evaluateFloat(Individual) - Method in class gpsys.Chromosome
Evaluates the chromosome so that it returns a float.
evaluateFloat(Individual) - Method in class gpsys.Terminal
To be overridden by Terminals returning a float when evaluated.
evaluateFloat(Individual) - Method in class gpsys.GeneTerminal
Evaluate this Gene as Terminal returning a float.
evaluateFloat(Individual) - Method in class gpsys.primitives.One
Used to get a FLOAT value of the constant one.
evaluateFloat(Individual) - Method in class gpsys.primitives.Zero
Used to get a FLOAT value of the constant zero.
evaluateFloat(Individual) - Method in class gpsys.primitives.XFloat
Evaluates the variable, which returns its value.
evaluateFloat(Individual) - Method in class gpsys.primitives.ConstantFloat
Evaluate this Terminal.
evaluateFloat(Individual, Gene[]) - Method in class gpsys.Function
To be overridden by Functions returning a float when evaluated.
evaluateFloat(Individual, Gene[]) - Method in class gpsys.primitives.Div
Used to divide arguments of FLOAT Types.
evaluateFloat(Individual, Gene[]) - Method in class gpsys.primitives.Sub
Used to subtract arguments of FLOAT Types.
evaluateFloat(Individual, Gene[]) - Method in class gpsys.primitives.ProgN
Used to evaluate a ProgN Function of Type FLOAT.
evaluateFloat(Individual, Gene[]) - Method in class gpsys.primitives.MemSet
Used to set values in memories of MEM_FLOAT type.
evaluateFloat(Individual, Gene[]) - Method in class gpsys.primitives.MemGet
Used to get values from memory of MEM_FLOAT type.
evaluateFloat(Individual, Gene[]) - Method in class gpsys.primitives.If
Used to conditionally evaluate arguments of FLOAT Types.
evaluateFloat(Individual, Gene[]) - Method in class gpsys.primitives.Add
Used to Add arguments of FLOAT Types.
evaluateFloat(Individual, Gene[]) - Method in class gpsys.primitives.Mul
Used to multiply arguments of FLOAT Types.
evaluateInt() - Method in class gpsys.Individual
Evaluate this Individual as a program returning an int.
evaluateInt(Individual) - Method in class gpsys.Gene
Evaluate this Gene as a Gene that returns a int when evaluated.
evaluateInt(Individual) - Method in class gpsys.GeneFunction
Evaluate this Gene as Function returning an int.
evaluateInt(Individual) - Method in class gpsys.Chromosome
Evaluates the chromosome so that it returns an int.
evaluateInt(Individual) - Method in class gpsys.Terminal
To be overridden by Terminals returning an int when evaluated.
evaluateInt(Individual) - Method in class gpsys.GeneTerminal
Evaluate this Gene as Terminal returning an int.
evaluateInt(Individual) - Method in class gpsys.primitives.One
Used to get a INT value of the constant one.
evaluateInt(Individual) - Method in class gpsys.primitives.Zero
Used to get a INT value of the constant zero.
evaluateInt(Individual) - Method in class gpsys.primitives.XInt
Evaluates the variable, which returns its value.
evaluateInt(Individual, Gene[]) - Method in class gpsys.Function
To be overridden by Functions returning an int when evaluated.
evaluateInt(Individual, Gene[]) - Method in class gpsys.primitives.Div
Used to divide arguments of INT Types.
evaluateInt(Individual, Gene[]) - Method in class gpsys.primitives.Sub
Used to subtract arguments of INT Types.
evaluateInt(Individual, Gene[]) - Method in class gpsys.primitives.ProgN
Used to evaluate a ProgN Function of Type INT.
evaluateInt(Individual, Gene[]) - Method in class gpsys.primitives.MemSet
Used to set values in memories of MEM_INT type.
evaluateInt(Individual, Gene[]) - Method in class gpsys.primitives.MemGet
Used to get values from memory of MEM_INT type.
evaluateInt(Individual, Gene[]) - Method in class gpsys.primitives.If
Used to conditionally evaluate arguments of INT Types.
evaluateInt(Individual, Gene[]) - Method in class gpsys.primitives.Add
Used to Add arguments of INT Types.
evaluateInt(Individual, Gene[]) - Method in class gpsys.primitives.Mul
Used to multiply arguments of INT Types.
evaluateLong() - Method in class gpsys.Individual
Evaluate this Individual as a program returning a long.
evaluateLong(Individual) - Method in class gpsys.Gene
Evaluate this Gene as a Gene that returns a long when evaluated.
evaluateLong(Individual) - Method in class gpsys.GeneFunction
Evaluate this Gene as Function returning a long.
evaluateLong(Individual) - Method in class gpsys.Chromosome
Evaluates the chromosome so that it returns a long.
evaluateLong(Individual) - Method in class gpsys.Terminal
To be overridden by Terminals returning a long when evaluated.
evaluateLong(Individual) - Method in class gpsys.GeneTerminal
Evaluate this Gene as Terminal returning a long.
evaluateLong(Individual) - Method in class gpsys.primitives.One
Used to get a LONG value of the constant one.
evaluateLong(Individual) - Method in class gpsys.primitives.Zero
Used to get a LONG value of the constant zero.
evaluateLong(Individual) - Method in class gpsys.primitives.XLong
Evaluates the variable, which returns its value.
evaluateLong(Individual, Gene[]) - Method in class gpsys.Function
To be overridden by Functions returning a long when evaluated.
evaluateLong(Individual, Gene[]) - Method in class gpsys.primitives.Div
Used to divide arguments of LONG Types.
evaluateLong(Individual, Gene[]) - Method in class gpsys.primitives.Sub
Used to subtract arguments of LONG Types.
evaluateLong(Individual, Gene[]) - Method in class gpsys.primitives.ProgN
Used to evaluate a ProgN Function of Type LONG.
evaluateLong(Individual, Gene[]) - Method in class gpsys.primitives.MemSet
Used to set values in memories of MEM_LONG type.
evaluateLong(Individual, Gene[]) - Method in class gpsys.primitives.MemGet
Used to get values from memory of MEM_LONG type.
evaluateLong(Individual, Gene[]) - Method in class gpsys.primitives.If
Used to conditionally evaluate arguments of LONG Types.
evaluateLong(Individual, Gene[]) - Method in class gpsys.primitives.Add
Used to Add arguments of LONG Types.
evaluateLong(Individual, Gene[]) - Method in class gpsys.primitives.Mul
Used to multiply arguments of LONG Types.
evaluateObject() - Method in class gpsys.Individual
Evaluate this Individual as a program returning an Object reference.
evaluateObject(Individual) - Method in class gpsys.Gene
Evaluate this Gene as a Gene that returns an Object when evaluated.
evaluateObject(Individual) - Method in class gpsys.GeneFunction
Evaluate this Gene as Function returning an Object reference.
evaluateObject(Individual) - Method in class gpsys.Chromosome
Evaluates the chromosome so that it returns an Object reference.
evaluateObject(Individual) - Method in class gpsys.Terminal
To be overridden by Terminals returning an Object when evaluated.
evaluateObject(Individual) - Method in class gpsys.GeneTerminal
Evaluate this Gene as Terminal returning an Object reference.
evaluateObject(Individual) - Method in class gpsys.primitives.MemDouble
Evaluation of indexed memory just returns a reference to the memory.
evaluateObject(Individual) - Method in class gpsys.primitives.MemInt
Evaluation of indexed memory just returns a reference to the memory.
evaluateObject(Individual) - Method in class gpsys.primitives.MemShort
Evaluation of indexed memory just returns a reference to the memory.
evaluateObject(Individual) - Method in class gpsys.primitives.MemObject
Evaluation of indexed memory just returns a reference to the memory.
evaluateObject(Individual) - Method in class gpsys.primitives.MemFloat
Evaluation of indexed memory just returns a reference to the memory.
evaluateObject(Individual) - Method in class gpsys.primitives.MemChar
Evaluation of indexed memory just returns a reference to the memory.
evaluateObject(Individual) - Method in class gpsys.primitives.MemLong
Evaluation of indexed memory just returns a reference to the memory.
evaluateObject(Individual) - Method in class gpsys.primitives.XObject
Evaluates the variable, which returns its value.
evaluateObject(Individual) - Method in class gpsys.primitives.MemByte
Evaluation of indexed memory just returns a reference to the memory.
evaluateObject(Individual) - Method in class gpsys.primitives.MemBoolean
Evaluation of indexed memory just returns a reference to the memory.
evaluateObject(Individual) - Method in class gpsys.lawnmower.ADF2Arg0
Evaluates the Terminal as an Object, since a Vector2Mod8 is not one of the java primitive types.
evaluateObject(Individual) - Method in class gpsys.lawnmower.ADF1
Evaluate the evolved terminal as primitive that returns an Object reference.
evaluateObject(Individual) - Method in class gpsys.lawnmower.Mow
Evaluates this Terminal, causing the mower to move forward one sqaure, cutting the grass on that square.
evaluateObject(Individual) - Method in class gpsys.lawnmower.Left
Evaluates this Terminal, causing the mower to turn left by 90 degrees.
evaluateObject(Individual) - Method in class gpsys.lawnmower.ConstantVector2Mod8
Evaluate this Terminal.
evaluateObject(Individual, Gene[]) - Method in class gpsys.Function
To be overridden by Functions returning an Object when evaluated.
evaluateObject(Individual, Gene[]) - Method in class gpsys.primitives.ProgN
Used to evaluate a ProgN Function of Type OBJECT.
evaluateObject(Individual, Gene[]) - Method in class gpsys.primitives.MemSet
Used to set values in memories of MEM_OBJECT type.
evaluateObject(Individual, Gene[]) - Method in class gpsys.primitives.MemGet
Used to get values from memory of MEM_OBJECT type.
evaluateObject(Individual, Gene[]) - Method in class gpsys.primitives.If
Used to conditionally evaluate arguments of OBJECT Types.
evaluateObject(Individual, Gene[]) - Method in class gpsys.lawnmower.AddVector2Mod8
Evaluate the ADF as one that return an Object (this is necessary since the evaluation actually returns a Vector2Mod8 object).
evaluateObject(Individual, Gene[]) - Method in class gpsys.lawnmower.ADF2
Evaluate the ADF as one that return an Object (this is necessary since the evaluation actually returns a Vector2Mod8 object).
evaluateObject(Individual, Gene[]) - Method in class gpsys.lawnmower.Frog
Evaluates this Function, causing the mower to leap frog by the specified displacement.
evaluateShort() - Method in class gpsys.Individual
Evaluate this Individual as a program returning a short.
evaluateShort(Individual) - Method in class gpsys.Gene
Evaluate this Gene as a Gene that returns a short when evaluated.
evaluateShort(Individual) - Method in class gpsys.GeneFunction
Evaluate this Gene as Function returning a short.
evaluateShort(Individual) - Method in class gpsys.Chromosome
Evaluates the chromosome so that it returns a byte.
evaluateShort(Individual) - Method in class gpsys.Terminal
To be overridden by Terminals returning a short when evaluated.
evaluateShort(Individual) - Method in class gpsys.GeneTerminal
Evaluate this Gene as Terminal returning a short.
evaluateShort(Individual) - Method in class gpsys.primitives.One
Used to get a SHORT value of the constant one.
evaluateShort(Individual) - Method in class gpsys.primitives.Zero
Used to get a SHORT value of the constant zero.
evaluateShort(Individual) - Method in class gpsys.primitives.XShort
Evaluates the variable, which returns its value.
evaluateShort(Individual, Gene[]) - Method in class gpsys.Function
To be overridden by Functions returning a short when evaluated.
evaluateShort(Individual, Gene[]) - Method in class gpsys.primitives.Div
Used to divide arguments of SHORT Types.
evaluateShort(Individual, Gene[]) - Method in class gpsys.primitives.Sub
Used to subtract arguments of SHORT Types.
evaluateShort(Individual, Gene[]) - Method in class gpsys.primitives.ProgN
Used to evaluate a ProgN Function of Type SHORT.
evaluateShort(Individual, Gene[]) - Method in class gpsys.primitives.MemSet
Used to set values in memories of MEM_SHORT type.
evaluateShort(Individual, Gene[]) - Method in class gpsys.primitives.MemGet
Used to get values from memory of MEM_SHORT type.
evaluateShort(Individual, Gene[]) - Method in class gpsys.primitives.If
Used to conditionally evaluate arguments of SHORT Types.
evaluateShort(Individual, Gene[]) - Method in class gpsys.primitives.Add
Used to Add arguments of SHORT Types.
evaluateShort(Individual, Gene[]) - Method in class gpsys.primitives.Mul
Used to multiply arguments of SHORT Types.
EvaluationException - exception gpsys.EvaluationException.
The root of all evaluation exceptions.
EvaluationException() - Constructor for class gpsys.EvaluationException
Create an EvaluationException with an empty message.
EvaluationException(String) - Constructor for class gpsys.EvaluationException
Create an EvaluationException with the specified message.
evolve() - Method in class gpsys.Population
Evolve the current population via the steady state or generational engine depending on the value of the engine parameter.
evolve() - Method in class gpsys.GPsys
Evolves the population until the required number of generations have been produced or the termination criteria has been satisfied.
EVOLVED - Static variable in interface gpsys.GPObserver
Used to indicate that the generation update represents a generation that has been evolved.
evolveGenerational() - Method in class gpsys.Population
 
evolveSteadyState() - Method in class gpsys.Population
 
exception(GPException) - Method in interface gpsys.GPObserver
Invoked by the GP system whenever an exception occurs, override this to do something useful such as print a stack trace.
exception(GPException) - Method in class gpsys.lawnmower.LawnMower
Print the exception and generate a stack trace on the standard output.
exception(GPException) - Method in class gpsys.symreg.SymReg
Print the exception and generate a stack trace on the standard output.
executeCrossoverOperation(int, int) - Method in class gpsys.Population
Execute a crossover operation using specified parents.
executeMutationOperation(int) - Method in class gpsys.Population
Execute a mutation operation using specified parent.
executeReproductionOperation(int) - Method in class gpsys.Population
Execute a reproduction operation using the specified parent.

F

f - Variable in class gpsys.primitives.ConstantFloat
The value of this constant.
False - class gpsys.primitives.False.
BOOLEAN False False is a Terminal of Type BOOLEAN.
False() - Constructor for class gpsys.primitives.False
Constructs a new False object.
filePrefix - Variable in class gpsys.lawnmower.LawnMower
The file prefix to use for saving generations and writing reports.
filePrefix - Variable in class gpsys.symreg.SymReg
The filePrefix to use when saving reports and generation states during evolution.
fitness - Variable in class gpsys.Individual
An Individual has Fitness which is a measure of the suitability of the for solving the problem for which it was evolved.
fitness - Variable in class gpsys.GPParameters
The Fitness definition for the problem.
fitness - Variable in class gpsys.lawnmower.LawnMowerFitness
The number of uncut squares left on the lawn.
fitness - Variable in class gpsys.symreg.SymRegFitness
The error between the ideal function and the GP.
Fitness - class gpsys.Fitness.
Represents the fitness of an individual.
Fitness() - Constructor for class gpsys.Fitness
 
FLOAT - Static variable in class gpsys.Type
The java float type.
FLOAT_typeID - Static variable in class gpsys.Type
The type ID for java byte type.
FREE - Static variable in class gpsys.ParentInfo
A parent is deemed free if it has no outstanding genetic operations and it has not already been replaced in the population.
Frog - class gpsys.lawnmower.Frog.
Vector2Mod8 Frog(Vector2Mod8 displacement) The Frog Function allows the lawn mower to leap frog by specified X and Y displacements on the lawn.
Frog(Mower) - Constructor for class gpsys.lawnmower.Frog
Create a Frog object that controls the specified lawn mower.
frog(Vector2Mod8) - Method in class gpsys.lawnmower.Mower
Movement energy permitting, leap frogs the mower to by the specified (x,y) displacements.
from - Variable in class gpsys.primitives.ConstantFloat
The smallest value that this constant can take.
from - Variable in class gpsys.primitives.ConstantDouble
The smallest value that this constant can take.
from - Static variable in class gpsys.symreg.SymRegFitness
The minimum value of x to be used for testing the evolved function.
FROMSTREAM - Static variable in interface gpsys.GPObserver
Used to indicate that the generation update represents a generation loaded from a stream.
Function - class gpsys.Function.
The super class of all GP functions.
Function() - Constructor for class gpsys.Function
 
functionCount - Static variable in class gpsys.GeneBranch
Total number of times a function point was selected for mutation or crossover.
functions - Variable in class gpsys.ChromosomeParameters
The table of available functions.
functionsOfTypeAtDepthFull - Variable in class gpsys.ChromosomeParameters
Functions of a given return type possible at a given depth for both the FULL creation method.
functionsOfTypeAtDepthGrow - Variable in class gpsys.ChromosomeParameters
Functions of a given return type possible at a given depth for both the GROW creation method.
fvalue - Variable in class gpsys.primitives.XFloat
Holds the value of the variable.

G

GE - class gpsys.primitives.GE.
BOOLEAN GE(<typeX> lvalue, <typeX> rvalue) GE is a generic function that tests if the first argument is greater than or equal to the second argument.
GE(Type) - Constructor for class gpsys.primitives.GE
Constructs a GE Function that works with the specified Type.
Gene - class gpsys.Gene.
A Gene is a node in a GP tree.
Gene() - Constructor for class gpsys.Gene
 
GeneBranch - class gpsys.GeneBranch.
A GeneBranch defines a Gene subtree of a GP Gene tree.
GeneBranch(Gene, int, Gene) - Constructor for class gpsys.GeneBranch
Construct a GeneBranch using the supplied arguments to initialise the instance variables.
GeneBranch(Random, Gene) - Constructor for class gpsys.GeneBranch
select a subtree at random from the given tree.
GeneBranch(Random, Gene, Type) - Constructor for class gpsys.GeneBranch
select a subtree of a given type at random from the given tree.
GeneFunction - class gpsys.GeneFunction.
A GeneFunction is a Gene tree representing a function call.
GeneFunction() - Constructor for class gpsys.GeneFunction
 
GeneFunctionFull - class gpsys.GeneFunctionFull.
A GeneFunctionFull is a GeneFunction tree created using the Full method.
GeneFunctionFull(int, Type, GPParameters, int) - Constructor for class gpsys.GeneFunctionFull
Create a Gene tree using the Full method.
GeneFunctionGrow - class gpsys.GeneFunctionGrow.
A GeneFunctionGrow is a GeneFunction created using the Grow method.
GeneFunctionGrow(int, Type, GPParameters, int) - Constructor for class gpsys.GeneFunctionGrow
Create a Gene tree using the Grow method.
generation - Variable in class gpsys.Population
The current generation number.
generations - Variable in class gpsys.GPParameters
The number of generations to evolve.
generationUpdate(GPParameters, int) - Method in interface gpsys.GPObserver
Invoked by the GP system whenever a new generation has been created.
generationUpdate(GPParameters, int) - Method in class gpsys.lawnmower.LawnMower
If the filePrefix is null, just write a report of the current generation to the standard output.
generationUpdate(GPParameters, int) - Method in class gpsys.symreg.SymReg
If the filePrefix is null, just write a report of the current generation to the standard output.
GeneTerminal - class gpsys.GeneTerminal.
A GeneTerminal is a leaf in a Gene tree and represents a Terminal.
GeneTerminal(int, Type, GPParameters, int) - Constructor for class gpsys.GeneTerminal
Constructs a Gene Terminal by randomly selecting a Terminal of the required type from the Terminal set of the associated Chromosome.
GeneticOperation - class gpsys.GeneticOperation.
The superclass of all genetic operations.
GeneticOperation() - Constructor for class gpsys.GeneticOperation
 
get(int) - Method in class gpsys.primitives.MemDouble
Gets the value of the specified memory location.
get(int) - Method in class gpsys.primitives.MemInt
Gets the value of the specified memory location.
get(int) - Method in class gpsys.primitives.MemShort
Gets the value of the specified memory location.
get(int) - Method in class gpsys.primitives.MemObject
Gets the value of the specified memory location.
get(int) - Method in class gpsys.primitives.MemFloat
Gets the value of the specified memory location.
get(int) - Method in class gpsys.primitives.MemChar
Gets the value of the specified memory location.
get(int) - Method in class gpsys.primitives.MemLong
Gets the value of the specified memory location.
get(int) - Method in class gpsys.primitives.MemByte
Gets the value of the specified memory location.
get(int) - Method in class gpsys.primitives.MemBoolean
Gets the value of the specified memory location.
get(Type) - Method in class gpsys.TypeToFunctionsTable
Get all the Functions that return the specified type.
get(Type) - Method in class gpsys.TypeToTerminalsTable
Get all the Terminals that return the specified type.
getId() - Method in class gpsys.ParentInfo
Get the index of this individual in the population.
getOperations() - Method in class gpsys.ParentInfo
Get a count of the total number of genetic operations involving this parent.
GPException - exception gpsys.GPException.
The super class of all GP Exception classes.
GPException() - Constructor for class gpsys.GPException
Construct a GPException without a message.
GPException(String) - Constructor for class gpsys.GPException
Construct a GPException with the specified message.
GPObserver - interface gpsys.GPObserver.
Classes that implement this interface can become observers of the GP system.
gpParameters - Variable in class gpsys.Chromosome
The GPParameters used to create this chromosome
gpParameters - Variable in class gpsys.Population
The GP parameters for the problem.
gpParameters - Variable in class gpsys.GPsys
The GPParameters defining the problem.
GPParameters - class gpsys.GPParameters.
This class is used to parameterise the GP system.
GPParameters() - Constructor for class gpsys.GPParameters
 
gpsys - package gpsys
 
GPsys - class gpsys.GPsys.
The top level class of the GP system.
gpsys.lawnmower - package gpsys.lawnmower
 
gpsys.primitives - package gpsys.primitives
 
gpsys.symreg - package gpsys.symreg
 
GPsys(GPParameters) - Constructor for class gpsys.GPsys
Construct a GP system using the supplied GPParameters object.
greaterThan(Fitness) - Method in class gpsys.Fitness
Tests if this fitness value is greater than another fitness value.
greaterThan(Fitness) - Method in class gpsys.lawnmower.LawnMowerFitness
Tests if this fitness value is greater than another fitness value.
greaterThan(Fitness) - Method in class gpsys.symreg.SymRegFitness
Tests if this fitness value is greater than another fitness value.
grow() - Method in class gpsys.lawnmower.Lawn
Sets the all of the squares on the lawn to UNCUT state (grown).
GT - class gpsys.primitives.GT.
BOOLEAN GT(<typeX> lvalue, <typeX> rvalue) GT is a generic function that tests if the first argument is greater than the second argument.
GT(Type) - Constructor for class gpsys.primitives.GT
Constructs a GT Function that works with the specified Type.

I

id - Variable in class gpsys.ParentInfo
The index of this parent in the population.
If - class gpsys.primitives.If.
<TypeX> if (BOOLEAN condition, <typeX> trueValue, <typeX> falseValue) If is a generic function that conditionally evaluates one of two arguments.
If(Type) - Constructor for class gpsys.primitives.If
Constructs an If Function that works with the specified Type.
index - Variable in class gpsys.GeneBranch
The arguments index of this Gene subtree in the parent Gene.
Individual - class gpsys.Individual.
An Individual is an evolved GP program.
Individual(GPParameters) - Constructor for class gpsys.Individual
Create a completely new Individual.
Individual(GPParameters, Individual, boolean) - Constructor for class gpsys.Individual
Create a new Individual via reproduction or mutation of the mother.
Individual(GPParameters, Individual, Individual) - Constructor for class gpsys.Individual
Create a new Individual via sexual reproduction (crossover).
individualUpdate(GPParameters, Individual, int) - Method in interface gpsys.GPObserver
Invoked by the GP system whenever a new Individual has been created.
individualUpdate(GPParameters, Individual, int) - Method in class gpsys.lawnmower.LawnMower
We are not interested in this update, so we just ignore it.
individualUpdate(GPParameters, Individual, int) - Method in class gpsys.symreg.SymReg
We are not interested in this update, so we just ignore it.
individualUpdate(GPParameters, int, int) - Method in class gpsys.lawnmower.LawnMower
We are not interested in this update, so we just ignore it.
individualUpdate(GPParameters, int, int) - Method in class gpsys.symreg.SymReg
We are not interested in this update, so we just ignore it.
init() - Method in class gpsys.lawnmower.LawnViewer
Initialise the position of the mower on the lawn.
initialiseFunctionsTypeTable(int) - Method in class gpsys.ChromosomeParameters
 
initialiseFunctionsTypeTableFull(int) - Method in class gpsys.ChromosomeParameters
 
initialiseFunctionsTypeTableGrow(int) - Method in class gpsys.ChromosomeParameters
 
initialiseTerminalsTypeTable() - Method in class gpsys.ChromosomeParameters
 
initialiseTypeTables(int) - Method in class gpsys.ChromosomeParameters
Initialises the type possibilities tables, read the "Strongly Typed Genetic Programing" paper by David J.
instance() - Method in class gpsys.Primitive
Creates a new instance of this primitive.
instance() - Method in class gpsys.Fitness
Creates a new instance of the Fitness object with a default fitness.
instance() - Method in class gpsys.primitives.One
Creates an instance of this One object.
instance() - Method in class gpsys.primitives.True
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.Div
Creates an instance of this Div object.
instance() - Method in class gpsys.primitives.MemDouble
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.Or
Creates an instance of this Function.
instance() - Method in class gpsys.primitives.Zero
Creates an instance of this Zero object.
instance() - Method in class gpsys.primitives.MemInt
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.MemShort
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.LE
Creates an instance of this LE object.
instance() - Method in class gpsys.primitives.MemObject
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.Sub
Creates an instance of this Sub object.
instance() - Method in class gpsys.primitives.MemFloat
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.GE
Creates an instance of this GE object.
instance() - Method in class gpsys.primitives.ProgN
Creates an instance of this ProgN object.
instance() - Method in class gpsys.primitives.EQ
Creates an instance of this EQ object.
instance() - Method in class gpsys.primitives.XShort
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.XBoolean
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.MemChar
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.And
Creates an instance of this And Function.
instance() - Method in class gpsys.primitives.XLong
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.LT
Creates an instance of this LT object.
instance() - Method in class gpsys.primitives.Xor
Creates an instance of this Function.
instance() - Method in class gpsys.primitives.MemSet
Creates an instance of this MemSet object.
instance() - Method in class gpsys.primitives.False
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.XFloat
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.XChar
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.GT
Creates an instance of this GT object.
instance() - Method in class gpsys.primitives.XInt
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.Not
Creates an instance of this And Function.
instance() - Method in class gpsys.primitives.ConstantFloat
Creates a new FLOAT constant in exactly the same range as this constant, and using the same random number generator.
instance() - Method in class gpsys.primitives.XByte
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.MemGet
Creates an instance of this MemGet object.
instance() - Method in class gpsys.primitives.MemLong
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.If
Creates an If Object of the same type.
instance() - Method in class gpsys.primitives.Add
Creates an instance of this Add object.
instance() - Method in class gpsys.primitives.XObject
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.Mul
Creates an instance of this Mul object.
instance() - Method in class gpsys.primitives.ConstantDouble
Creates a new DOUBLE constant in exactly the same range as this constant, and using the same random number generator.
instance() - Method in class gpsys.primitives.MemByte
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.XDouble
Creates a copy of this Terminal.
instance() - Method in class gpsys.primitives.MemBoolean
Creates a copy of this Terminal.
instance() - Method in class gpsys.lawnmower.ADF2Arg0
Creates an instance of this Terminal.
instance() - Method in class gpsys.lawnmower.LawnMowerFitness
Creates a new instance of the Fitness object with a default fitness.
instance() - Method in class gpsys.lawnmower.ADF1
Create another instance of this ADTerminal.
instance() - Method in class gpsys.lawnmower.AddVector2Mod8
Creates an instance of this Function.
instance() - Method in class gpsys.lawnmower.Mow
Creates a new instance of this Object.
instance() - Method in class gpsys.lawnmower.Left
Creates a new instance of this Object.
instance() - Method in class gpsys.lawnmower.ConstantVector2Mod8
Creates a new Vector2Mod8 constant in exactly the same range as this constant, and using the same random number generator.
instance() - Method in class gpsys.lawnmower.ADF2
Creates an instance of this ADF.
instance() - Method in class gpsys.lawnmower.Frog
Creates a new instance of this Object.
instance() - Method in class gpsys.symreg.SymRegFitness
Creates a new instance of the Fitness object with a default fitness.
instance(GPParameters, Individual) - Method in class gpsys.Fitness
Creates a new instance of the Fitness object which represents the fitness of the specified individual.
instance(GPParameters, Individual) - Method in class gpsys.lawnmower.LawnMowerFitness
Creates a new instance of the Fitness object which represents the fitness of the specified individual.
instance(GPParameters, Individual) - Method in class gpsys.symreg.SymRegFitness
Creates a new instance of the Fitness object which represents the fitness of the specified individual.
INT - Static variable in class gpsys.Type
The java int type.
INT_typeID - Static variable in class gpsys.Type
The type ID for java byte type.
ivalue - Variable in class gpsys.primitives.XInt
Holds the value of the variable.

K

kill() - Method in class gpsys.ParentInfo
Kill this individual, which just sets the state to DEAD.

L

lawn - Variable in class gpsys.lawnmower.LawnViewer
The lawn being monitored.
lawn - Variable in class gpsys.lawnmower.LawnMowerGPParameters
The lawn to be mowed.
lawn - Variable in class gpsys.lawnmower.Mower
The lawn to be mowed.
lawn - Variable in class gpsys.lawnmower.Lawn
Used to hold the state of each square of the lawn.
lawn - Variable in class gpsys.lawnmower.LawnMowerFitness
The lawn to be cut.
lawn - Variable in class gpsys.lawnmower.LawnMower
The lawn being mowed.
Lawn - class gpsys.lawnmower.Lawn.
The lawn consists of a torroidal grid of squares upon which the "grass grows".
Lawn(int) - Constructor for class gpsys.lawnmower.Lawn
Create a square lawn of the specified dimension, with no observer.
lawnCutting(int, int) - Method in class gpsys.lawnmower.LawnViewer
Update the lawn view when a square on the lawn is being cut.
lawnCutting(int, int) - Method in interface gpsys.lawnmower.LawnObserver
Called when the square at the specified coordinates is being cut.
lawnGrown() - Method in class gpsys.lawnmower.LawnViewer
Update the lawn view when the lawn regrows.
lawnGrown() - Method in interface gpsys.lawnmower.LawnObserver
Called when the entire lawn regrows.
LawnMower - class gpsys.lawnmower.LawnMower.
The user interface for the lawn mower problem.
LawnMower(Lawn, String) - Constructor for class gpsys.lawnmower.LawnMower
Construct a lawn mower user interface.
LawnMowerChromosomeParametersADF0 - class gpsys.lawnmower.LawnMowerChromosomeParametersADF0.
The Chromosome parameters for ADF0 (the result producing branch) of the lawn mower problem.
LawnMowerChromosomeParametersADF0(Mower, Random, ADF2Arg0) - Constructor for class gpsys.lawnmower.LawnMowerChromosomeParametersADF0
Create the ChromosomeParameters object for ADF0.
LawnMowerChromosomeParametersADF1 - class gpsys.lawnmower.LawnMowerChromosomeParametersADF1.
The Chromosome parameters for ADF1 of the lawn mower problem.
LawnMowerChromosomeParametersADF1(Mower, Random) - Constructor for class gpsys.lawnmower.LawnMowerChromosomeParametersADF1
Create the ChromosomeParameters object for ADF1.
LawnMowerChromosomeParametersADF2 - class gpsys.lawnmower.LawnMowerChromosomeParametersADF2.
The Chromosome parameters for ADF2 of the lawn mower problem.
LawnMowerChromosomeParametersADF2(Mower, Random) - Constructor for class gpsys.lawnmower.LawnMowerChromosomeParametersADF2
Create the ChromosomeParameters object for ADF2.
LawnMowerFitness - class gpsys.lawnmower.LawnMowerFitness.
The Fitness class for the lawnmower problem.
LawnMowerFitness(Lawn, Mower) - Constructor for class gpsys.lawnmower.LawnMowerFitness
Construct a Fitness object with default Fitness.
LawnMowerFitness(Lawn, Mower, GPParameters, Individual) - Constructor for class gpsys.lawnmower.LawnMowerFitness
Constructs a Fitness object by evaluating the specified individual.
LawnMowerGPParameters - class gpsys.lawnmower.LawnMowerGPParameters.
The GPParameters class for the lawnmower problem.
LawnMowerGPParameters(long, int, int) - Constructor for class gpsys.lawnmower.LawnMowerGPParameters
Constructs a GPParameters object for the lawn mower problem.
LawnMowerTypes - class gpsys.lawnmower.LawnMowerTypes.
Extend the types to include our new Vector2Mod8 type.
LawnMowerTypes() - Constructor for class gpsys.lawnmower.LawnMowerTypes
 
LawnObserver - interface gpsys.lawnmower.LawnObserver.
Allows monitoirng of changes to the Lawn.
LawnViewer - class gpsys.lawnmower.LawnViewer.
Provides a view of the lawn and lawnmower on the lawn.
LawnViewer(Lawn) - Constructor for class gpsys.lawnmower.LawnViewer
Create a new LawnViewer Object which provides a view of the specified Lawn.
LE - class gpsys.primitives.LE.
BOOLEAN LE(<typeX> lvalue, <typeX> rvalue) LE is a generic function that tests if the first argument is less than or equal to the second argument.
LE(Type) - Constructor for class gpsys.primitives.LE
Constructs a LE Function that works with the specified Type.
Left - class gpsys.lawnmower.Left.
Vector2Mod8 Left A Terminal that instructs the lawnmower to turn left by 90 degrees.
left() - Method in class gpsys.lawnmower.Mower
Turns the mower left if possible (if there are suffucient left turn units).
Left(Mower) - Constructor for class gpsys.lawnmower.Left
Create a new Left terminal which controls the specified lawn mower.
leftTurnsAvailable - Variable in class gpsys.lawnmower.Mower
The ration of left turn operations available.
lessThan(Fitness) - Method in class gpsys.Fitness
Tests if this fitness is less than another fitness.
lessThan(Fitness) - Method in class gpsys.lawnmower.LawnMowerFitness
Tests if this fitness is less than another fitness.
lessThan(Fitness) - Method in class gpsys.symreg.SymRegFitness
Tests if this fitness is less than another fitness.
listHead - Variable in class gpsys.CrossoverBookkeeping
The list heads in this array are used to create 4 lists.
load(InputStream) - Static method in class gpsys.GPParameters
Load a GPParameters object from the InputStream.
load(String) - Static method in class gpsys.GPParameters
Loads a previously saved GPParameters object from the file specified.
LONG - Static variable in class gpsys.Type
The java long type.
LONG_typeID - Static variable in class gpsys.Type
The type ID for java byte type.
LT - class gpsys.primitives.LT.
BOOLEAN LT(<typeX> lvalue, <typeX> rvalue) LT is a generic function that tests if the first argument is less than the second argument.
LT(Type) - Constructor for class gpsys.primitives.LT
Constructs a LT Function that works with the specified Type.
lvalue - Variable in class gpsys.primitives.XLong
Holds the value of the variable.

M

main(String[]) - Static method in class gpsys.lawnmower.LawnMower
The main() method of the lawn mower application.
main(String[]) - Static method in class gpsys.symreg.SymReg
The main() method of the symbolic regression application.
maxDepth - Variable in class gpsys.ChromosomeParameters
The maximum depth of the Gene tree.
maxDepthAtCreation - Variable in class gpsys.ChromosomeParameters
The maximum depth at creation of the Gene tree.
maxDepthMutation - Variable in class gpsys.ChromosomeParameters
The maximum depth of tree created to mutate the Gene tree.
MEM_BOOLEAN - Static variable in class gpsys.Type
Indexed memory of java boolean type.
MEM_BOOLEAN_typeID - Static variable in class gpsys.Type
The type ID for java byte type.
MEM_BYTE - Static variable in class gpsys.Type
Indexed memory of java byte type.
MEM_BYTE_typeID - Static variable in class gpsys.Type
The type ID for java byte type.
MEM_CHAR - Static variable in class gpsys.Type
Indexed memory of java char type.
MEM_CHAR_typeID - Static variable in class gpsys.Type
The type ID for java byte type.
MEM_DOUBLE - Static variable in class gpsys.Type
Indexed memory of java double type.
MEM_DOUBLE_typeID - Static variable in class gpsys.Type
The type ID for java byte type.
MEM_FLOAT - Static variable in class gpsys.Type
Indexed memory of java float type.
MEM_FLOAT_typeID - Static variable in class gpsys.Type
The type ID for java byte type.
MEM_INT - Static variable in class gpsys.Type
Indexed memory of java int type.
MEM_INT_typeID - Static variable in class gpsys.Type
The type ID for java byte type.
MEM_LONG - Static variable in class gpsys.Type
Indexed memory of java long type.
MEM_LONG_typeID - Static variable in class gpsys.Type
The type ID for java byte type.
MEM_OBJECT - Static variable in class gpsys.Type
Indexed memory of references to java Object types.
MEM_OBJECT_typeID - Static variable in class gpsys.Type
The type ID for java byte type.
MEM_SHORT - Static variable in class gpsys.Type
Indexed memory of java short type.
MEM_SHORT_typeID - Static variable in class gpsys.Type
The type ID for java byte type.
MemBoolean - class gpsys.primitives.MemBoolean.
MEM_BOOLEAN MemBoolean MemBoolean is a Terminal that implements indexed memory of Boolean type.
MemBoolean(int) - Constructor for class gpsys.primitives.MemBoolean
Construct indexed memory of the specified size.
MemByte - class gpsys.primitives.MemByte.
MEM_BYTE MemByte MemByte is a Terminal that implements indexed memory of BYTE type.
MemByte(int) - Constructor for class gpsys.primitives.MemByte
Construct indexed memory of the specified size.
MemChar - class gpsys.primitives.MemChar.
MEM_CHAR MemChar MemChar is a Terminal that implements indexed memory of CHAR type.
MemChar(int) - Constructor for class gpsys.primitives.MemChar
Construct indexed memory of the specified size.
MemDouble - class gpsys.primitives.MemDouble.
MEM_DOUBLE MemDouble MemDouble is a Terminal that implements indexed memory of DOUBLE type.
MemDouble(int) - Constructor for class gpsys.primitives.MemDouble
Construct indexed memory of the specified size.
MemFloat - class gpsys.primitives.MemFloat.
MEM_FLOAT MemFloat MemFloat is a Terminal that implements indexed memory of FLOAT type.
MemFloat(int) - Constructor for class gpsys.primitives.MemFloat
Construct indexed memory of the specified size.
MemGet - class gpsys.primitives.MemGet.
<typeX> MemGet(MEM_typeX memory, INT index) MemGet is a generic Function which takes two arguments.
MemGet(Type, Type) - Constructor for class gpsys.primitives.MemGet
Construct a new MemGet Function to access the specified memory type, which holds the specified type of elements.
MemInt - class gpsys.primitives.MemInt.
MEM_INT MemInt MemInt is a Terminal that implements indexed memory of INT type.
MemInt(int) - Constructor for class gpsys.primitives.MemInt
Construct indexed memory of the specified size.
MemLong - class gpsys.primitives.MemLong.
MEM_LONG MemLong MemLong is a Terminal that implements indexed memory of LONG type.
MemLong(int) - Constructor for class gpsys.primitives.MemLong
Construct indexed memory of the specified size.
MemObject - class gpsys.primitives.MemObject.
MEM_OBJECT MemObject MemObject is a Terminal that implements indexed memory of OBJECT type.
MemObject(int) - Constructor for class gpsys.primitives.MemObject
Construct indexed memory of the specified size.
memory - Variable in class gpsys.primitives.MemDouble
The array used to implement the memory.
memory - Variable in class gpsys.primitives.MemInt
The array used to implement the memory.
memory - Variable in class gpsys.primitives.MemShort
The array used to implement the memory.
memory - Variable in class gpsys.primitives.MemObject
The array used to implement the memory.
memory - Variable in class gpsys.primitives.MemFloat
The array used to implement the memory.
memory - Variable in class gpsys.primitives.MemChar
The array used to implement the memory.
memory - Variable in class gpsys.primitives.MemLong
The array used to implement the memory.
memory - Variable in class gpsys.primitives.MemByte
The array used to implement the memory.
memory - Variable in class gpsys.primitives.MemBoolean
The array used to implement the memory.
MemSet - class gpsys.primitives.MemSet.
<typeX> MemSet(MEM_typeX memory, INT index, <typeX> value) MemSet is a generic Function which takes three arguments.
MemSet(Type, Type) - Constructor for class gpsys.primitives.MemSet
Construct a new MemSet Function to assign values to the specified memory type, which holds the specified type of elements.
MemShort - class gpsys.primitives.MemShort.
MEM_SHORT MemShort MemShort is a Terminal that implements indexed memory of SHORT type.
MemShort(int) - Constructor for class gpsys.primitives.MemShort
Construct indexed memory of the specified size.
MissingEvaluatorException - exception gpsys.MissingEvaluatorException.
An MissingEvaluatorException is generated when an evaluate method of the class Function or Terminal has been invoked.
MissingEvaluatorException() - Constructor for class gpsys.MissingEvaluatorException
Create an MissingEvaluatorException with an empty message.
MissingEvaluatorException(String) - Constructor for class gpsys.MissingEvaluatorException
Create an MissingEvaluatorException with the specified message.
movementAvailable - Variable in class gpsys.lawnmower.Mower
The ration of movement operations available.
Mow - class gpsys.lawnmower.Mow.
Vector2Mod8 Mow A Terminal that instructs the lawnmower to move forward by one square, cutting any grass on that square.
mow() - Method in class gpsys.lawnmower.Mower
Movement energy permitting, moves the mower forward by one square in the current direction cutting the grass on that square.
Mow(Mower) - Constructor for class gpsys.lawnmower.Mow
Create a new Mow terminal which controls the specified lawn mower.
mower - Variable in class gpsys.lawnmower.LawnMowerGPParameters
The mower to be controlled.
mower - Variable in class gpsys.lawnmower.LawnMowerFitness
 
mower - Variable in class gpsys.lawnmower.Mow
The lawnmower being controlled.
mower - Variable in class gpsys.lawnmower.Left
The lawnmower being controlled.
mower - Variable in class gpsys.lawnmower.Frog
 
Mower - class gpsys.lawnmower.Mower.
The lawnmower itself is a robot that moves around on a lawn, cutting it.
Mower(Lawn) - Constructor for class gpsys.lawnmower.Mower
Construct a new mower to lawn the specified lawn.
mowerX - Variable in class gpsys.lawnmower.LawnViewer
The current X-coordinate of the lawnmower.
mowerY - Variable in class gpsys.lawnmower.LawnViewer
The current Y-coordinate of the lawnmower.
Mul - class gpsys.primitives.Mul.
<typeX> Mul(<typeX> num1, <typeX> num2) Mul is a generic function that returns the result of multiplying both arguments.
Mul(Type) - Constructor for class gpsys.primitives.Mul
Constructs a Mul Function that works with the specified Type.
mutate(Chromosome) - Static method in class gpsys.Chromosome
Creates a new child Chromosome which is a mutation of the mother.
MUTATION - Static variable in class gpsys.Population
Used internally to signal a mutation operation.
mutationCount - Variable in class gpsys.ParentInfo
A count of how many mutation operations involving this parent.
MutationOperation - class gpsys.MutationOperation.
This class represents a Mutation operation.
MutationOperation(int) - Constructor for class gpsys.MutationOperation
Constructs a mutation operation to be performed on the specified parent.
mutations - Variable in class gpsys.Population
Total number of mutations performed.

N

next - Variable in class gpsys.ParentInfo
Points to the next parent information block in the list that this parent is contained within.
NORTH - Static variable in class gpsys.lawnmower.Mower
The value of direction when the mower is pointing NORTH.
Not - class gpsys.primitives.Not.
BOOLEAN not(BOOLEAN value) Not is a boolean function that returns the logical "negation" of its one argument.
Not() - Constructor for class gpsys.primitives.Not
Construct an instance of the Not Function.

O

OBJECT - Static variable in class gpsys.Type
The a reference to the java Object type.
OBJECT_typeID - Static variable in class gpsys.Type
The type ID for java byte type.
observed - Variable in class gpsys.lawnmower.Lawn
True if the observer is wants to received state change information.
observer - Variable in class gpsys.GPParameters
The object monitoring the GP system.
observer - Variable in class gpsys.lawnmower.Lawn
A reference to an observer interested in monitoring the state of this lawn.
One - class gpsys.primitives.One.
<typeX> One One is a generic Terminal which which represents the constant value one.
One(Type) - Constructor for class gpsys.primitives.One
Constructs a constant of value one for the specified type.
Or - class gpsys.primitives.Or.
BOOLEAN or(BOOLEAN b1, BOOLEAN b2) Or is a boolean function that returns the logical "or" of both arguments.
Or() - Constructor for class gpsys.primitives.Or
Construct an instance of the Or Function.
ovalue - Variable in class gpsys.primitives.XObject
Holds the value of the variable.

P

p - Variable in class gpsys.Gene
The primitive associated with this Gene which is either a Function or a Terminal.
p - Variable in class gpsys.Population
The Individuals in this population.
paint(Graphics) - Method in class gpsys.lawnmower.LawnViewer
Override the Canvas paint() method so that the lawn and lawnmower is drawn on the Canvas.
parent - Variable in class gpsys.GeneBranch
The parent of the Gene subtree.
parent1 - Variable in class gpsys.GeneticOperation
The index in the population array of the first parent involved in the operation.
parent2 - Variable in class gpsys.CrossoverOperation
The second parent involved in the crossover.
ParentInfo - class gpsys.ParentInfo.
This class is used to hold information about the genetic operations involving a a particular parent.
ParentInfo(int) - Constructor for class gpsys.ParentInfo
Constructs a ParentInfo data object for the specified parent.
parentTable - Variable in class gpsys.CrossoverBookkeeping
The parent table is 2 elements bigger than the number of individuals in the population.
pMutation - Variable in class gpsys.GPParameters
The probability of mutation.
population - Variable in class gpsys.GPParameters
The population.
Population - class gpsys.Population.
A Population holds all the Individuals of a generation.
Population(GPParameters) - Constructor for class gpsys.Population
 
populationSize - Variable in class gpsys.GPParameters
How many Individuals there are in the population.
pReproduction - Variable in class gpsys.GPParameters
The probability of Reproduction.
prev - Variable in class gpsys.ParentInfo
Points to the previous parent information block in the list that this parent is contained within.
Primitive - class gpsys.Primitive.
A Primitive is unit of an evolved program.
Primitive() - Constructor for class gpsys.Primitive
 
ProgN - class gpsys.primitives.ProgN.
<typeX> ProgN(<typeX> a1, <typeX> a2, ..., <typeX> aN) ProgN is a generic function that takes N arguments of the same type, evaluates all of them, and returns the value of the last argument.
ProgN(Type, int) - Constructor for class gpsys.primitives.ProgN
Constructs a new ProgN Function which takes the specified number of arguments, all of which are of the specified type.
put(Type, Function[]) - Method in class gpsys.TypeToFunctionsTable
Put the specified Functions array in the table.
put(Type, Terminal[]) - Method in class gpsys.TypeToTerminalsTable
Put the specified Terminals array in the table.

R

removeCrossover(ParentInfo) - Method in class gpsys.ParentInfo
Remove the crossover operation involving the specified second parent.
removeFreeSlot() - Method in class gpsys.CrossoverBookkeeping
Remove a parent from the free list.
removeFromList(ParentInfo) - Method in class gpsys.CrossoverBookkeeping
Remove the parent mating information structure from the associated list.
removeOperation() - Method in class gpsys.ParentInfo
Remove an operation from this parent.
removeOperation() - Method in class gpsys.CrossoverBookkeeping
Remove a genetic operation from the list of operations to be performed.
report(PrintWriter) - Method in class gpsys.Population
Print a report of the population using the specified PrintWriter.
REPRODUCTION - Static variable in class gpsys.Population
Used internally to signal a reproduction operation.
reproductionCount - Variable in class gpsys.ParentInfo
A count of how many reproduction operations involving this parent.
ReproductionOperation - class gpsys.ReproductionOperation.
This class represents a Reproduction operation.
ReproductionOperation(int) - Constructor for class gpsys.ReproductionOperation
Constructs a reproduction operation to be performed on the specified parent.
reproductions - Variable in class gpsys.Population
Total number of reproductions performed.
reset() - Method in class gpsys.ParentInfo
Reset this instance.
reset() - Method in class gpsys.CrossoverBookkeeping
Reset the bookkeeping data structure.
reset() - Method in class gpsys.lawnmower.Mower
Resets the mower state to default values (position = (4,4), direction = NORTH, leftTurnsAvailable = 100, movementAvailable = 100.
reset(int) - Method in class gpsys.primitives.MemDouble
Sets the specified memory location to the default value (0.0).
reset(int) - Method in class gpsys.primitives.MemInt
Sets the specified memory location to the default value (0).
reset(int) - Method in class gpsys.primitives.MemShort
Sets the specified memory location to the default value (0).
reset(int) - Method in class gpsys.primitives.MemObject
Sets the specified memory location to the default value (null).
reset(int) - Method in class gpsys.primitives.MemFloat
Sets the specified memory location to the default value (0.0).
reset(int) - Method in class gpsys.primitives.MemChar
Sets the specified memory location to the default value ('\0').
reset(int) - Method in class gpsys.primitives.MemLong
Sets the specified memory location to the default value (0).
reset(int) - Method in class gpsys.primitives.MemByte
Sets the specified memory location to the default value (0).
reset(int) - Method in class gpsys.primitives.MemBoolean
Sets the specified memory location to the default value (false).
rng - Variable in class gpsys.GPParameters
The random number generator.
rng - Variable in class gpsys.primitives.ConstantFloat
The random number generator used to create this constant.
rng - Variable in class gpsys.primitives.ConstantDouble
The random number generator used to create this constant.
rng - Variable in class gpsys.lawnmower.ConstantVector2Mod8
The random number generator.
rngSeed - Variable in class gpsys.GPParameters
The random number generator seed.

S

samples - Static variable in class gpsys.symreg.SymRegFitness
The number of samples used test the evolved function.
save(OutputStream) - Method in class gpsys.GPParameters
Write this object to an OutputStream compressing it using gzip as it is written.
save(String) - Method in class gpsys.GPParameters
Save this object to a file compressing it using gzip during the save.
selectBest() - Method in class gpsys.Population
Select the best individual from a tournament.
selectBranch(Random, Gene, Type) - Method in class gpsys.GeneBranch
select a subtree of at random from the given tree.
selectGeneticOperation() - Method in class gpsys.Population
Randomly select a new Genetic Operation to be performed using the selection probabilities specified in the GPParameters object via the variable pMutation and pReproduction.
selectWorst() - Method in class gpsys.Population
Select the worst individual from a tournament.
set(boolean) - Method in class gpsys.primitives.XBoolean
Sets the variable to the specified value.
set(byte) - Method in class gpsys.primitives.XByte
Sets the variable to the specified value.
set(char) - Method in class gpsys.primitives.XChar
Sets the variable to the specified value.
set(double) - Method in class gpsys.primitives.XDouble
Sets the variable to the specified value.
set(float) - Method in class gpsys.primitives.XFloat
Sets the variable to the specified value.
set(int) - Method in class gpsys.primitives.XInt
Sets the variable to the specified value.
set(int, boolean) - Method in class gpsys.primitives.MemBoolean
Sets the specified memory location to the specified value.
set(int, byte) - Method in class gpsys.primitives.MemByte
Sets the specified memory location to the specified value.
set(int, char) - Method in class gpsys.primitives.MemChar
Sets the specified memory location to the specified value.
set(int, double) - Method in class gpsys.primitives.MemDouble
Sets the specified memory location to the specified value.
set(int, float) - Method in class gpsys.primitives.MemFloat
Sets the specified memory location to the specified value.
set(int, int) - Method in class gpsys.primitives.MemInt
Sets the specified memory location to the specified value.
set(int, long) - Method in class gpsys.primitives.MemLong
Sets the specified memory location to the specified value.
set(int, Object) - Method in class gpsys.primitives.MemObject
Sets the specified memory location to the specified value.
set(int, short) - Method in class gpsys.primitives.MemShort
Sets the specified memory location to the specified value.
set(long) - Method in class gpsys.primitives.XLong
Sets the variable to the specified value.
set(Object) - Method in class gpsys.primitives.XObject
Sets the variable to the specified value.
set(short) - Method in class gpsys.primitives.XShort
Sets the variable to the specified value.
set(Vector2Mod8) - Method in class gpsys.lawnmower.ADF2Arg0
Set the value of this terminal to the specified value.
setObserver(LawnObserver) - Method in class gpsys.lawnmower.Lawn
Set the observer of the lawn to the specified observer.
SHORT - Static variable in class gpsys.Type
The java short type.
SHORT_typeID - Static variable in class gpsys.Type
The type ID for java byte type.
sort(int[]) - Method in class gpsys.Population
Sort an array of indices to Individuals so that the first index references the best Individual, and the last the worst.
SOUTH - Static variable in class gpsys.lawnmower.Mower
The value of direction when the mower is pointing SOUTH.
state - Variable in class gpsys.ParentInfo
The state of this parent.
Sub - class gpsys.primitives.Sub.
<typeX> Sub(<typeX> lvalue, <typeX> rvalue) Sub is a generic function that returns the result of subtracting both arguments.
Sub(Type) - Constructor for class gpsys.primitives.Sub
Constructs a Sub Function that works with the specified Type.
svalue - Variable in class gpsys.primitives.XShort
Holds the value of the variable.
SymReg - class gpsys.symreg.SymReg.
The user interface for the symbolic regression problem.
SymReg(String) - Constructor for class gpsys.symreg.SymReg
Construct the symbolic regression user interface using the specified file prefix.
SymRegChromosomeParametersADF0 - class gpsys.symreg.SymRegChromosomeParametersADF0.
The Chromosome parameters for ADF0 (the result producing branch) of the symbolic regression problem.
SymRegChromosomeParametersADF0(Random) - Constructor for class gpsys.symreg.SymRegChromosomeParametersADF0
Create the ChromosomeParameters object for ADF0.
SymRegFitness - class gpsys.symreg.SymRegFitness.
The Fitness class for the symbolic regression problem.
SymRegFitness() - Constructor for class gpsys.symreg.SymRegFitness
Construct a Fitness object with default Fitness.
SymRegFitness(GPParameters, Individual) - Constructor for class gpsys.symreg.SymRegFitness
Constructs a Fitness object by evaluating an Individual.
SymRegGPParameters - class gpsys.symreg.SymRegGPParameters.
The GPParameters class for the symbolic regression problem.
SymRegGPParameters(long, int, int) - Constructor for class gpsys.symreg.SymRegGPParameters
Constructs a GPParameters object for the symbolic regression problem.

T

Terminal - class gpsys.Terminal.
The super class of all GP Terminals.
Terminal() - Constructor for class gpsys.Terminal
 
terminalCount - Static variable in class gpsys.GeneBranch
Total number of times a terminal point was selected for mutation or crossover.
terminals - Variable in class gpsys.ChromosomeParameters
The table of available terminals.
terminalsOfType - Variable in class gpsys.ChromosomeParameters
A hash table mapping a given Type to an array of terminals of that Type.
terminationCondition() - Method in class gpsys.Fitness
Tests whether this fitness meets the termination criteria.
terminationCondition() - Method in class gpsys.lawnmower.LawnMowerFitness
Tests whether this fitness meets the termination criteria.
terminationCondition() - Method in class gpsys.symreg.SymRegFitness
Tests whether this fitness meets the termination criteria.
theTable - Variable in class gpsys.TypeToFunctionsTable
The hash table used to store the Function arrays.
theTable - Variable in class gpsys.TypeToTerminalsTable
 
to - Variable in class gpsys.primitives.ConstantFloat
The largest value that this constant can take.
to - Variable in class gpsys.primitives.ConstantDouble
The largest value that this constant can take.
to - Static variable in class gpsys.symreg.SymRegFitness
The maximum value of x to be used for testing the evolved function.
toString() - Method in class gpsys.Primitive
Creates a String representation of this primitive.
toString() - Method in class gpsys.ParentInfo
Creates a string representing the state of this object.
toString() - Method in class gpsys.Gene
Converts the Gene and its subtrees into a String.
toString() - Method in class gpsys.GeneFunction
Create a String representing this Gene tree.
toString() - Method in class gpsys.Chromosome
Generates a String representing a dump of the Gene tree for this Chromosome.
toString() - Method in class gpsys.Fitness
Converts the fitness into a String suitable for printing.
toString() - Method in class gpsys.GeneTerminal
Create a String representing this Gene.
toString() - Method in class gpsys.CrossoverBookkeeping
Create a string representation of the bookkeeping data structure.
toString() - Method in class gpsys.Type
Get a string representation of the type (the name of the type).
toString() - Method in class gpsys.Individual
Create a String representing this Individual.
toString() - Method in class gpsys.primitives.One
Returns a String representation of this Terminal.
toString() - Method in class gpsys.primitives.True
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.Div
Returns a String representation of this Function.
toString() - Method in class gpsys.primitives.MemDouble
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.Or
Returns a String representation of this Function.
toString() - Method in class gpsys.primitives.Zero
Returns a String representation of this Terminal.
toString() - Method in class gpsys.primitives.MemInt
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.MemShort
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.LE
Returns a String representation of this Function.
toString() - Method in class gpsys.primitives.MemObject
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.Sub
Returns a String representation of this Function.
toString() - Method in class gpsys.primitives.MemFloat
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.GE
Returns a String representation of this Function.
toString() - Method in class gpsys.primitives.ProgN
Returns a String representation of this Function.
toString() - Method in class gpsys.primitives.EQ
Returns a String representation of this Function.
toString() - Method in class gpsys.primitives.XShort
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.XBoolean
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.MemChar
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.And
Returns a String representation of this Function.
toString() - Method in class gpsys.primitives.XLong
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.LT
Returns a String representation of this Function.
toString() - Method in class gpsys.primitives.Xor
Returns a String representation of this Function.
toString() - Method in class gpsys.primitives.MemSet
Returns a String representation of this Function.
toString() - Method in class gpsys.primitives.False
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.XFloat
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.XChar
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.GT
Returns a String representation of this Function.
toString() - Method in class gpsys.primitives.XInt
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.Not
Returns a String representation of this Function.
toString() - Method in class gpsys.primitives.ConstantFloat
Returns the value of the constant as a String.
toString() - Method in class gpsys.primitives.XByte
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.MemGet
Returns a String representation of this Function.
toString() - Method in class gpsys.primitives.MemLong
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.If
Returns a String representation of this Function.
toString() - Method in class gpsys.primitives.Add
Returns a String representation of this Function.
toString() - Method in class gpsys.primitives.XObject
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.Mul
Returns a String representation of this Function.
toString() - Method in class gpsys.primitives.ConstantDouble
Returns the value of the constant as a String.
toString() - Method in class gpsys.primitives.MemByte
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.XDouble
Creates a String representing this Terminal.
toString() - Method in class gpsys.primitives.MemBoolean
Creates a String representing this Terminal.
toString() - Method in class gpsys.lawnmower.Vector2Mod8
Creates a String representing this Vector2Mod8 object.
toString() - Method in class gpsys.lawnmower.ADF2Arg0
Returns a String representation of this Terminal.
toString() - Method in class gpsys.lawnmower.LawnMowerFitness
Converts the fitness into a String suitable for printing.
toString() - Method in class gpsys.lawnmower.ADF1
Returns a String representation of this ADTerminal.
toString() - Method in class gpsys.lawnmower.AddVector2Mod8
Returns a String representation of this Function.
toString() - Method in class gpsys.lawnmower.Mow
Returns a String representation of this Terminal.
toString() - Method in class gpsys.lawnmower.Left
Returns a String representation of this Terminal.
toString() - Method in class gpsys.lawnmower.ConstantVector2Mod8
Returns the value of the constant as a String.
toString() - Method in class gpsys.lawnmower.ADF2
Returns a String representation of this Function.
toString() - Method in class gpsys.lawnmower.Frog
Returns a String representation of this Function.
toString() - Method in class gpsys.symreg.SymRegFitness
Converts the fitness into a String suitable for printing.
totalOperationsCount - Variable in class gpsys.ParentInfo
A count of the total number of genetic operations involving this parent.
tournamentSelect() - Method in class gpsys.Population
Perform tournament selection.
tournamentSize - Variable in class gpsys.GPParameters
The tournament size to be used for tournament selection during crossover and mutation.
treeTop - Variable in class gpsys.Chromosome
The Gene at the top of the tree.
True - class gpsys.primitives.True.
BOOLEAN True True is a Terminal of Type BOOLEAN.
True() - Constructor for class gpsys.primitives.True
Constructs a new True object.
type - Variable in class gpsys.Primitive
The type returned by this primitive.
type - Variable in class gpsys.ChromosomeParameters
The type to be returned by the Chromosome.
Type - class gpsys.Type.
Types are used to define return types of Primitives and Chromosomes.
TYPE_VECTOR_SIZE - Static variable in class gpsys.GeneBranch
The default size of the vector used for keeping subtrees of a given type.
Type() - Constructor for class gpsys.Type
Default constructor, should never be used.
Type(int, String) - Constructor for class gpsys.Type
Construct a new type with the specified typeID and name.
TypeException - exception gpsys.TypeException.
A TypeException is generated when a Gene tree is being generated, and no Function or Terminal of the required type at the given depth can be found.
TypeException() - Constructor for class gpsys.TypeException
Create an TypeException with an empty message.
TypeException(String) - Constructor for class gpsys.TypeException
Create an TypeException with the specified message.
typeID - Variable in class gpsys.Type
The typeID uniquely identifies the Type.
typeName - Variable in class gpsys.Type
The name given to the type.
types - Variable in class gpsys.ChromosomeParameters
The table of available types.
TypeToFunctionsTable - class gpsys.TypeToFunctionsTable.
A Table that maps a given Type to an array of Functions returning that type.
TypeToFunctionsTable(int) - Constructor for class gpsys.TypeToFunctionsTable
Creates a table of the specified initial capacity.
TypeToTerminalsTable - class gpsys.TypeToTerminalsTable.
A Table that maps a given Type to an array of Terminals returning that type.
TypeToTerminalsTable(int) - Constructor for class gpsys.TypeToTerminalsTable
Creates a table of the specified initial capacity.

U

UNCUT - Static variable in class gpsys.lawnmower.Lawn
Used to tag squares as not having been cut.
update(Graphics) - Method in class gpsys.lawnmower.LawnViewer
Override the Canvas update() method so that the Canvas is not cleared before it is redrawn.
updateStats() - Method in class gpsys.Population
Update the statistics for the Population.

V

v - Variable in class gpsys.lawnmower.ConstantVector2Mod8
The value of this constant.
value - Variable in class gpsys.lawnmower.ADF2Arg0
The value of the argument.
Vector2Mod8 - class gpsys.lawnmower.Vector2Mod8.
The Vector2Mod8 type is a 2 element vector consisting of numbers in the range 0 to 7.
Vector2Mod8 - Static variable in class gpsys.lawnmower.LawnMowerTypes
The Vector2Mod8 type.
Vector2Mod8_typedID - Static variable in class gpsys.lawnmower.LawnMowerTypes
The type ID for the Vector2Mod8 type.
Vector2Mod8(int, int) - Constructor for class gpsys.lawnmower.Vector2Mod8
Construct a new Vector2Mod8 object with the elements initialised to the specified values.
VIA_CREATION - Static variable in interface gpsys.GPObserver
Used to indicate that an Individual was created via creation.
VIA_CROSSOVER - Static variable in interface gpsys.GPObserver
Used to indicate that an Individual was created via crossover.
VIA_MUTATION - Static variable in interface gpsys.GPObserver
Used to indicate that an Individual was created via mutation.
VIA_REPRODUCTION - Static variable in interface gpsys.GPObserver
Used to indicate that an Individual was created via reproduction.

W

WEST - Static variable in class gpsys.lawnmower.Mower
The value of direction when the mower is pointing WEST.
writeReport(PrintWriter, boolean) - Method in class gpsys.GPParameters
Write a report of the current generation to the PrintWriter.
writeReport(String, boolean) - Method in class gpsys.GPParameters
Write a report of the current generation to a file.

X

x - Variable in class gpsys.lawnmower.Vector2Mod8
The first element of the vector.
x - Variable in class gpsys.lawnmower.Mower
The X corrdinate of the mower on the lawn.
XBoolean - class gpsys.primitives.XBoolean.
BOOLEAN XBoolean XBoolean is a Terminal representing a variable of Type BOOLEAN.
XBoolean() - Constructor for class gpsys.primitives.XBoolean
Construct a new variable.
XByte - class gpsys.primitives.XByte.
BYTE XByte XByte is a Terminal representing a variable of Type BYTE.
XByte() - Constructor for class gpsys.primitives.XByte
Construct a new variable.
XChar - class gpsys.primitives.XChar.
CHAR XChar XChar is a Terminal representing a variable of Type CHAR.
XChar() - Constructor for class gpsys.primitives.XChar
Construct a new variable.
XDouble - class gpsys.primitives.XDouble.
DOUBLE XDouble XDouble is a Terminal representing a variable of Type DOUBLE.
XDouble() - Constructor for class gpsys.primitives.XDouble
Construct a new variable.
XFloat - class gpsys.primitives.XFloat.
FLOAT XFloat XFloat is a Terminal representing a variable of Type FLOAT.
XFloat() - Constructor for class gpsys.primitives.XFloat
Construct a new variable.
XInt - class gpsys.primitives.XInt.
INT XInt XInt is a Terminal representing a variable of Type INT.
XInt() - Constructor for class gpsys.primitives.XInt
Construct a new variable.
XLong - class gpsys.primitives.XLong.
LONG XLong XLong is a Terminal representing a variable of Type Long.
XLong() - Constructor for class gpsys.primitives.XLong
Construct a new variable.
XObject - class gpsys.primitives.XObject.
OBJECT XObject XObject is a Terminal representing a variable of Type OBJECT.
XObject() - Constructor for class gpsys.primitives.XObject
Construct a new variable.
Xor - class gpsys.primitives.Xor.
BOOLEAN Xor(BOOLEAN b1, BOOLEAN b2) Xor is a boolean function that returns the logical "exclusive or" of both arguments.
Xor() - Constructor for class gpsys.primitives.Xor
Construct an instance of the Xor Function.
XShort - class gpsys.primitives.XShort.
SHORT XShort XShort is a Terminal representing a variable of Type SHORT.
XShort() - Constructor for class gpsys.primitives.XShort
Construct a new variable.

Y

y - Variable in class gpsys.lawnmower.Vector2Mod8
The second element of the vector.
y - Variable in class gpsys.lawnmower.Mower
The Y corrdinate of the mower on the lawn.

Z

Zero - class gpsys.primitives.Zero.
<typeX> Zero Zero is a generic Terminal which which represents the constant value zero.
Zero - Static variable in class gpsys.lawnmower.Vector2Mod8
The zero Vector2Mod8 (0,0).
Zero(Type) - Constructor for class gpsys.primitives.Zero
Constructs a constant of value zero for the specified type.

A B C D E F G I K L M N O P R S T U V W X Y Z