Serialized Form


Package org.jgap

Class org.jgap.Chromosome implements Serializable

Serialized Fields

m_activeConfiguration

Configuration m_activeConfiguration
The current active genetic configuration.


m_genes

Allele[] m_genes
The array of Alleles that represent the values of the genes in this Chromosome.


m_isSelected

boolean m_isSelected
Keeps track of whether or not this Chromosome has been selected by the natural selector to move on to the next generation.


m_fitnessValue

int m_fitnessValue
Stores the fitness value of this Chromosome as determined by the active fitness function.

Class org.jgap.Configuration implements Serializable

Serialized Fields

m_objectiveFunction

FitnessFunction m_objectiveFunction
References the current fitness function that will be used to evaluate chromosomes during the natural selection process.


m_populationSelector

NaturalSelector m_populationSelector
References the NaturalSelector implementation that will be used to determine which chromosomes are chosen to be a part of the next generation population.


m_sampleChromosome

Chromosome m_sampleChromosome
References a Chromosome that serves as a sample of the Allele setup that is to be used. Each gene in the Chromosome should be represented with the desired Allele type. Note that this value is mutually exclusive with the sample allele--only one may be set at a time.


m_randomGenerator

RandomGenerator m_randomGenerator
References the random number generator implementation that is to be used for the generation of any random numbers during the various genetic operations and processes.


m_eventManager

EventManager m_eventManager
References the EventManager that is to be used for the notification of genetic events and the management of event subscribers.


m_chromosomePool

ChromosomePool m_chromosomePool
References the AllelePool, if any, that is to be used to pool unused Allele instances so that they may be recycled later, thereby saving memory.


m_geneticOperators

java.util.List m_geneticOperators
Stores all of the GeneticOperator implementations that are to be used to operate upon the chromosomes of a population prior to natural selection. In general, operators will be executed in the order that they are added to this list.


m_chromosomeSize

int m_chromosomeSize
The number of genes that will be stored in each chromosome in the population.


m_populationSize

int m_populationSize
The number of chromosomes that will be stored in the Genotype.


m_settingsLocked

boolean m_settingsLocked
Indicates whether the settings of this Configuration instance have been locked. Prior to locking, the settings may be set and reset as desired. Once this flag is set to true, no settings may be altered.

Class org.jgap.FitnessFunction implements Serializable

Class org.jgap.Genotype implements Serializable

Serialized Fields

m_activeConfiguration

Configuration m_activeConfiguration

m_chromosomes

Chromosome[] m_chromosomes

m_workingPool

java.util.List m_workingPool

Class org.jgap.InvalidConfigurationException implements Serializable

Class org.jgap.UnsupportedRepresentationException implements Serializable


Package org.jgap.impl

Class org.jgap.impl.CrossoverOperator implements Serializable

Class org.jgap.impl.DefaultConfiguration implements Serializable

Class org.jgap.impl.MutationOperator implements Serializable

Serialized Fields

m_mutationRate

int m_mutationRate
The current mutation rate used by this MutationOperator, expressed as the denominator in the 1 / X ratio. For example, a value of 1000 would mean that, on average, 1 / 1000 genes would be mutated. A value of zero disabled mutation entirely.


m_dynamicMutationRate

boolean m_dynamicMutationRate
Indicates whether dynamic mutation rate determination is enabled or not. If enabled, then the mutation rate will be determined automatically based upon the number of genes present in the chromosomes. If disabled, then the value of m_mutationRate will be used.

Class org.jgap.impl.ReproductionOperator implements Serializable

Class org.jgap.impl.StockRandomGenerator implements Serializable

Class org.jgap.impl.WeightedRouletteSelector implements Serializable

Serialized Fields

m_wheel

java.util.Map m_wheel
Represents the "roulette wheel." Each key in the Map is a Chromosome and each value is an instance of the SlotCounter inner class, which keeps track of how many slots on the wheel that Chromosome is using.


m_totalNumberOfUsedSlots

long m_totalNumberOfUsedSlots
Keeps track of the total number of slots that are in use on the roulette wheel. This is equal to the combined fitness values of all Chromosome instances that have been added to this wheel.


m_counterPool

Pool m_counterPool
An internal pool in which old SlotCounter instances can be stored so that they can be reused over and over again, thus saving memory and the overhead of constructing new ones each time.


Package org.jgap.xml

Class org.jgap.xml.AlleleCreationException implements Serializable

Class org.jgap.xml.ImproperXMLException implements Serializable


Package org.jgap.event

Class org.jgap.event.GeneticEvent implements Serializable

Serialized Fields

m_eventName

java.lang.String m_eventName
References the name of this event instance.


SourceForge.net Logo