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

aByte(). Method in class evolution.util.RandomGenerator
advance(). Method in class evolution.pack.cons.ConstPackableGeneIterator
Go one gene further.
advance(). Method in interface evolution.pack.PackableGeneIterator
Go one gene further
aFloat(). Method in class evolution.util.RandomGenerator
anInt(). Method in class evolution.util.RandomGenerator
anInt(int, int). Method in class evolution.util.RandomGenerator

B

BadParmException(). Constructor for class evolution.BadParmException
BadParmException(String). Constructor for class evolution.BadParmException
BadSizeException(int). Constructor for class evolution.BadSizeException
Create myself wih the given size member
BadSizeException(String). Constructor for class evolution.BadSizeException
Create myself containing the specified error message string
bitPosition. Variable in class evolution.pack.cons.ConstPackableGeneIterator
my current position
bits(). Method in class evolution.pack.cons.ConstPackableGeneIterator

C

changeState(int). Method in class evolution.PoolImpl
Change the state and inform theListener that my state has changed.
check(float). Method in class evolution.EvolutionParmImpl
chooseParent(int). Method in class evolution.PoolImpl
Choose a parent and put it into parents.
Code(int). Constructor for class evolution.util.Code
Creates a Code of the specified size.
comparator. Static variable in class evolution.util.SortingAlgorithmImpl
concatenate(Code[]). Static method in class evolution.util.Code
Concatenates several Codes.
ConstPackableGeneIterator(ConstPackedGenomeStorage). Constructor for class evolution.pack.cons.ConstPackableGeneIterator
Create myself as an iterator through the given ConstPackedGenomeStorage, pointing to the first gene.
ConstPackedGenomeStorage(). Constructor for class evolution.pack.cons.ConstPackedGenomeStorage
currGen. Variable in class evolution.PoolImpl
The number of the current generation

D

data. Variable in class evolution.pack.cons.ConstPackedGenomeStorage
my genetic data
data. Variable in class evolution.pack.PackableGeneImpl
My genetic data
data. Variable in class evolution.PoolImpl
My population
data. Variable in class evolution.RandomAccessGenome
My genetic data
dieRate. Variable in class evolution.EvolutionParmImpl
The number of individuals to be killed in the process of breeding a new generation divided by the size of the whole population.
dieRate(). Method in interface evolution.EvolutionParm
dieRate(). Method in class evolution.EvolutionParmImpl

E

Evaluator(). Constructor for class evolution.Evaluator
EvolutionException(). Constructor for class evolution.EvolutionException
EvolutionException(String). Constructor for class evolution.EvolutionException
EvolutionListenerAdapter(). Constructor for class evolution.EvolutionListenerAdapter
EvolutionParmImpl(float, float, float). Constructor for class evolution.EvolutionParmImpl
Create myself containing the specified dieRate, mutationRate, inertia.
evolve(EvolutionParm). Method in class evolution.PoolImpl
Create a new generation.
evolve(int, EvolutionParm). Method in interface evolution.Pool
evolve(int, EvolutionParm). Method in class evolution.PoolImpl
Breed a given number of new generations.
execute(Object, Object). Method in class evolution.Evaluator
Is x better than y ?

F

fac. Variable in class evolution.PoolImpl
My GeneticFactory.
fitness. Variable in class evolution.PoolImpl
My FitnessList
flip(int). Method in class evolution.util.Code
Flips a bit.

G

geneLength. Variable in class evolution.pack.cons.ConstPackableGeneIterator
the constant gene length
geneLength. Static variable in class evolution.pack.cons.ConstPackedGenomeStorage
the constant length of genes
geneLength(). Method in interface evolution.pack.cons.ConstPackableGeneFactory
The constant length of genes
geneLength(). Method in class evolution.pack.cons.ConstPackedGenomeStorage
genePosition. Variable in class evolution.pack.cons.ConstPackableGeneIterator
my current position
GeneticFactoryImpl(). Constructor for class evolution.GeneticFactoryImpl
Create myself with the default RandomGenerator seeded with a random seed.
GeneticFactoryImpl(byte[]). Constructor for class evolution.GeneticFactoryImpl
Create myself with the default RandomGenerator seeded with the specified seed.
GeneticFactoryImpl(RandomGenerator). Constructor for class evolution.GeneticFactoryImpl
Create myself with the given random generator.
GeneticFactoryImpl(RandomGenerator, byte[]). Constructor for class evolution.GeneticFactoryImpl
Create myself with the given random generator and seed.
genome. Variable in class evolution.Individual
My genetic data
get(int). Method in class evolution.util.Code
Gets a bit.
getBestIndividual(). Method in class evolution.PoolImpl
getBestValue(). Method in interface evolution.Pool
In a future version the value type will not be restricted to float
getBestValue(). Method in class evolution.PoolImpl
getBits(int). Method in class evolution.pack.cons.ConstPackedGenomeStorage
Get one of my genes.
getCurrentGeneration(). Method in interface evolution.Pool
getCurrentGeneration(). Method in class evolution.PoolImpl
getEvaluator(). Method in interface evolution.GeneticFactory
getEvaluator(). Method in class evolution.GeneticFactoryImpl
getGene(). Method in class evolution.pack.cons.ConstPackableGeneIterator
getGene(). Method in interface evolution.pack.PackableGeneIterator
getGene(int). Method in class evolution.pack.cons.ConstPackedGenomeStorage
getGene(int). Method in interface evolution.RandomAccess
getGene(int). Method in class evolution.RandomAccessGenome
getGenome(). Method in class evolution.Individual
getIndividual(int). Method in class evolution.PoolImpl
getInstance(). Static method in class evolution.util.SortingAlgorithmImpl
getNumParents(). Method in interface evolution.GeneticFactory
Return the number of individuals that need to copulate for the creation of a child.
getNumParents(). Method in class evolution.GeneticFactoryImpl
Return the number of individuals that need to copulate for the creation of a child.
getPopulation(). Method in interface evolution.Pool
getPopulation(). Method in class evolution.PoolImpl
Return the whole population.
getRandomGenerator(). Method in interface evolution.GeneticFactory
getRandomGenerator(). Method in class evolution.GeneticFactoryImpl
getSortingAlgorithm(). Method in interface evolution.GeneticFactory
getSortingAlgorithm(). Method in class evolution.GeneticFactoryImpl
getState(). Method in class evolution.PoolImpl
getUnit(int). Method in class evolution.util.Code
For debugging only.

I

icke. Static variable in class evolution.util.SortingAlgorithmImpl
incrementCurrGen(). Method in class evolution.PoolImpl
Increment the generation counter and inform theListener that I have a new generation.
Individual(Genome). Constructor for class evolution.Individual
Create myself having the specified genome.
inertia. Variable in class evolution.EvolutionParmImpl
In the mitosis, when a gene is taken from one of the parents, this parameter is the probability that the next gene is taken from the same parent.
inertia(). Method in class evolution.EvolutionParmImpl

K

kill. Variable in class evolution.PoolImpl

L

length(). Method in class evolution.pack.cons.ConstPackedGenomeStorage
length(). Method in interface evolution.RandomAccess
length(). Method in class evolution.RandomAccessGenome

M

madeProgress(int). Method in interface evolution.EvolutionListener
The genetic pool announces that it has evolved to a new generation.
madeProgress(int). Method in class evolution.EvolutionListenerAdapter
NOP
maxInt(). Static method in class evolution.util.RandomGenerator
merge(Genome[], EvolutionParm). Method in class evolution.GeneticFactoryImpl
Merge the parent genomes to produce a child genome.
mitosis(Genome[], EvolutionParm, RandomGenerator). Method in interface evolution.Genome
Merge the parent genomes.
mitosis(Genome[], EvolutionParm, RandomGenerator). Method in class evolution.RandomAccessGenome
Merge the parent genomes to produce a child genome: me.
mutate(float, RandomGenerator). Method in interface evolution.Gene
Mutate myself.
mutate(float, RandomGenerator). Method in class evolution.pack.PackableGeneImpl
Mutate myself with a given probability.
mutationRate. Variable in class evolution.EvolutionParmImpl
The mutation rate.
mutationRate(). Method in class evolution.EvolutionParmImpl
myRG. Variable in class evolution.util.RandomGenerator

N

newEmptyGenome(). Method in class evolution.GeneticFactoryImpl
newGeneIterator(). Method in class evolution.pack.cons.ConstPackedGenomeStorage
newIndex. Variable in class evolution.PoolImpl
newIndiv. Variable in class evolution.PoolImpl
newIndividual(). Method in interface evolution.GeneticFactory
Create a new individual.
newIndividual(). Method in class evolution.GeneticFactoryImpl
Create a new individual.
newPackableGene(Code). Method in interface evolution.pack.cons.ConstPackableGeneFactory
newPackableGene(Code). Method in interface evolution.pack.PackableGeneFactory
NilException(). Constructor for class evolution.NilException
NilException(String). Constructor for class evolution.NilException
Create myself containing the given error message
NoFactoryException(). Constructor for class evolution.NoFactoryException
NoRandomGeneratorException(). Constructor for class evolution.NoRandomGeneratorException
numParents. Variable in class evolution.PoolImpl
The number of individuals needed to produce a child.

O

offspring(Individual[], EvolutionParm). Method in interface evolution.GeneticFactory
Produce a child from the parents' genomes.
offspring(Individual[], EvolutionParm). Method in class evolution.GeneticFactoryImpl
Produce a child from the parents' genomes.

P

PackableGeneImpl(Code). Constructor for class evolution.pack.PackableGeneImpl
Construct from Code
PackableGeneImpl(int, RandomGenerator). Constructor for class evolution.pack.PackableGeneImpl
Construct new random gene.
parents. Variable in class evolution.PoolImpl
PoolImpl(int, GeneticFactory, EvolutionListener). Constructor for class evolution.PoolImpl
Create a new population of the given size, with evolution determined by the given GeneticFactory, and install the given EvolutionListener.

R

RandomAccessGenome(RandomAccessGenomeStorage). Constructor for class evolution.RandomAccessGenome
Creates me containing the specified genetic data
RandomGenerator(). Constructor for class evolution.util.RandomGenerator
Create myself to be based on a new java.util.Random, seeded with the current time.
RandomGenerator(byte[]). Constructor for class evolution.util.RandomGenerator
Create myself to be based on a new java.util.Random, seeded with the given seed.
RandomGenerator(long). Constructor for class evolution.util.RandomGenerator
Create myself to be based on a new java.util.Random, seeded with the given seed.
rg. Variable in class evolution.GeneticFactoryImpl

S

seed(byte[]). Method in class evolution.util.RandomGenerator
Create myself to be based on a new java.util.Random, seeded with the given seed.
set(int, boolean). Method in class evolution.util.Code
Set a bit value.
setComparator(BinaryPredicate). Static method in class evolution.util.SortingAlgorithmImpl
setGeneFactory(ConstPackableGeneFactory). Static method in class evolution.pack.cons.ConstPackedGenomeStorage
Tell me my GeneFactory
size. Variable in class evolution.BadSizeException
The offending size.
size(). Method in class evolution.util.Code
sort(Array). Method in interface evolution.util.SortingAlgorithm
sort the array
sort(Array). Method in class evolution.util.SortingAlgorithmImpl
sorter. Variable in class evolution.PoolImpl
My SortingAlgorithm
SortingAlgorithmImpl(). Constructor for class evolution.util.SortingAlgorithmImpl
st. Variable in class evolution.pack.cons.ConstPackableGeneIterator
Th genome storage I am iterating through
state. Variable in class evolution.PoolImpl
My state.
STATE_BREEDING. Static variable in class evolution.PoolImpl
STATE_COMPUTING. Static variable in class evolution.PoolImpl
STATE_IDLE. Static variable in class evolution.PoolImpl
STATE_SORTING. Static variable in class evolution.PoolImpl
stateChanged(int). Method in interface evolution.EvolutionListener
The genetic pool announces that it has changed its state.
stateChanged(int). Method in class evolution.EvolutionListenerAdapter
NOP
store(Gene[]). Method in class evolution.pack.cons.ConstPackedGenomeStorage
Store an array of genes.
store(Gene[]). Method in interface evolution.GenomeStorage
Store a 1-dimensional array of Genes.
subCode(int, int). Method in class evolution.util.Code
Returns the subcode indexed by [a, b).

T

theFac. Static variable in class evolution.pack.cons.ConstPackedGenomeStorage
the GeneFactory I am going to use
theListener. Variable in class evolution.PoolImpl
Some object that wants to be informed about progress of evolution.
toCode(). Method in interface evolution.pack.PackableGene
Convert to Code.
toCode(). Method in class evolution.pack.PackableGeneImpl
Convert to Code.

V

value(Individual). Method in class evolution.Evaluator

Y

yes(float). Method in class evolution.util.RandomGenerator