Serialized Form
Package org.artoflife.app.generator |
world
TimedStepWorld world
population
GenerationalPopulation population
selectedIndividual
Individual selectedIndividual
populationPanel
PopulationPanel populationPanel
Package org.artoflife.app.mutator |
Package org.artoflife.app.nursery |
id
java.lang.String id
- Immutable ID set on creation.
fitness
float fitness
chromosomes
java.util.Map chromosomes
- Genotype consists of map of Integer ID against Chromosome.
phenotype
Phenotype phenotype
- Phenotype used during
Individual.expressGenome()
readObject
private void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
reproducers
java.util.SortedMap reproducers
individuals
java.util.Set individuals
type
int type
individual
Individual individual
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
populations
java.util.Set populations
Package org.artoflife.gp.genome |
parameterGenes
java.util.List parameterGenes
- List of
GpTreeNode
s used as parameters for this
to use when evaluating the return value.
rootGene
RootGene rootGene
- Root of the tree of genes. Has an immutable type.
parameterClasses
java.util.List parameterClasses
fieldName
java.lang.String fieldName
fieldClass
java.lang.Class fieldClass
Package org.artoflife.gp.genome.bool |
value
java.lang.Boolean value
Package org.artoflife.gp.genome.numeric |
value
java.lang.Number value
Package org.artoflife.gp.individual |
fitness
Fitness fitness
- This Individual's Fitness: default is 5.0f.
Package org.artoflife.gp.population |
maxFitness
float maxFitness
decayScale
float decayScale
decayThresholdFitness
float decayThresholdFitness
newFitness
float newFitness
selectorClass
java.lang.Class selectorClass
populationSize
int populationSize
individualClass
java.lang.Class individualClass
maxCull
int maxCull
minFitness
float minFitness
minCull
int minCull
maxCull
int maxCull
Package org.artoflife.gp.reproduction |
probability
float probability
probability
float probability
Package org.artoflife.gp.world |
period
long period
- Millis delay between generations.
Package org.artoflife.gui.paintable |
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
Package org.artoflife.gui.population |
population
Population population
- View onto this population, may be null.
populationRecords
java.util.ArrayList populationRecords
- Ordered list of
IndividualRecord
s 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!
Package org.artoflife.gui.scope |
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.
selected
IndividualImagePanel selected
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.
scale
double scale
Package org.artoflife.util.dnd |
icon
javax.swing.Icon icon
offset
java.awt.Point offset
Copyright © 2002 the Art Of Life team. All Rights Reserved.