Serialized Form


Package com.caplet.manna

Class com.caplet.manna.Culture implements Serializable

Serialized Fields

myControls

java.awt.Panel myControls

myGA

GA myGA

ourEvolver

GAPainter ourEvolver

Class com.caplet.manna.Demographics implements Serializable

Serialized Fields

myEvolver

GAPainter myEvolver

myControls

java.awt.Panel myControls

myPetri

java.awt.Panel myPetri

myGo

java.awt.Button myGo

myDiversity

int myDiversity

Class com.caplet.manna.GA implements Serializable

Serialized Fields

ourEvolver

GAPainter ourEvolver

myPopSize

int myPopSize

myMutationRate

float myMutationRate
How often is a bit flipped in one of the genomes?

Defaults to 2%.


amGray

boolean amGray
Do we encode position in binary or gray code?

Defaults to binary.


amUniform

boolean amUniform
Uniform crossover means that for each bit position, a random determination is made as to which child gets dad's allele and which gets mom's allele.

The alternative is two point crossover, which treats the genome as a ring, cuts it at two random places, and swaps corresponding segments from mom & dad in order to make the two kids.

Defaults to uniform crossover.


amLocal

boolean amLocal
Are closer creatures more likely to mate than more distant creatures? The alternative is that distance doesn't matter.

Defaults to no locality effect.


amConsumed

boolean amConsumed
Is Manna consumed by the creatures that land on it?

Defaults to true.


X_SHIFT

int X_SHIFT
See Also:
Constant Field Values

AREA_X

int AREA_X
See Also:
Constant Field Values

X_MASK

int X_MASK
See Also:
Constant Field Values

Y_SHIFT

int Y_SHIFT
See Also:
Constant Field Values

AREA_Y

int AREA_Y
See Also:
Constant Field Values

Y_MASK

int Y_MASK
See Also:
Constant Field Values

GENE_SIZE

int GENE_SIZE
See Also:
Constant Field Values

myPopX

int[] myPopX

myPopY

int[] myPopY

myFitness

int[][] myFitness

amOccupied

boolean[][] amOccupied

myRand

java.util.Random myRand