Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
C
D
E
F
G
I
L
M
N
O
P
R
S
T
V
W
A
Add
- class com.groovyj.jgprog.functions.
Add
.
The addition function.
Add.Compatible
- interface com.groovyj.jgprog.functions.
Add.Compatible
.
Add(Type)
- Constructor for class com.groovyj.jgprog.functions.
Add
Creates an addition node of the given type
addGPListener(GPListener)
- Method in class com.groovyj.jgprog.
World
ADF
- class com.groovyj.jgprog.functions.
ADF
.
An automatically defined function (ADF) is a chromosome which takes a number of arguments.
ADF(int, Type[])
- Constructor for class com.groovyj.jgprog.functions.
ADF
Creates an ADF node which will evaluate the given chromosome number and takes the given argument types.
And
- class com.groovyj.jgprog.functions.
And
.
The logical-and function.
And()
- Constructor for class com.groovyj.jgprog.functions.
And
Creates a logical-and node
Argument
- class com.groovyj.jgprog.functions.
Argument
.
Represents an argument on a chromosome.
arity
- Variable in class com.groovyj.jgprog.
Function
B
Boolean
- Static variable in class com.groovyj.jgprog.
Type
BranchTypingCross
- class com.groovyj.jgprog.
BranchTypingCross
.
BranchTypingCross()
- Constructor for class com.groovyj.jgprog.
BranchTypingCross
bumpEvaluationProgress()
- Method in interface com.groovyj.jgprog.
GPListener
bumpEvolutionProgress()
- Method in interface com.groovyj.jgprog.
GPListener
C
Chromosome
- class com.groovyj.jgprog.
Chromosome
.
Represents a single chromosome.
Chromosome()
- Constructor for class com.groovyj.jgprog.
Chromosome
Construct an empty chromosome
Chromosome(Chromosome)
- Constructor for class com.groovyj.jgprog.
Chromosome
Perform a deep copy of a chromosome.
chromosomeNum
- Variable in class com.groovyj.jgprog.functions.
ADF
com.groovyj.jgprog
- package com.groovyj.jgprog
com.groovyj.jgprog.functions
- package com.groovyj.jgprog.functions
computeFitness(Individual)
- Method in class com.groovyj.jgprog.
World
Computes the adjusted fitness of the given individual.
computeFitness(Individual)
- Method in class com.groovyj.jgprog.
SymbolicRegressionWorld
computeFitness(Individual)
- Method in class com.groovyj.jgprog.
MultiplexerWorld
computeRawFitness(Individual)
- Method in class com.groovyj.jgprog.
SymbolicRegressionWorld
computeRawFitness(Individual)
- Method in class com.groovyj.jgprog.
MultiplexerWorld
ComputeWorker
- class com.groovyj.jgprog.
ComputeWorker
.
A thread which accepts a connection on its socket, downloads a World, computes the fitnesses of some portion of it, and returns those fitnesses.
ComputeWorker(int)
- Constructor for class com.groovyj.jgprog.
ComputeWorker
Cosine
- class com.groovyj.jgprog.functions.
Cosine
.
The cosine function.
Cosine.Compatible
- interface com.groovyj.jgprog.functions.
Cosine.Compatible
.
Cosine(Type)
- Constructor for class com.groovyj.jgprog.functions.
Cosine
Creates a cosine node of the given type
create()
- Method in class com.groovyj.jgprog.
SymbolicRegressionWorld
create()
- Method in class com.groovyj.jgprog.
MultiplexerWorld
create()
- Method in class com.groovyj.jgprog.
MultiplexerADFWorld
create(int, int, Type)
- Static method in class com.groovyj.jgprog.functions.
Argument
Creates an instance of an Argument.
create(int, Type[], Type[][], Function[][])
- Method in class com.groovyj.jgprog.
World
Creates the initial population for the world and computes the fitnesses of all the individuals in the initial population.
create(String, Type)
- Static method in class com.groovyj.jgprog.functions.
Variable
Creates an instance of a Variable.
create(Type[], Type[][], Function[][])
- Method in class com.groovyj.jgprog.
Population
Creates a population using the ramped half-and-half method.
cross(Individual, Individual)
- Method in class com.groovyj.jgprog.
CrossMethod
cross(Individual, Individual)
- Method in class com.groovyj.jgprog.
BranchTypingCross
Crosses two individuals.
crossMethod
- Static variable in class com.groovyj.jgprog.
World
CrossMethod
- class com.groovyj.jgprog.
CrossMethod
.
CrossMethod()
- Constructor for class com.groovyj.jgprog.
CrossMethod
crossoverProb
- Static variable in class com.groovyj.jgprog.
World
The probability that a crossover operation is chosen during evolution.
D
Divide
- class com.groovyj.jgprog.functions.
Divide
.
The protected divide function.
Divide.Compatible
- interface com.groovyj.jgprog.functions.
Divide.Compatible
.
Divide(Type)
- Constructor for class com.groovyj.jgprog.functions.
Divide
Creates a divide node of the given type
doCross(Chromosome, Chromosome)
- Static method in class com.groovyj.jgprog.
BranchTypingCross
Crosses two chromsomes using branch-typing.
Double
- Static variable in class com.groovyj.jgprog.
Type
dupChromosome(Individual)
- Static method in class com.groovyj.jgprog.
Individual
Causes a chromosome to duplicate itself in a new individual.
E
Equals
- class com.groovyj.jgprog.functions.
Equals
.
equals(Type)
- Method in class com.groovyj.jgprog.
Type
Equals(Type)
- Constructor for class com.groovyj.jgprog.functions.
Equals
execute_add(Object)
- Method in interface com.groovyj.jgprog.functions.
Add.Compatible
execute_boolean()
- Method in class com.groovyj.jgprog.
Chromosome
Executes this node as a boolean.
execute_boolean()
- Method in class com.groovyj.jgprog.functions.
True
execute_boolean()
- Method in class com.groovyj.jgprog.functions.
False
execute_boolean(Chromosome, int)
- Method in class com.groovyj.jgprog.
Function
Executes this node as a boolean.
execute_boolean(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
GreaterThan
execute_boolean(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
ADF
execute_boolean(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Variable
execute_boolean(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
If
execute_boolean(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
And
execute_boolean(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
LessThan
execute_boolean(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Not
execute_boolean(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Equals
execute_boolean(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Argument
execute_boolean(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Or
execute_boolean(int)
- Method in class com.groovyj.jgprog.
Individual
Executes the given chromosome as a boolean function.
execute_boolean(int, int)
- Method in class com.groovyj.jgprog.
Population
execute_boolean(int, int)
- Method in class com.groovyj.jgprog.
Chromosome
execute_cos()
- Method in interface com.groovyj.jgprog.functions.
Cosine.Compatible
execute_divide(Object)
- Method in interface com.groovyj.jgprog.functions.
Divide.Compatible
execute_double()
- Method in class com.groovyj.jgprog.
Chromosome
Executes this node as a double.
execute_double(Chromosome, int)
- Method in class com.groovyj.jgprog.
Function
Executes this node as a double.
execute_double(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
One
execute_double(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Add
execute_double(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Exponential
execute_double(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
ADF
execute_double(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Cosine
execute_double(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Variable
execute_double(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
If
execute_double(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Multiply
execute_double(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Subtract
execute_double(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Divide
execute_double(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
NaturalLogarithm
execute_double(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Sine
execute_double(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Argument
execute_double(int)
- Method in class com.groovyj.jgprog.
Individual
Executes the given chromosome as a double function.
execute_double(int, int)
- Method in class com.groovyj.jgprog.
Population
execute_double(int, int)
- Method in class com.groovyj.jgprog.
Chromosome
execute_exp()
- Method in interface com.groovyj.jgprog.functions.
Exponential.Compatible
execute_float()
- Method in class com.groovyj.jgprog.
Chromosome
Executes this node as a float.
execute_float(Chromosome, int)
- Method in class com.groovyj.jgprog.
Function
Executes this node as a float.
execute_float(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
One
execute_float(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Add
execute_float(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Exponential
execute_float(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
ADF
execute_float(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Cosine
execute_float(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Variable
execute_float(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
If
execute_float(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Multiply
execute_float(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Subtract
execute_float(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Divide
execute_float(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
NaturalLogarithm
execute_float(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Sine
execute_float(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Argument
execute_float(int)
- Method in class com.groovyj.jgprog.
Individual
Executes the given chromosome as a float function.
execute_float(int, int)
- Method in class com.groovyj.jgprog.
Population
execute_float(int, int)
- Method in class com.groovyj.jgprog.
Chromosome
execute_int()
- Method in class com.groovyj.jgprog.
Chromosome
Executes this node as an integer.
execute_int(Chromosome, int)
- Method in class com.groovyj.jgprog.
Function
Executes this node as an integer.
execute_int(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
One
execute_int(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Add
execute_int(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
ADF
execute_int(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Variable
execute_int(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
If
execute_int(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Multiply
execute_int(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Subtract
execute_int(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Divide
execute_int(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Argument
execute_int(int)
- Method in class com.groovyj.jgprog.
Individual
Executes the given chromosome as an integer function.
execute_int(int, int)
- Method in class com.groovyj.jgprog.
Population
execute_int(int, int)
- Method in class com.groovyj.jgprog.
Chromosome
execute_ln()
- Method in interface com.groovyj.jgprog.functions.
NaturalLogarithm.Compatible
execute_long()
- Method in class com.groovyj.jgprog.
Chromosome
Executes this node as a long.
execute_long(Chromosome, int)
- Method in class com.groovyj.jgprog.
Function
Executes this node as a long.
execute_long(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
One
execute_long(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Add
execute_long(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
ADF
execute_long(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Variable
execute_long(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
If
execute_long(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Multiply
execute_long(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Subtract
execute_long(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Divide
execute_long(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Argument
execute_long(int)
- Method in class com.groovyj.jgprog.
Individual
Executes the given chromosome as a long function.
execute_long(int, int)
- Method in class com.groovyj.jgprog.
Population
execute_long(int, int)
- Method in class com.groovyj.jgprog.
Chromosome
execute_multiply(Object)
- Method in interface com.groovyj.jgprog.functions.
Multiply.Compatible
execute_object()
- Method in class com.groovyj.jgprog.
Chromosome
Executes this node as an object.
execute_object(Chromosome, int)
- Method in class com.groovyj.jgprog.
Function
Executes this node as an object.
execute_object(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Add
execute_object(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Exponential
execute_object(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
ADF
execute_object(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Cosine
execute_object(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Variable
execute_object(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
If
execute_object(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Multiply
execute_object(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Subtract
execute_object(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Divide
execute_object(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
NaturalLogarithm
execute_object(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Sine
execute_object(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Argument
execute_object(int)
- Method in class com.groovyj.jgprog.
Individual
Executes the given chromosome as an object function.
execute_object(int, int)
- Method in class com.groovyj.jgprog.
Chromosome
execute_sin()
- Method in interface com.groovyj.jgprog.functions.
Sine.Compatible
execute_subtract(Object)
- Method in interface com.groovyj.jgprog.functions.
Subtract.Compatible
execute_void()
- Method in class com.groovyj.jgprog.
Chromosome
Executes this node, returning nothing.
execute_void(Chromosome, int)
- Method in class com.groovyj.jgprog.
Function
Executes this node, returning nothing.
execute_void(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
TwoThings
execute_void(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
ADF
execute_void(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Nop
execute_void(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
If
execute_void(Chromosome, int)
- Method in class com.groovyj.jgprog.functions.
Loop
execute_void(int)
- Method in class com.groovyj.jgprog.
Individual
Executes the given chromosome which returns nothing.
execute_void(int, int)
- Method in class com.groovyj.jgprog.
Population
execute_void(int, int)
- Method in class com.groovyj.jgprog.
Chromosome
execute()
- Method in class com.groovyj.jgprog.
Chromosome
Executes this node without knowing its return type.
execute(Chromosome, int)
- Method in class com.groovyj.jgprog.
Function
Executes this node without knowing its return type.
execute(int, int)
- Method in class com.groovyj.jgprog.
Chromosome
Exponential
- class com.groovyj.jgprog.functions.
Exponential
.
The protected natural exponential function.
Exponential.Compatible
- interface com.groovyj.jgprog.functions.
Exponential.Compatible
.
Exponential(Type)
- Constructor for class com.groovyj.jgprog.functions.
Exponential
F
False
- class com.groovyj.jgprog.functions.
False
.
The false boolean terminal.
False()
- Constructor for class com.groovyj.jgprog.functions.
False
FitnessProportionateSelection
- class com.groovyj.jgprog.
FitnessProportionateSelection
.
Selects individuals proportionally according to their adjusted fitness.
FitnessProportionateSelection()
- Constructor for class com.groovyj.jgprog.
FitnessProportionateSelection
Float
- Static variable in class com.groovyj.jgprog.
Type
full(int, int, Type, Type[], Function[])
- Method in class com.groovyj.jgprog.
Chromosome
Initialize this chromosome using the full method.
full(int, Type[], Type[][], Function[][])
- Method in class com.groovyj.jgprog.
Individual
Initializes all chromosomes in this individual using the full method.
Function
- class com.groovyj.jgprog.
Function
.
The base class of all terminals and functions.
Function(int, Type)
- Constructor for class com.groovyj.jgprog.
Function
Create a node with the given arity (i.e.
G
get()
- Method in class com.groovyj.jgprog.functions.
Variable
Gets the value of this named variable.
get()
- Method in class com.groovyj.jgprog.functions.
Argument
Gets the value of this argument.
get(int)
- Static method in class com.groovyj.jgprog.functions.
Argument
Gets the value of an argument without having to obtain a reference to the argument.
get(String)
- Static method in class com.groovyj.jgprog.functions.
Variable
Gets the value of a named variable without having to obtain a reference to the named variable.
getArgument(int, int)
- Static method in class com.groovyj.jgprog.functions.
Argument
Gets the one instance of a numbered argument.
getArity()
- Method in class com.groovyj.jgprog.
Function
Gets the arity (or number of children) of this node.
getBestIndividual()
- Method in class com.groovyj.jgprog.
World
Gets the most fit individual from the current population.
getChild(int, int)
- Method in class com.groovyj.jgprog.
Chromosome
getChildType(int)
- Method in class com.groovyj.jgprog.
Function
Gets the type of node allowed form the given child number.
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
One
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
Add
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
GreaterThan
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
TwoThings
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
Exponential
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
ADF
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
Cosine
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
Nop
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
Variable
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
If
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
And
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
Multiply
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
Subtract
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
LessThan
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
Divide
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
NaturalLogarithm
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
Not
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
Loop
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
Sine
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
True
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
False
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
Equals
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
Argument
getChildType(int)
- Method in class com.groovyj.jgprog.functions.
Or
getChromosome(int)
- Method in class com.groovyj.jgprog.
Individual
Gets the given chromosome.
getChromosomeNum()
- Method in class com.groovyj.jgprog.functions.
ADF
Get the chromosome number this ADF refers to.
getDepth(int)
- Method in class com.groovyj.jgprog.
Chromosome
getFitness()
- Method in class com.groovyj.jgprog.
Individual
Gets the adjusted fitness of this individual.
getFunction(int)
- Method in class com.groovyj.jgprog.
Chromosome
Gets the i'th function in this chromosome.
getFunction(int, Type)
- Method in class com.groovyj.jgprog.
Chromosome
Gets the i'th function of the given type in this chromosome.
getIndividual(int)
- Method in class com.groovyj.jgprog.
Population
Gets a particular individual.
getName()
- Method in class com.groovyj.jgprog.
Type
getName()
- Method in class com.groovyj.jgprog.
Function
Gets the name of this node.
getName()
- Method in class com.groovyj.jgprog.functions.
One
getName()
- Method in class com.groovyj.jgprog.functions.
Add
getName()
- Method in class com.groovyj.jgprog.functions.
GreaterThan
getName()
- Method in class com.groovyj.jgprog.functions.
TwoThings
getName()
- Method in class com.groovyj.jgprog.functions.
Exponential
getName()
- Method in class com.groovyj.jgprog.functions.
ADF
getName()
- Method in class com.groovyj.jgprog.functions.
Cosine
getName()
- Method in class com.groovyj.jgprog.functions.
Nop
getName()
- Method in class com.groovyj.jgprog.functions.
Variable
getName()
- Method in class com.groovyj.jgprog.functions.
If
getName()
- Method in class com.groovyj.jgprog.functions.
And
getName()
- Method in class com.groovyj.jgprog.functions.
Multiply
getName()
- Method in class com.groovyj.jgprog.functions.
Subtract
getName()
- Method in class com.groovyj.jgprog.functions.
LessThan
getName()
- Method in class com.groovyj.jgprog.functions.
Divide
getName()
- Method in class com.groovyj.jgprog.functions.
NaturalLogarithm
getName()
- Method in class com.groovyj.jgprog.functions.
Not
getName()
- Method in class com.groovyj.jgprog.functions.
Loop
getName()
- Method in class com.groovyj.jgprog.functions.
Sine
getName()
- Method in class com.groovyj.jgprog.functions.
True
getName()
- Method in class com.groovyj.jgprog.functions.
False
getName()
- Method in class com.groovyj.jgprog.functions.
Equals
getName()
- Method in class com.groovyj.jgprog.functions.
Argument
getName()
- Method in class com.groovyj.jgprog.functions.
Or
getNode(int)
- Method in class com.groovyj.jgprog.
Chromosome
Gets the i'th node in this chromosome.
getNode(int, Type)
- Method in class com.groovyj.jgprog.
Chromosome
Gets the i'th node of the given type in this chromosome.
getParentNode(int)
- Method in class com.groovyj.jgprog.
Chromosome
Gets the node which is the parent of the given node in this chromosome.
getPopulation()
- Method in class com.groovyj.jgprog.
World
Gets the population.
getReturnType()
- Method in class com.groovyj.jgprog.
Function
Gets the return type of this node
getSequence()
- Method in class com.groovyj.jgprog.
Individual
getSize()
- Method in class com.groovyj.jgprog.
Population
Gets the number of individuals in this population.
getSize(int)
- Method in class com.groovyj.jgprog.
Chromosome
getTerminal(int)
- Method in class com.groovyj.jgprog.
Chromosome
Gets the i'th terminal in this chromosome.
getTerminal(int, Type)
- Method in class com.groovyj.jgprog.
Chromosome
Gets the i'th terminal of the given type in this chromosome.
getTotalFitness()
- Method in class com.groovyj.jgprog.
World
Gets the sum of the adjusted fitnesses of all individuals in the population.
getVariable(String)
- Static method in class com.groovyj.jgprog.functions.
Variable
Gets the one instance of a named variable.
getWorstIndividual()
- Method in class com.groovyj.jgprog.
World
Gets the least fit individual from the current population.
GPListener
- interface com.groovyj.jgprog.
GPListener
.
greater_than(Object)
- Method in interface com.groovyj.jgprog.functions.
GreaterThan.Compatible
GreaterThan
- class com.groovyj.jgprog.functions.
GreaterThan
.
GreaterThan.Compatible
- interface com.groovyj.jgprog.functions.
GreaterThan.Compatible
.
GreaterThan(Type)
- Constructor for class com.groovyj.jgprog.functions.
GreaterThan
GreedyOverselection
- class com.groovyj.jgprog.
GreedyOverselection
.
Selects individuals according to the Greedy Over-Selection method.
GreedyOverselection()
- Constructor for class com.groovyj.jgprog.
GreedyOverselection
grow(int, int, Type, Type[], Function[])
- Method in class com.groovyj.jgprog.
Chromosome
Initialize this chromosome using the grow method.
grow(int, Type[], Type[][], Function[][])
- Method in class com.groovyj.jgprog.
Individual
Initializes all chromosomes in this individual using the grow method.
I
If
- class com.groovyj.jgprog.functions.
If
.
The if function.
If(Type)
- Constructor for class com.groovyj.jgprog.functions.
If
Creates an if node
individual
- Static variable in class com.groovyj.jgprog.
Function
The individual currently being evaluated.
Individual
- class com.groovyj.jgprog.
Individual
.
Represents a single individual.
Individual(int)
- Constructor for class com.groovyj.jgprog.
Individual
Constructs an empty individual with a number of chromosomes.
Integer
- Static variable in class com.groovyj.jgprog.
Type
isConstant()
- Method in class com.groovyj.jgprog.functions.
ADF
isConstant()
- Method in class com.groovyj.jgprog.functions.
Variable
isConstant()
- Method in class com.groovyj.jgprog.functions.
Argument
isPossible(Function)
- Method in class com.groovyj.jgprog.
Chromosome
isPossible(Type, Function[], boolean)
- Static method in class com.groovyj.jgprog.
Chromosome
Determines whether there exists a function or terminal in the given node set with the given type.
L
less_than(Object)
- Method in interface com.groovyj.jgprog.functions.
LessThan.Compatible
LessThan
- class com.groovyj.jgprog.functions.
LessThan
.
LessThan.Compatible
- interface com.groovyj.jgprog.functions.
LessThan.Compatible
.
LessThan(Type)
- Constructor for class com.groovyj.jgprog.functions.
LessThan
Long
- Static variable in class com.groovyj.jgprog.
Type
Loop
- class com.groovyj.jgprog.functions.
Loop
.
Do something a number of times.
Loop()
- Constructor for class com.groovyj.jgprog.functions.
Loop
M
main(String[])
- Static method in class com.groovyj.jgprog.
SymbolicRegressionWorld
main(String[])
- Static method in class com.groovyj.jgprog.
MultiplexerWorld
main(String[])
- Static method in class com.groovyj.jgprog.
MultiplexerADFWorld
main(String[])
- Static method in class com.groovyj.jgprog.
Chromosome
maxChromosomes
- Static variable in class com.groovyj.jgprog.
World
maxCrossoverDepth
- Static variable in class com.groovyj.jgprog.
World
The maximum depth of an individual resulting from crossover.
maxInitDepth
- Static variable in class com.groovyj.jgprog.
World
The maximum depth of an individual when the world is created.
maxSize
- Static variable in class com.groovyj.jgprog.
World
MultiplexerADFWorld
- class com.groovyj.jgprog.
MultiplexerADFWorld
.
The same as MultiplexerWorld, except uses two ADF's with three arguments each.
MultiplexerADFWorld()
- Constructor for class com.groovyj.jgprog.
MultiplexerADFWorld
MultiplexerWorld
- class com.groovyj.jgprog.
MultiplexerWorld
.
The 11-multiplexer problem from Koza[1992], to find a formula to choose one of eight boolean inputs based on the values of three other boolean inputs.
MultiplexerWorld()
- Constructor for class com.groovyj.jgprog.
MultiplexerWorld
Multiply
- class com.groovyj.jgprog.functions.
Multiply
.
The multiply function.
Multiply.Compatible
- interface com.groovyj.jgprog.functions.
Multiply.Compatible
.
Multiply(Type)
- Constructor for class com.groovyj.jgprog.functions.
Multiply
N
NaturalLogarithm
- class com.groovyj.jgprog.functions.
NaturalLogarithm
.
The protected natural logarithm function.
NaturalLogarithm.Compatible
- interface com.groovyj.jgprog.functions.
NaturalLogarithm.Compatible
.
NaturalLogarithm(Type)
- Constructor for class com.groovyj.jgprog.functions.
NaturalLogarithm
newFrame(int)
- Static method in class com.groovyj.jgprog.functions.
Argument
Creates a new stack frame consisting of a number of arguments.
nextGeneration()
- Method in class com.groovyj.jgprog.
World
Evolve the population by one generation.
Nop
- class com.groovyj.jgprog.functions.
Nop
.
Do nothing.
Nop()
- Constructor for class com.groovyj.jgprog.functions.
Nop
Not
- class com.groovyj.jgprog.functions.
Not
.
The logical-not function.
Not()
- Constructor for class com.groovyj.jgprog.functions.
Not
Creates a logical-not node
numFunctions()
- Method in class com.groovyj.jgprog.
Chromosome
Counts the number of functions in this chromosome.
numFunctions(Type)
- Method in class com.groovyj.jgprog.
Chromosome
Counts the number of functions of the given type in this chromosome.
numTerminals()
- Method in class com.groovyj.jgprog.
Chromosome
Counts the number of terminals in this chromosome.
numTerminals(Type)
- Method in class com.groovyj.jgprog.
Chromosome
Counts the number of terminals of the given type in this chromosome.
O
Object
- Static variable in class com.groovyj.jgprog.
Type
One
- class com.groovyj.jgprog.functions.
One
.
The constant 1.
One(Type)
- Constructor for class com.groovyj.jgprog.functions.
One
Or
- class com.groovyj.jgprog.functions.
Or
.
The logical-or function.
Or()
- Constructor for class com.groovyj.jgprog.functions.
Or
Creates a logical-or node
P
Population
- class com.groovyj.jgprog.
Population
.
Represents a population of individuals.
Population(int)
- Constructor for class com.groovyj.jgprog.
Population
Constructs a population of the given size, with empty individuals.
R
random
- Static variable in class com.groovyj.jgprog.
World
The random number generator used by every random event.
redepth()
- Method in class com.groovyj.jgprog.
Chromosome
redepth(int)
- Method in class com.groovyj.jgprog.
Chromosome
removeGPListener(GPListener)
- Method in class com.groovyj.jgprog.
World
reproductionProb
- Static variable in class com.groovyj.jgprog.
World
The probability that a reproduction operation is chosen during evolution.
resetEvaluationProgress()
- Method in interface com.groovyj.jgprog.
GPListener
resetEvolutionProgress()
- Method in interface com.groovyj.jgprog.
GPListener
restoreFrame()
- Static method in class com.groovyj.jgprog.functions.
Argument
Restores the previous stack frame.
returnType
- Variable in class com.groovyj.jgprog.
Function
The return type of this node.
run()
- Method in class com.groovyj.jgprog.
ComputeWorker
run(int)
- Method in class com.groovyj.jgprog.
SymbolicRegressionWorld
run(int)
- Method in class com.groovyj.jgprog.
MultiplexerWorld
runProb(int, int)
- Method in class com.groovyj.jgprog.
SymbolicRegressionWorld
S
select(World)
- Method in class com.groovyj.jgprog.
SelectionMethod
Select an individual based on some method.
select(World)
- Method in class com.groovyj.jgprog.
FitnessProportionateSelection
select(World)
- Method in class com.groovyj.jgprog.
GreedyOverselection
selectionMethod
- Static variable in class com.groovyj.jgprog.
World
The method of choosing an individual to perform an evolution operation on.
SelectionMethod
- class com.groovyj.jgprog.
SelectionMethod
.
Abstract class representing a method of selecting individuals for evolutionary operations.
SelectionMethod()
- Constructor for class com.groovyj.jgprog.
SelectionMethod
selectNode(Type, Function[], boolean, boolean)
- Static method in class com.groovyj.jgprog.
Chromosome
Randomly chooses a node from the node set.
set(int, Object)
- Static method in class com.groovyj.jgprog.functions.
Argument
Sets an argument without having to obtain a reference to the argument.
set(Object)
- Method in class com.groovyj.jgprog.functions.
Variable
Sets the value of this named variable.
set(Object)
- Method in class com.groovyj.jgprog.functions.
Argument
Sets the value of this argument.
set(String, Object)
- Static method in class com.groovyj.jgprog.functions.
Variable
Sets a named variable without having to obtain a reference to the named variable.
setFitness(float)
- Method in class com.groovyj.jgprog.
Individual
Sets the adjusted fitness of this individual.
setGeneration(int)
- Method in interface com.groovyj.jgprog.
GPListener
setIndividual(Individual)
- Static method in class com.groovyj.jgprog.
Function
Sets the individual currently being evaluated.
setIndividual(int, Individual)
- Method in class com.groovyj.jgprog.
Population
Sets a particular individual.
setPopulationSize(int)
- Method in interface com.groovyj.jgprog.
GPListener
setReturnType(Type)
- Method in class com.groovyj.jgprog.
Function
Sets the return type of this node
Sine
- class com.groovyj.jgprog.functions.
Sine
.
The sine function.
Sine.Compatible
- interface com.groovyj.jgprog.functions.
Sine.Compatible
.
Sine(Type)
- Constructor for class com.groovyj.jgprog.functions.
Sine
sort(Comparator)
- Method in class com.groovyj.jgprog.
Population
Sorts the population into "ascending" order using some criterion for "ascending".
Subtract
- class com.groovyj.jgprog.functions.
Subtract
.
The subtraction function.
Subtract.Compatible
- interface com.groovyj.jgprog.functions.
Subtract.Compatible
.
Subtract(Type)
- Constructor for class com.groovyj.jgprog.functions.
Subtract
SymbolicRegressionWorld
- class com.groovyj.jgprog.
SymbolicRegressionWorld
.
The symbolic regression problem of Koza[1992], to find the formula x^4+x^3+x^2+x given 20 random points for x in the range [-1,1].
SymbolicRegressionWorld()
- Constructor for class com.groovyj.jgprog.
SymbolicRegressionWorld
T
toString()
- Method in class com.groovyj.jgprog.
Chromosome
Returns the string representing this chromosome.
toString()
- Method in class com.groovyj.jgprog.
Individual
Returns a string representing this individual.
toString(int)
- Method in class com.groovyj.jgprog.
Chromosome
True
- class com.groovyj.jgprog.functions.
True
.
The true boolean terminal.
True()
- Constructor for class com.groovyj.jgprog.functions.
True
TwoThings
- class com.groovyj.jgprog.functions.
TwoThings
.
Do two things.
TwoThings()
- Constructor for class com.groovyj.jgprog.functions.
TwoThings
Type
- class com.groovyj.jgprog.
Type
.
The type of a node.
V
value
- Variable in class com.groovyj.jgprog.functions.
Variable
Variable
- class com.groovyj.jgprog.functions.
Variable
.
A node representing a named variable.
Void
- Static variable in class com.groovyj.jgprog.
Type
W
World
- class com.groovyj.jgprog.
World
.
World is the main engine class of the Groovy Java Genetic Programming system.
World()
- Constructor for class com.groovyj.jgprog.
World
Constructs a world.
A
B
C
D
E
F
G
I
L
M
N
O
P
R
S
T
V
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES