All Packages  Class Hierarchy

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

Index of all Fields and Methods

A

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.
AddVector2Mod8(). Constructor for class gpsys.lawnmower.AddVector2Mod8
Create a Vector2Mod8 adder object.
adf. Variable in class gpsys.GPParameters
Parameters for each ADF to be evolved.
adf. Variable in class gpsys.Individual
An Individual has a number of Chromosomes.
ADF1(). Constructor for class gpsys.lawnmower.ADF1
Construct an ADF1 terminal assigning its type to Vector2Mod8.
ADF2(ADF2Arg0). Constructor for class gpsys.lawnmower.ADF2
Create an ADF2 Object.
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(). Constructor for class gpsys.ADFunction
ADTerminal(). Constructor for class gpsys.ADTerminal
And(). Constructor for class gpsys.primitives.And
Construct an instance of the And Function.
argTypes. Variable in class gpsys.Function
The types of each argument that this function takes.
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

best. Variable in class gpsys.Population
The fittest Individual in the Population.
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). Static method in class gpsys.GeneBranch
Get a table of all subtrees of a given type
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.
ChromosomeParameters(). Constructor for class gpsys.ChromosomeParameters
complexity. Variable in class gpsys.Individual
The total number of Genes used across all Chromosomes.
complexity(). Method in class gpsys.Chromosome
Calculates the number of nodes in the Gene tree of this Chromosome.
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.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(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(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(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.
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.
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(). Method in class gpsys.lawnmower.Lawn
Gets a count of the number of squares on the lawn in the CUT state.

D

d. Variable in class gpsys.primitives.ConstantDouble
The value of this constant.
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.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.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.
disableObserver(). Method in class gpsys.lawnmower.Lawn
Disables the observer from receiving change messages.
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(). 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.

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.
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.Chromosome
Evaluates the chromosome so that it returns a boolean.
evaluateBoolean(Individual). Method in class gpsys.primitives.False
Evaluates the False Terminal.
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.GeneTerminal
Evaluate this Gene as Terminal returning 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.primitives.True
Evaluates the True Terminal.
evaluateBoolean(Individual). Method in class gpsys.primitives.XBoolean
Evaluates the variable, which returns its value.
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.EQ
Used to test arguments of any of the supported Types for equality.
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.GE
Used to execute the GE test for arguments of any of the supported Types.
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.If
Used to conditionally evaluate arguments of BOOLEAN Types.
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.LT
Used to execute the LT test for arguments of any of the supported Types.
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.MemSet
Used to set values in memories of MEM_BOOLEAN type.
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.Or
Perform the logical Or of both arguments and return the result.
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.Xor
Perform the logical Xor of both arguments and return the result.
evaluateByte(). Method in class gpsys.Individual
Evaluate this Individual as a program 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.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.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.Terminal
To be overridden by Terminals returning a byte when evaluated.
evaluateByte(Individual). Method in class gpsys.primitives.XByte
Evaluates the variable, which returns its value.
evaluateByte(Individual). Method in class gpsys.primitives.Zero
Used to get a BYTE value of the constant zero.
evaluateByte(Individual, Gene[]). Method in class gpsys.primitives.Add
Used to Add arguments of BYTE Types.
evaluateByte(Individual, Gene[]). Method in class gpsys.primitives.Div
Used to divide arguments of BYTE Types.
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.If
Used to conditionally evaluate arguments of BYTE Types.
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.MemSet
Used to set values in memories of MEM_BYTE type.
evaluateByte(Individual, Gene[]). Method in class gpsys.primitives.Mul
Used to multiply 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.Sub
Used to subtract 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.Chromosome
Evaluates the chromosome so that it returns 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.GeneTerminal
Evaluate this Gene as Terminal returning 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.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.If
Used to conditionally evaluate arguments of CHAR Types.
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.MemSet
Used to set values in memories of MEM_CHAR type.
evaluateChar(Individual, Gene[]). Method in class gpsys.primitives.ProgN
Used to evaluate a ProgN Function of Type CHAR.
evaluateDouble(). Method in class gpsys.Individual
Evaluate this Individual as a program 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.primitives.ConstantDouble
Evaluate this Terminal.
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.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.Terminal
To be overridden by Terminals returning a double when evaluated.
evaluateDouble(Individual). Method in class gpsys.primitives.XDouble
Evaluates the variable, which returns its value.
evaluateDouble(Individual). Method in class gpsys.primitives.Zero
Used to get a DOUBLE value of the constant zero.
evaluateDouble(Individual, Gene[]). Method in class gpsys.primitives.Add
Used to Add arguments of DOUBLE Types.
evaluateDouble(Individual, Gene[]). Method in class gpsys.primitives.Div
Used to divide arguments of DOUBLE Types.
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.If
Used to conditionally evaluate arguments of DOUBLE Types.
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.MemSet
Used to set values in memories of MEM_DOUBLE type.
evaluateDouble(Individual, Gene[]). Method in class gpsys.primitives.Mul
Used to multiply 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.Sub
Used to subtract 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.Chromosome
Evaluates the chromosome so that it returns a float.
evaluateFloat(Individual). Method in class gpsys.primitives.ConstantFloat
Evaluate this Terminal.
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.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.Terminal
To be overridden by Terminals returning a float when evaluated.
evaluateFloat(Individual). Method in class gpsys.primitives.XFloat
Evaluates the variable, which returns its value.
evaluateFloat(Individual). Method in class gpsys.primitives.Zero
Used to get a FLOAT value of the constant zero.
evaluateFloat(Individual, Gene[]). Method in class gpsys.primitives.Add
Used to Add arguments of FLOAT Types.
evaluateFloat(Individual, Gene[]). Method in class gpsys.primitives.Div
Used to divide arguments of FLOAT Types.
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.If
Used to conditionally evaluate arguments of FLOAT Types.
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.MemSet
Used to set values in memories of MEM_FLOAT type.
evaluateFloat(Individual, Gene[]). Method in class gpsys.primitives.Mul
Used to multiply 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.Sub
Used to subtract 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.Chromosome
Evaluates the chromosome so that it returns 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.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.Terminal
To be overridden by Terminals returning an int when evaluated.
evaluateInt(Individual). Method in class gpsys.primitives.XInt
Evaluates the variable, which returns its value.
evaluateInt(Individual). Method in class gpsys.primitives.Zero
Used to get a INT value of the constant zero.
evaluateInt(Individual, Gene[]). Method in class gpsys.primitives.Add
Used to Add arguments of INT Types.
evaluateInt(Individual, Gene[]). Method in class gpsys.primitives.Div
Used to divide arguments of INT Types.
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.If
Used to conditionally evaluate arguments of INT Types.
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.MemSet
Used to set values in memories of MEM_INT type.
evaluateInt(Individual, Gene[]). Method in class gpsys.primitives.Mul
Used to multiply 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.Sub
Used to subtract 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.Chromosome
Evaluates the chromosome so that it returns 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.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.Terminal
To be overridden by Terminals returning a long when evaluated.
evaluateLong(Individual). Method in class gpsys.primitives.XLong
Evaluates the variable, which returns its value.
evaluateLong(Individual). Method in class gpsys.primitives.Zero
Used to get a LONG value of the constant zero.
evaluateLong(Individual, Gene[]). Method in class gpsys.primitives.Add
Used to Add arguments of LONG Types.
evaluateLong(Individual, Gene[]). Method in class gpsys.primitives.Div
Used to divide arguments of LONG Types.
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.If
Used to conditionally evaluate arguments of LONG Types.
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.MemSet
Used to set values in memories of MEM_LONG type.
evaluateLong(Individual, Gene[]). Method in class gpsys.primitives.Mul
Used to multiply 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.Sub
Used to subtract 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.lawnmower.ADF1
Evaluate the evolved terminal as primitive that returns an Object reference.
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.Chromosome
Evaluates the chromosome so that it returns an Object reference.
evaluateObject(Individual). Method in class gpsys.lawnmower.ConstantVector2Mod8
Evaluate this Terminal.
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.GeneTerminal
Evaluate this Gene as Terminal returning an Object reference.
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.primitives.MemBoolean
Evaluation of indexed memory just returns a reference to the memory.
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.MemChar
Evaluation of indexed memory just returns a reference to the memory.
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.MemFloat
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.MemLong
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.MemShort
Evaluation of indexed memory just returns a reference to the memory.
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.Terminal
To be overridden by Terminals returning an Object when evaluated.
evaluateObject(Individual). Method in class gpsys.primitives.XObject
Evaluates the variable, which returns its value.
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.
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.If
Used to conditionally evaluate arguments of OBJECT Types.
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.MemSet
Used to set values in memories of MEM_OBJECT type.
evaluateObject(Individual, Gene[]). Method in class gpsys.primitives.ProgN
Used to evaluate a ProgN Function of Type OBJECT.
evaluateShort(). Method in class gpsys.Individual
Evaluate this Individual as a program 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.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.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.Terminal
To be overridden by Terminals returning a short when evaluated.
evaluateShort(Individual). Method in class gpsys.primitives.XShort
Evaluates the variable, which returns its value.
evaluateShort(Individual). Method in class gpsys.primitives.Zero
Used to get a SHORT value of the constant zero.
evaluateShort(Individual, Gene[]). Method in class gpsys.primitives.Add
Used to Add arguments of SHORT Types.
evaluateShort(Individual, Gene[]). Method in class gpsys.primitives.Div
Used to divide arguments of SHORT Types.
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.If
Used to conditionally evaluate arguments of SHORT Types.
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.MemSet
Used to set values in memories of MEM_SHORT type.
evaluateShort(Individual, Gene[]). Method in class gpsys.primitives.Mul
Used to multiply 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.Sub
Used to subtract arguments of SHORT Types.
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.GPsys
Evolves the population until the required number of generations have been produced or the termination criteria has been satisfied.
evolve(). Method in class gpsys.Population
EVOLVED. Static variable in interface gpsys.GPObserver
Used to indicate that the generation update represents a generation that has been evolved.
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.

F

f. Variable in class gpsys.primitives.ConstantFloat
The value of this constant.
False(). Constructor for class gpsys.primitives.False
Constructs a new False object.
fitness. Variable in class gpsys.GPParameters
The Fitness definition for the problem.
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(). 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.
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. 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(). Constructor for class gpsys.Function
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.

G

GE(Type). Constructor for class gpsys.primitives.GE
Constructs a GE Function that works with the specified Type.
Gene(). Constructor for class gpsys.Gene
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(). Constructor for class gpsys.GeneFunction
GeneFunctionFull(int, Type, GPParameters, int). Constructor for class gpsys.GeneFunctionFull
Create a Gene tree using the Full 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.
get(int). Method in class gpsys.primitives.MemBoolean
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.MemChar
Gets the value of the specified memory location.
get(int). Method in class gpsys.primitives.MemDouble
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.MemInt
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.MemObject
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(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.
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.
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(). Constructor for class gpsys.GPParameters
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(Type). Constructor for class gpsys.primitives.GT
Constructs a GT Function that works with the specified Type.

I

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(GPParameters). Constructor for class gpsys.Individual
Create a completely new Individual.
Individual(GPParameters, Individual). Constructor for class gpsys.Individual
Create a new Individual which is a 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 during the generation of the initial population.
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 interface gpsys.GPObserver
Invoked by the GP system whenever a new Individual has been created during evolution.
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.
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.primitives.Add
Creates an instance of this Add object.
instance(). Method in class gpsys.lawnmower.AddVector2Mod8
Creates an instance of this Function.
instance(). Method in class gpsys.lawnmower.ADF1
Create another instance of this ADTerminal.
instance(). Method in class gpsys.lawnmower.ADF2
Creates an instance of this ADF.
instance(). Method in class gpsys.lawnmower.ADF2Arg0
Creates an instance of this Terminal.
instance(). Method in class gpsys.primitives.And
Creates an instance of this And Function.
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.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.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.primitives.Div
Creates an instance of this Div object.
instance(). Method in class gpsys.primitives.EQ
Creates an instance of this EQ object.
instance(). Method in class gpsys.primitives.False
Creates a copy of this Terminal.
instance(). Method in class gpsys.Fitness
Creates a new instance of the Fitness object with a default fitness.
instance(). Method in class gpsys.lawnmower.Frog
Creates a new instance of this Object.
instance(). Method in class gpsys.primitives.GE
Creates an instance of this GE object.
instance(). Method in class gpsys.primitives.GT
Creates an instance of this GT object.
instance(). Method in class gpsys.primitives.If
Creates an If Object of the same type.
instance(). Method in class gpsys.lawnmower.LawnMowerFitness
Creates a new instance of the Fitness object with a default fitness.
instance(). Method in class gpsys.primitives.LE
Creates an instance of this LE object.
instance(). Method in class gpsys.lawnmower.Left
Creates a new instance of this Object.
instance(). Method in class gpsys.primitives.LT
Creates an instance of this LT object.
instance(). Method in class gpsys.primitives.MemBoolean
Creates a copy of this Terminal.
instance(). Method in class gpsys.primitives.MemByte
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.MemDouble
Creates a copy of this Terminal.
instance(). Method in class gpsys.primitives.MemFloat
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.MemInt
Creates a copy of this Terminal.
instance(). Method in class gpsys.primitives.MemLong
Creates a copy of this Terminal.
instance(). Method in class gpsys.primitives.MemObject
Creates a copy of this Terminal.
instance(). Method in class gpsys.primitives.MemSet
Creates an instance of this MemSet object.
instance(). Method in class gpsys.primitives.MemShort
Creates a copy of this Terminal.
instance(). Method in class gpsys.lawnmower.Mow
Creates a new instance of this Object.
instance(). Method in class gpsys.primitives.Mul
Creates an instance of this Mul object.
instance(). Method in class gpsys.primitives.Not
Creates an instance of this And Function.
instance(). Method in class gpsys.primitives.One
Creates an instance of this One object.
instance(). Method in class gpsys.primitives.Or
Creates an instance of this Function.
instance(). Method in class gpsys.Primitive
Creates a new instance of this primitive.
instance(). Method in class gpsys.primitives.ProgN
Creates an instance of this ProgN object.
instance(). Method in class gpsys.primitives.Sub
Creates an instance of this Sub object.
instance(). Method in class gpsys.symreg.SymRegFitness
Creates a new instance of the Fitness object with a default fitness.
instance(). Method in class gpsys.primitives.True
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.XByte
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.XDouble
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.XInt
Creates a copy of this Terminal.
instance(). Method in class gpsys.primitives.XLong
Creates a copy of this Terminal.
instance(). Method in class gpsys.primitives.XObject
Creates a copy of this Terminal.
instance(). Method in class gpsys.primitives.Xor
Creates an instance of this Function.
instance(). Method in class gpsys.primitives.XShort
Creates a copy of this Terminal.
instance(). Method in class gpsys.primitives.Zero
Creates an instance of this Zero object.
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.

L

lawn. Variable in class gpsys.lawnmower.LawnMowerGPParameters
The lawn to be mowed.
Lawn(int). Constructor for class gpsys.lawnmower.Lawn
Create a square lawn of the specified dimension, with no observer.
lawnCutting(int, int). Method in interface gpsys.lawnmower.LawnObserver
Called when the square at the specified coordinates is being cut.
lawnCutting(int, int). Method in class gpsys.lawnmower.LawnViewer
Update the lawn view when a square on the lawn is being cut.
lawnGrown(). Method in interface gpsys.lawnmower.LawnObserver
Called when the entire lawn regrows.
lawnGrown(). Method in class gpsys.lawnmower.LawnViewer
Update the lawn view when the lawn regrows.
LawnMower(Lawn, String). Constructor for class gpsys.lawnmower.LawnMower
Construct a lawn mower user interface.
LawnMowerChromosomeParametersADF0(Mower, Random, ADF2Arg0). Constructor for class gpsys.lawnmower.LawnMowerChromosomeParametersADF0
Create the ChromosomeParameters object for ADF0.
LawnMowerChromosomeParametersADF1(Mower, Random). Constructor for class gpsys.lawnmower.LawnMowerChromosomeParametersADF1
Create the ChromosomeParameters object for ADF1.
LawnMowerChromosomeParametersADF2(Mower, Random). Constructor for class gpsys.lawnmower.LawnMowerChromosomeParametersADF2
Create the ChromosomeParameters object for ADF2.
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.
LawnMowerTypes(). Constructor for class gpsys.lawnmower.LawnMowerTypes
LawnViewer(Lawn). Constructor for class gpsys.lawnmower.LawnViewer
Create a new LawnViewer Object which provides a view of the specified Lawn.
LE(Type). Constructor for class gpsys.primitives.LE
Constructs a LE Function that works with the specified Type.
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.
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.
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(Type). Constructor for class gpsys.primitives.LT
Constructs a LT Function that works with the specified Type.

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(int). Constructor for class gpsys.primitives.MemBoolean
Construct indexed memory of the specified size.
MemByte(int). Constructor for class gpsys.primitives.MemByte
Construct indexed memory of the specified size.
MemChar(int). Constructor for class gpsys.primitives.MemChar
Construct indexed memory of the specified size.
MemDouble(int). Constructor for class gpsys.primitives.MemDouble
Construct indexed memory of the specified size.
MemFloat(int). Constructor for class gpsys.primitives.MemFloat
Construct indexed memory of the specified size.
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(int). Constructor for class gpsys.primitives.MemInt
Construct indexed memory of the specified size.
MemLong(int). Constructor for class gpsys.primitives.MemLong
Construct indexed memory of the specified size.
MemObject(int). Constructor for class gpsys.primitives.MemObject
Construct indexed memory of the specified size.
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(int). Constructor for class gpsys.primitives.MemShort
Construct indexed memory of the specified size.
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.
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(Lawn). Constructor for class gpsys.lawnmower.Mower
Construct a new mower to lawn the specified lawn.
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.

N

NORTH. Static variable in class gpsys.lawnmower.Mower
The value of direction when the mower is pointing NORTH.
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.
observer. Variable in class gpsys.GPParameters
The object monitoring the GP system.
One(Type). Constructor for class gpsys.primitives.One
Constructs a constant of value one for the specified type.
Or(). Constructor for class gpsys.primitives.Or
Construct an instance of the Or Function.

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.
pMutation. Variable in class gpsys.GPParameters
The probability of mutation.
population. Variable in class gpsys.GPParameters
The population.
Population(GPParameters). Constructor for class gpsys.Population
populationSize. Variable in class gpsys.GPParameters
How many Individuals there are in the population.
Primitive(). Constructor for class gpsys.Primitive
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

report(PrintWriter). Method in class gpsys.Population
Print a report of the population using the specified PrintWriter.
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.MemBoolean
Sets the specified memory location to the default value (false).
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.MemChar
Sets the specified memory location to the default value ('\0').
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.MemFloat
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.MemLong
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.MemShort
Sets the specified memory location to the default value (0).
rng. Variable in class gpsys.GPParameters
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.
selectBranch(Random, Gene). Method in class gpsys.GeneBranch
select a subtree of at random from the given tree.
selectBranch(Random, Gene, Type). Method in class gpsys.GeneBranch
select a subtree of at random from the given tree.
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.
SOUTH. Static variable in class gpsys.lawnmower.Mower
The value of direction when the mower is pointing SOUTH.
Sub(Type). Constructor for class gpsys.primitives.Sub
Constructs a Sub Function that works with the specified Type.
SymReg(String). Constructor for class gpsys.symreg.SymReg
Construct the symbolic regression user interface using the specified file prefix.
SymRegChromosomeParametersADF0(Random). Constructor for class gpsys.symreg.SymRegChromosomeParametersADF0
Create the ChromosomeParameters object for ADF0.
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.

T

Terminal(). Constructor for class gpsys.Terminal
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.
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.primitives.Add
Returns a String representation of this Function.
toString(). Method in class gpsys.lawnmower.AddVector2Mod8
Returns a String representation of this Function.
toString(). Method in class gpsys.lawnmower.ADF1
Returns a String representation of this ADTerminal.
toString(). Method in class gpsys.lawnmower.ADF2
Returns a String representation of this Function.
toString(). Method in class gpsys.lawnmower.ADF2Arg0
Returns a String representation of this Terminal.
toString(). Method in class gpsys.primitives.And
Returns a String representation of this Function.
toString(). Method in class gpsys.Chromosome
Generates a String representing a dump of the Gene tree for this Chromosome.
toString(). Method in class gpsys.primitives.ConstantDouble
Returns the value of the constant as a String.
toString(). Method in class gpsys.primitives.ConstantFloat
Returns the value of the constant as a String.
toString(). Method in class gpsys.lawnmower.ConstantVector2Mod8
Returns the value of the constant as a String.
toString(). Method in class gpsys.primitives.Div
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.False
Creates a String representing this Terminal.
toString(). Method in class gpsys.Fitness
Converts the fitness into a String suitable for printing.
toString(). Method in class gpsys.lawnmower.Frog
Returns a String representation of this Function.
toString(). Method in class gpsys.primitives.GE
Returns a String representation of this Function.
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.GeneTerminal
Create a String representing this Gene.
toString(). Method in class gpsys.primitives.GT
Returns a String representation of this Function.
toString(). Method in class gpsys.primitives.If
Returns a String representation of this Function.
toString(). Method in class gpsys.Individual
Create a String representing this Individual.
toString(). Method in class gpsys.lawnmower.LawnMowerFitness
Converts the fitness into a String suitable for printing.
toString(). Method in class gpsys.primitives.LE
Returns a String representation of this Function.
toString(). Method in class gpsys.lawnmower.Left
Returns a String representation of this Terminal.
toString(). Method in class gpsys.primitives.LT
Returns a String representation of this Function.
toString(). Method in class gpsys.primitives.MemBoolean
Creates a String representing this Terminal.
toString(). Method in class gpsys.primitives.MemByte
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.MemDouble
Creates a String representing this Terminal.
toString(). Method in class gpsys.primitives.MemFloat
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.MemInt
Creates a String representing this Terminal.
toString(). Method in class gpsys.primitives.MemLong
Creates a String representing this Terminal.
toString(). Method in class gpsys.primitives.MemObject
Creates a String representing this Terminal.
toString(). Method in class gpsys.primitives.MemSet
Returns a String representation of this Function.
toString(). Method in class gpsys.primitives.MemShort
Creates a String representing this Terminal.
toString(). Method in class gpsys.lawnmower.Mow
Returns a String representation of this Terminal.
toString(). Method in class gpsys.primitives.Mul
Returns a String representation of this Function.
toString(). Method in class gpsys.primitives.Not
Returns a String representation of this Function.
toString(). Method in class gpsys.primitives.One
Returns a String representation of this Terminal.
toString(). Method in class gpsys.primitives.Or
Returns a String representation of this Function.
toString(). Method in class gpsys.Primitive
Creates a String representation of this primitive.
toString(). Method in class gpsys.primitives.ProgN
Returns a String representation of this Function.
toString(). Method in class gpsys.primitives.Sub
Returns a String representation of this Function.
toString(). Method in class gpsys.symreg.SymRegFitness
Converts the fitness into a String suitable for printing.
toString(). Method in class gpsys.primitives.True
Creates a String representing this Terminal.
toString(). Method in class gpsys.Type
Get a string representation of the type (the name of the type).
toString(). Method in class gpsys.lawnmower.Vector2Mod8
Creates a String representing this Vector2Mod8 object.
toString(). Method in class gpsys.primitives.XBoolean
Creates a String representing this Terminal.
toString(). Method in class gpsys.primitives.XByte
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.XDouble
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.XInt
Creates a String representing this Terminal.
toString(). Method in class gpsys.primitives.XLong
Creates a String representing this Terminal.
toString(). Method in class gpsys.primitives.XObject
Creates a String representing this Terminal.
toString(). Method in class gpsys.primitives.Xor
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.Zero
Returns a String representation of this Terminal.
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(). Constructor for class gpsys.primitives.True
Constructs a new True object.
type. Variable in class gpsys.ChromosomeParameters
The type to be returned by the Chromosome.
type. Variable in class gpsys.Primitive
The type returned by this primitive.
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.
TYPE_VECTOR_SIZE. Static variable in class gpsys.GeneBranch
The default size of the vector used for keeping subtrees of a given type.
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(int). Constructor for class gpsys.TypeToFunctionsTable
Creates a table of the specified initial capacity.
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.
Vector2Mod8. Static variable in class gpsys.lawnmower.LawnMowerTypes
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.
Vector2Mod8_typedID. Static variable in class gpsys.lawnmower.LawnMowerTypes
The type ID for the Vector2Mod8 type.
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.

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

XBoolean(). Constructor for class gpsys.primitives.XBoolean
Construct a new variable.
XByte(). Constructor for class gpsys.primitives.XByte
Construct a new variable.
XChar(). Constructor for class gpsys.primitives.XChar
Construct a new variable.
XDouble(). Constructor for class gpsys.primitives.XDouble
Construct a new variable.
XFloat(). Constructor for class gpsys.primitives.XFloat
Construct a new variable.
XInt(). Constructor for class gpsys.primitives.XInt
Construct a new variable.
XLong(). Constructor for class gpsys.primitives.XLong
Construct a new variable.
XObject(). Constructor for class gpsys.primitives.XObject
Construct a new variable.
Xor(). Constructor for class gpsys.primitives.Xor
Construct an instance of the Xor Function.
XShort(). Constructor for class gpsys.primitives.XShort
Construct a new variable.