Serialized Form
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.
m_population
Population m_population
- The array of Chromosomes that makeup the Genotype's population.
- Since:
- 2.0
m_eventName
java.lang.String m_eventName
- References the name of this event instance.
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.
m_value
java.lang.Boolean m_value
- References the internal boolean value of this Gene.
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
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.
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!
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!
m_deviation
double m_deviation
m_rg
RandomGenerator m_rg
m_startOffset
int m_startOffset
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
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
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!
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.
m_startOffset
int m_startOffset
|
Package org.jgap.supergenes |
m_genes
Gene[] m_genes
- Holds the genes of this supergene.
m_validator
supergeneValidator m_validator
- A validator (initially set to this