Serialized Form


Package org.jgap

Class org.jgap.BulkFitnessFunction extends java.lang.Object implements Serializable

Class org.jgap.Chromosome extends java.lang.Object implements Serializable

Serialized Fields

m_applicationData

java.lang.Object m_applicationData
Application-specific data that is attached to this Chromosome. This data may assist the application in evaluating this Chromosome in the fitness function. JGAP completely ignores the data, aside from allowing it to be set and retrieved.


m_genes

Gene[] m_genes
The array of Genes contained in this Chromosome.


m_isSelectedForNextGeneration

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


m_fitnessValue

double m_fitnessValue
Stores the fitness value of this Chromosome as determined by the active fitness function. A value of -1 indicates that this field has not yet been set with this Chromosome's fitness values (valid fitness values are always positive).

Since:
2.0 (until 1.1: type int)

m_hashCode

int m_hashCode
Stores the hash-code of this Chromosome so that it doesn't need to be recalculated each time.

Class org.jgap.FitnessFunction extends java.lang.Object implements Serializable

Class org.jgap.Genotype extends java.lang.Object implements Serializable

Serialized Fields

m_population

Population m_population
The array of Chromosomes that makeup the Genotype's population.

Since:
2.0

Class org.jgap.InvalidConfigurationException extends java.lang.Exception implements Serializable

Class org.jgap.UnsupportedRepresentationException extends java.lang.Exception implements Serializable


Package org.jgap.distr

Class org.jgap.distr.DistributedGenotype extends Genotype implements Serializable


Package org.jgap.event

Class org.jgap.event.GeneticEvent extends java.util.EventObject implements Serializable

Serialized Fields

m_eventName

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


Package org.jgap.impl

Class org.jgap.impl.AveragingCrossoverOperator extends java.lang.Object implements Serializable

Serialized Fields

crossoverGenerator

RandomGenerator crossoverGenerator
Random generator for randomizing the loci for crossing over


m_crossoverRate

int m_crossoverRate
The current crossover rate used by this crossover operator.


loci

java.util.Map loci
Cache for alreadycrandomized loci for crossing over


m_crossoverRateCalc

IUniversalRateCalculator m_crossoverRateCalc
Calculator for dynamically determining the crossover rate. If set to null the value of m_crossoverRate will be used instead.

Class org.jgap.impl.BooleanGene extends java.lang.Object implements Serializable

Serialized Fields

m_value

java.lang.Boolean m_value
References the internal boolean value of this Gene.

Class org.jgap.impl.CompositeGene extends java.lang.Object implements Serializable

Serialized Fields

m_geneTypeAllowed

Gene m_geneTypeAllowed

genes

java.util.List genes
The genes contained in this CompositeGene

Since:
1.1

m_geneAlleleChecker

IGeneConstraintChecker m_geneAlleleChecker
Optional helper class for checking if a given allele value to be set is valid. If not the allele value may not be set for the gene!

Since:
2.0

Class org.jgap.impl.CrossoverOperator extends java.lang.Object implements Serializable

Serialized Fields

m_crossoverRate

int m_crossoverRate
The current crossover rate used by this crossover operator.


m_crossoverRateCalc

IUniversalRateCalculator m_crossoverRateCalc
Calculator for dynamically determining the crossover rate. If set to null the value of m_crossoverRate will be used instead.

Class org.jgap.impl.DoubleGene extends NumberGene implements Serializable

Serialized Fields

m_upperBounds

double m_upperBounds
The upper bounds of values represented by this Gene. If not explicitly provided by the user, this should be set to Double.MAX_VALUE.


m_lowerBounds

double m_lowerBounds
The lower bounds of values represented by this Gene. If not explicitly provided by the user, this should be set to Double.MIN_VALUE


m_geneAlleleChecker

IGeneConstraintChecker m_geneAlleleChecker
Optional helper class for checking if a given allele value to be set is valid. If not the allele value may not be set for the gene!

Class org.jgap.impl.FixedBinaryGene extends java.lang.Object implements Serializable

Serialized Fields

m_length

int m_length

m_value

int[] m_value

m_geneAlleleChecker

IGeneConstraintChecker m_geneAlleleChecker
Optional helper class for checking if a given allele value to be set is valid. If not the allele value may not be set for the gene!

Class org.jgap.impl.GaussianMutationOperator extends java.lang.Object implements Serializable

Serialized Fields

m_deviation

double m_deviation

m_rg

RandomGenerator m_rg

Class org.jgap.impl.GreedyCrossover extends java.lang.Object implements Serializable

Serialized Fields

m_startOffset

int m_startOffset

Class org.jgap.impl.IntegerGene extends NumberGene implements Serializable

Serialized Fields

m_upperBounds

int m_upperBounds
The upper bounds of values represented by this Gene. If not explicitly provided by the user, this should be set to Integer.MAX_VALUE.


m_lowerBounds

int m_lowerBounds
The lower bounds of values represented by this Gene. If not explicitly provided by the user, this should be set to Integer.MIN_VALUE

Class org.jgap.impl.MutationOperator extends java.lang.Object 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_mutationRateCalc

IUniversalRateCalculator m_mutationRateCalc
Calculator for dynamically determining the mutation rate. If set to null the value of m_mutationRate will be used. Replaces the previously used boolean m_dynamicMutationRate

Class org.jgap.impl.NumberGene extends java.lang.Object implements Serializable

Serialized Fields

m_value

java.lang.Object m_value
References the internal value (allele) of this Gene E.g., for DoubleGene this is of type Double


m_geneAlleleChecker

IGeneConstraintChecker m_geneAlleleChecker
Optional helper class for checking if a given allele value to be set is valid. If not the allele value may not be set for the gene!

Class org.jgap.impl.ReproductionOperator extends java.lang.Object implements Serializable

Class org.jgap.impl.StockRandomGenerator extends java.util.Random implements Serializable

Class org.jgap.impl.StringGene extends java.lang.Object implements Serializable

Serialized Fields

m_minLength

int m_minLength

m_maxLength

int m_maxLength

m_alphabet

java.lang.String m_alphabet

m_geneAlleleChecker

IGeneConstraintChecker m_geneAlleleChecker
Optional helper class for checking if a given allele value to be set is valid. If not the allele value may not be set for the gene!


m_value

java.lang.String m_value
References the internal String value (allele) of this Gene.

Class org.jgap.impl.SwappingMutationOperator extends MutationOperator implements Serializable

Serialized Fields

m_startOffset

int m_startOffset


Package org.jgap.supergenes

Class org.jgap.supergenes.abstractSupergene extends java.lang.Object implements Serializable

Serialized Fields

m_genes

Gene[] m_genes
Holds the genes of this supergene.


m_validator

supergeneValidator m_validator
A validator (initially set to this

Class org.jgap.supergenes.nonValidatingSupergene extends abstractSupergene implements Serializable


Package org.jgap.xml

Class org.jgap.xml.GeneCreationException extends java.lang.Exception implements Serializable

Class org.jgap.xml.ImproperXMLException extends java.lang.Exception implements Serializable