Serialized Form


Package net.openai.ai.ga.population

Class net.openai.ai.ga.population.Population implements Serializable

Serialized Fields

cells

java.util.Collection cells
The collection of cells that are in this Population

toStringQuiet

boolean toStringQuiet
Determines whether to display anything on a toString() call.

toStringUsesSize

boolean toStringUsesSize
Determines whether to display the size of the Population

toStringUsesCells

boolean toStringUsesCells
Determines whether to call all the Cells to return something as well.

toStringUsesTopCell

boolean toStringUsesTopCell
Determines whether the Cell with the highest fitness is displayed.

Class net.openai.ai.ga.population.PopulationArray implements Serializable

Serialized Fields

pops

java.util.Collection pops
The Collection that holds all the Populations


Package net.openai.ai.ga.world

Class net.openai.ai.ga.world.World implements Serializable

Serialized Fields

environment

Environment environment
The environment that the population must evaluate against

name

java.lang.String name
The name of this World object. Used in GeneticAlgorithm operations

population

Population population
The population of this world

parentSelection

ArraySelectionAlgorithm parentSelection
The parent selection algorithm by which new cells are created. This occurs before mutation and before survival selection.

mutationSelection

SelectionAlgorithm mutationSelection
The mutation selection algorithm by which cells in the population are selected to mutate. This occurs after parent selection (and may therefore include new offspring) but before survival selection.

survivalSelection

SelectionAlgorithm survivalSelection
The survival selection algorithm by which the population to survive is chosen at the end of an iteration. It occurs after parent selection and mutation.

generation

int generation
The number of generations this world has been iterated through.