Serialized Form


Package org.artoflife.app.generator

Class org.artoflife.app.generator.GeneratorModel implements Serializable

Serialized Fields

world

TimedStepWorld world

population

GenerationalPopulation population

selectedIndividual

Individual selectedIndividual

Class org.artoflife.app.generator.GeneratorView implements Serializable

Serialized Fields

populationPanel

PopulationPanel populationPanel


Package org.artoflife.app.mutator

Class org.artoflife.app.mutator.MutatorView implements Serializable


Package org.artoflife.app.nursery

Class org.artoflife.app.nursery.NurseryView implements Serializable


Package org.artoflife.gp

Class org.artoflife.gp.Chromosome implements Serializable

Serialized Fields

id

java.lang.String id
Immutable ID set on creation.

Class org.artoflife.gp.Fitness implements Serializable

Serialized Fields

fitness

float fitness

Class org.artoflife.gp.IncompatibleChromosomeException implements Serializable

Class org.artoflife.gp.IncompatibleGenotypeException implements Serializable

Class org.artoflife.gp.Individual implements Serializable

Serialized Fields

chromosomes

java.util.Map chromosomes
Genotype consists of map of Integer ID against Chromosome.


phenotype

Phenotype phenotype
Phenotype used during Individual.expressGenome()

Class org.artoflife.gp.Phenotype implements Serializable

Class org.artoflife.gp.Population implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Serialized Fields

reproducers

java.util.SortedMap reproducers

individuals

java.util.Set individuals

Class org.artoflife.gp.PopulationEvent implements Serializable

Serialized Fields

type

int type

individual

Individual individual

Class org.artoflife.gp.World implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
For serialization, restore the ThreadLocal RandomGenerator from save in order to pick up from exactly the same place with the same sequence of pseudo-random numbers to drive World dynamics.

java.io.IOException
java.lang.ClassNotFoundException
See Also:
#writeObject

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
For serialization, save the ThreadLocal RandomGenerator so that restore can pick up from exactly the same place with the same sequence of pseudo-random numbers to drive World dynamics.

java.io.IOException
See Also:
#readObject
Serialized Fields

populations

java.util.Set populations


Package org.artoflife.gp.genome

Class org.artoflife.gp.genome.FunctionGene implements Serializable

Serialized Fields

parameterGenes

java.util.List parameterGenes
List of GpTreeNodes used as parameters for this to use when evaluating the return value.

Class org.artoflife.gp.genome.GpTreeChromosome implements Serializable

Serialized Fields

rootGene

RootGene rootGene
Root of the tree of genes. Has an immutable type.

Class org.artoflife.gp.genome.GpTreeNode implements Serializable

Class org.artoflife.gp.genome.RootGene implements Serializable

Serialized Fields

parameterClasses

java.util.List parameterClasses

Class org.artoflife.gp.genome.VariableGene implements Serializable

Serialized Fields

fieldName

java.lang.String fieldName

fieldClass

java.lang.Class fieldClass


Package org.artoflife.gp.genome.bool

Class org.artoflife.gp.genome.bool.AndGene implements Serializable

Class org.artoflife.gp.genome.bool.BinaryLogicalGene implements Serializable

Class org.artoflife.gp.genome.bool.BooleanGene implements Serializable

Serialized Fields

value

java.lang.Boolean value

Class org.artoflife.gp.genome.bool.ComparisonGene implements Serializable

Class org.artoflife.gp.genome.bool.EqualsGene implements Serializable

Class org.artoflife.gp.genome.bool.GreaterThanGene implements Serializable

Class org.artoflife.gp.genome.bool.LessThanGene implements Serializable

Class org.artoflife.gp.genome.bool.NotGene implements Serializable

Class org.artoflife.gp.genome.bool.OrGene implements Serializable

Class org.artoflife.gp.genome.bool.UnaryLogicalGene implements Serializable


Package org.artoflife.gp.genome.numeric

Class org.artoflife.gp.genome.numeric.AbsGene implements Serializable

Class org.artoflife.gp.genome.numeric.AddGene implements Serializable

Class org.artoflife.gp.genome.numeric.AtanGene implements Serializable

Class org.artoflife.gp.genome.numeric.BinaryNumericGene implements Serializable

Class org.artoflife.gp.genome.numeric.CosGene implements Serializable

Class org.artoflife.gp.genome.numeric.DivideGene implements Serializable

Class org.artoflife.gp.genome.numeric.FloatGene implements Serializable

Serialized Fields

value

java.lang.Number value

Class org.artoflife.gp.genome.numeric.LogGene implements Serializable

Class org.artoflife.gp.genome.numeric.MaxGene implements Serializable

Class org.artoflife.gp.genome.numeric.MinGene implements Serializable

Class org.artoflife.gp.genome.numeric.ModGene implements Serializable

Class org.artoflife.gp.genome.numeric.MultiplyGene implements Serializable

Class org.artoflife.gp.genome.numeric.NumericIfGene implements Serializable

Class org.artoflife.gp.genome.numeric.PowGene implements Serializable

Class org.artoflife.gp.genome.numeric.RoundGene implements Serializable

Class org.artoflife.gp.genome.numeric.SinGene implements Serializable

Class org.artoflife.gp.genome.numeric.SubGene implements Serializable

Class org.artoflife.gp.genome.numeric.UnaryNumericGene implements Serializable


Package org.artoflife.gp.individual

Class org.artoflife.gp.individual.MutableFitnessIndividual implements Serializable

Serialized Fields

fitness

Fitness fitness
This Individual's Fitness: default is 5.0f.


Package org.artoflife.gp.population

Class org.artoflife.gp.population.DecayingMinFitnessGenerationalPopulation implements Serializable

Serialized Fields

maxFitness

float maxFitness

decayScale

float decayScale

decayThresholdFitness

float decayThresholdFitness

newFitness

float newFitness

Class org.artoflife.gp.population.GenerationalPopulation implements Serializable

Serialized Fields

selectorClass

java.lang.Class selectorClass

populationSize

int populationSize

individualClass

java.lang.Class individualClass

Class org.artoflife.gp.population.MinFitnessGenerationalPopulation implements Serializable

Serialized Fields

maxCull

int maxCull

minFitness

float minFitness

Class org.artoflife.gp.population.SelectorGenerationalPopulation implements Serializable

Serialized Fields

minCull

int minCull

maxCull

int maxCull


Package org.artoflife.gp.reproduction

Class org.artoflife.gp.reproduction.CloneReproducer implements Serializable

Class org.artoflife.gp.reproduction.CrossoverReproducer implements Serializable

Serialized Fields

probability

float probability

Class org.artoflife.gp.reproduction.MutationReproducer implements Serializable

Serialized Fields

probability

float probability


Package org.artoflife.gp.world

Class org.artoflife.gp.world.TimedStepWorld implements Serializable

Serialized Fields

period

long period
Millis delay between generations.


Package org.artoflife.gui.paintable

Class org.artoflife.gui.paintable.PaintablePhenotype implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException


Package org.artoflife.gui.population

Class org.artoflife.gui.population.PopulationView implements Serializable

Serialized Fields

population

Population population
View onto this population, may be null.


populationRecords

java.util.ArrayList populationRecords
Ordered list of IndividualRecords to describe the Individuals in the population. Never null: if population is null this will be an empty list.


selection

Individual[] selection
Array of length 1 if an Individual selected (only support single selection), or of length 0 if none selected, never null.


positionPolicy

RecordPositionPolicy positionPolicy
Helper to maintain IndividualRecord positions within the view. Must be set in subclass constructor.


potentialDragStart

java.awt.event.MouseEvent potentialDragStart
A drag only really starts when a MouseDrag happens sometime after a MousePress. So we record the MousePress here so that MouseDrag can compare its timestamp with the current time, and use its mouse position as the initial start drag point.

Drag'n'Drop is still too hard in JDK1.4!

Class org.artoflife.gui.population.PopulationViewTransferHandler implements Serializable


Package org.artoflife.gui.scope

Class org.artoflife.gui.scope.IndividualImagePanel implements Serializable

Serialized Fields

boundModel

org.scopemvc.view.swing.SwingBoundModel boundModel

individual

Individual individual

antialias

boolean antialias

selected

boolean selected

singleClickControlId

java.lang.String singleClickControlId

doubleClickControlId

java.lang.String doubleClickControlId

potentialDragStart

java.awt.event.MouseEvent potentialDragStart
A drag only really starts when a MouseDrag happens sometime after a MousePress. So we record the MousePress here so that MouseDrag can compare its timestamp with the current time, and use its mouse position as the initial start drag point.

Drag'n'Drop is still too hard in JDK1.4!


dragOffset

java.awt.Point dragOffset
Another stupid hack for DnD.

Class org.artoflife.gui.scope.MultiIndividualImagePanel implements Serializable

Serialized Fields

selected

IndividualImagePanel selected

Class org.artoflife.gui.scope.PopulationPanel implements Serializable

Serialized Fields

boundModel

org.scopemvc.view.swing.SwingBoundModel boundModel
Helper we delegate to for model binding.


controller

org.scopemvc.core.Controller controller
Our parent Controller if any.


selectControlId

java.lang.String selectControlId
The Control to issue when an Individual is selected.


actionControlId

java.lang.String actionControlId
The Control to issue when an Individual is double-clicked.

Class org.artoflife.gui.scope.ScalableIndividualImagePanel implements Serializable

Serialized Fields

scale

double scale


Package org.artoflife.util.dnd

Class org.artoflife.util.dnd.ThumbnailIcon implements Serializable

Serialized Fields

icon

javax.swing.Icon icon

offset

java.awt.Point offset


artoflife pre0.1.0-dev

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