A B C D E F G H I L M N O P R S T U V W X

A

ALPHABET_CHARACTERS_DIGITS - Static variable in class org.jgap.impl.StringGene
 
ALPHABET_CHARACTERS_LOWER - Static variable in class org.jgap.impl.StringGene
 
ALPHABET_CHARACTERS_SPECIAL - Static variable in class org.jgap.impl.StringGene
 
ALPHABET_CHARACTERS_UPPER - Static variable in class org.jgap.impl.StringGene
 
ASSERTIONS - Static variable in class org.jgap.impl.GreedyCrossover
Switches assertions on.
AveragingCrossoverOperator - class org.jgap.impl.AveragingCrossoverOperator.
The averaging crossover operator randomly selects two Chromosomes from the population and "mates" them by randomly picking a gene and then swapping that gene and all subsequent genes between the two Chromosomes.
AveragingCrossoverOperator() - Constructor for class org.jgap.impl.AveragingCrossoverOperator
Using the same random generator for randomizing the loci for crossing over as for selecting the genes to be crossed over
AveragingCrossoverOperator(RandomGenerator) - Constructor for class org.jgap.impl.AveragingCrossoverOperator
Using a different random generator for randomizing the loci for crossing over than for selecting the genes to be crossed over
AveragingCrossoverOperator(IUniversalRateCalculator) - Constructor for class org.jgap.impl.AveragingCrossoverOperator
Constructs a new instance of this CrossoverOperator with a specified crossover rate calculator, which results in dynamic crossover being turned on.
abstractSupergene - class org.jgap.supergenes.abstractSupergene.
Combined implementation of both Supergene and SupergeneValidator.
abstractSupergene(Gene[]) - Constructor for class org.jgap.supergenes.abstractSupergene
Constructs abstract supergene with the given gene list.
abstractSupergene() - Constructor for class org.jgap.supergenes.abstractSupergene
Always provide the parameterless constructor for the derived class.
acquireChromosome() - Method in class org.jgap.impl.ChromosomePool
Attempts to acquire an Chromosome instance from the chromosome pool.
acquirePooledObject() - Method in class org.jgap.impl.Pool
Attempts to acquire an Object instance from the pool.
add(IDataElement) - Method in class org.jgap.data.DataElementList
 
add(IDataElement) - Method in interface org.jgap.data.IDataElementList
 
addAll(Collection) - Method in class org.jgap.impl.ChainOfSelectors
 
addChromosome(Chromosome) - Method in class org.jgap.Population
Adds a Chromosome to this Population.
addChromosomes(Population) - Method in class org.jgap.Population
Adds all the Chromosomes in the given Population.
addEventListener(String, GeneticEventListener) - Method in class org.jgap.event.EventManager
Adds a new listener that will be notified when the event represented by the given name is fired.
addGene(Gene) - Method in class org.jgap.impl.CompositeGene
 
addGene(Gene, boolean) - Method in class org.jgap.impl.CompositeGene
Adds a gene to the CompositeGene's container.
addGene(Gene) - Method in class org.jgap.supergenes.abstractSupergene
Append a new gene to the gene array.
addGeneticOperator(GeneticOperator) - Method in class org.jgap.Configuration
Adds a genetic operator for use in this algorithm.
addNaturalSelector(NaturalSelector, boolean) - Method in class org.jgap.Configuration
Adds a NaturalSelector to the ordered chain of registered NaturalSelector's.
addNaturalSelector(NaturalSelector) - Method in class org.jgap.impl.ChainOfSelectors
Adds a natural selector to the chain
addPopulation(Population) - Method in class org.jgap.eval.PopulationHistory
Adds a population to the history.
appendChild(IDataElement) - Method in class org.jgap.data.DataElement
 
appendChild(IDataElement) - Method in class org.jgap.data.DataElementsDocument
Appends a child element to the tree
appendChild(IDataElement) - Method in interface org.jgap.data.IDataCreators
Appends a child element to the tree
appendChild(IDataElement) - Method in interface org.jgap.data.IDataElement
 
applyMutation(int, double) - Method in interface org.jgap.Gene
Applies a mutation of a given intensity (percentage) onto the atomic element at given index (NumberGenes only have one atomic element)
applyMutation(int, double) - Method in class org.jgap.impl.BooleanGene
Applies a mutation of a given intensity (percentage) onto the atomic element at given index
applyMutation(int, double) - Method in class org.jgap.impl.CompositeGene
Don't use this method, is makes no sense here.
applyMutation(int, double) - Method in class org.jgap.impl.DoubleGene
See interface Gene for description
applyMutation(int, double) - Method in class org.jgap.impl.FixedBinaryGene
Applies a mutation of a given intensity (percentage) onto the atomic element at given index
applyMutation(int, double) - Method in class org.jgap.impl.IntegerGene
See interface Gene for description
applyMutation(int, double) - Method in class org.jgap.impl.NumberGene
Applies a mutation of a given intensity (percentage) onto the atomic element at given index (NumberGenes only have one atomic element)
applyMutation(int, double) - Method in class org.jgap.impl.StringGene
Applies a mutation of a given intensity (percentage) onto the atomic element at given index (NumberGenes only have one atomic element)
applyMutation(int, double) - Method in class org.jgap.supergenes.abstractSupergene
Applies a mutation of a given intensity (percentage) onto the gene at the given index.

B

BestChromosomesSelector - class org.jgap.impl.BestChromosomesSelector.
Implementation of a NaturalSelector that takes the top n chromosomes into the next generation. n can be specified.
BestChromosomesSelector() - Constructor for class org.jgap.impl.BestChromosomesSelector
Constructor
BestChromosomesSelector(double) - Constructor for class org.jgap.impl.BestChromosomesSelector
 
BooleanGene - class org.jgap.impl.BooleanGene.
A Gene implementation that supports two possible values (alleles) for each gene: true and false.
BooleanGene() - Constructor for class org.jgap.impl.BooleanGene
Constructs a new BooleanGene with default settings.
Breeder - class org.jgap.distr.Breeder.
Breeds populations using a GA that will be breeded either on a single server or on multiple servers being whose results will be merged/synchronized later on.
Breeder(IPopulationMerger) - Constructor for class org.jgap.distr.Breeder
 
BulkFitnessFunction - class org.jgap.BulkFitnessFunction.
Bulk fitness functions are used to determine how optimal a group of solutions are relative to each other.
BulkFitnessFunction() - Constructor for class org.jgap.BulkFitnessFunction
 
booleanValue() - Method in class org.jgap.impl.BooleanGene
Retrieves the boolean value of this Gene.
buildDocument(IDataCreators, Object) - Method in class org.jgap.data.DocumentBuilderBase
 
buildDocument(IDataCreators) - Method in class org.jgap.xml.XMLDocumentBuilder
Convenience method to build an XML document from a generic input structure (of type IDataCreators)

C

CVS_REVISION - Static variable in interface org.jgap.FitnessEvaluator
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.Gene
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.GeneticOperator
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.IApplicationData
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.IGeneConstraintChecker
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.INaturalSelector
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.RandomGenerator
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.data.IDataCreators
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.data.IDataElement
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.data.IDataElementList
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.distr.IPopulationMerger
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.event.GeneticEventListener
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.supergenes.Supergene
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.supergenes.supergeneValidator
String containing the CVS revision.
CauchyRandomGenerator - class org.jgap.impl.CauchyRandomGenerator.
Cauchy probability density function (cumulative distribution function)
CauchyRandomGenerator() - Constructor for class org.jgap.impl.CauchyRandomGenerator
 
CauchyRandomGenerator(double, double) - Constructor for class org.jgap.impl.CauchyRandomGenerator
 
ChainOfSelectors - class org.jgap.impl.ChainOfSelectors.
Ordered chain of NaturalSelectors.
ChainOfSelectors() - Constructor for class org.jgap.impl.ChainOfSelectors
 
Chromosome - class org.jgap.Chromosome.
Chromosomes represent potential solutions and consist of a fixed-length collection of genes.
Chromosome(Gene, int) - Constructor for class org.jgap.Chromosome
Constructs a Chromosome of the given size separate from any specific Configuration.
Chromosome(Gene[]) - Constructor for class org.jgap.Chromosome
Constructs a Chromosome separate from any specific Configuration.
ChromosomePool - class org.jgap.impl.ChromosomePool.
Provides a pooling mechanism for Chromosome instances so that discarded Chromosome instances can be recycled, thus saving memory and the overhead of constructing new ones from scratch each time.
ChromosomePool() - Constructor for class org.jgap.impl.ChromosomePool
Constructor.
CompositeGene - class org.jgap.impl.CompositeGene.
Ordered container for multiple genes Has the same interface as a single gene and could be used accordingly.
CompositeGene() - Constructor for class org.jgap.impl.CompositeGene
 
CompositeGene(Gene) - Constructor for class org.jgap.impl.CompositeGene
Allows to specify which Gene implementation is allowed to be added to the CompositeGene.
Configuration - class org.jgap.Configuration.
The Configuration class represents the current configuration of plugins and flags necessary to execute the genetic algorithm (such as fitness function, natural selector, genetic operators, and so on).
Configuration() - Constructor for class org.jgap.Configuration
 
CrossoverOperator - class org.jgap.impl.CrossoverOperator.
The crossover operator randomly selects two Chromosomes from the population and "mates" them by randomly picking a gene and then swapping that gene and all subsequent genes between the two Chromosomes.
CrossoverOperator() - Constructor for class org.jgap.impl.CrossoverOperator
Constructs a new instance of this CrossoverOperator without a specified crossover rate, this results in dynamic crossover rate being turned off.
CrossoverOperator(IUniversalRateCalculator) - Constructor for class org.jgap.impl.CrossoverOperator
Constructs a new instance of this CrossoverOperator with a specified crossover rate calculator, which results in dynamic crossover being turned on.
CrossoverOperator(int) - Constructor for class org.jgap.impl.CrossoverOperator
Constructs a new instance of this CrossoverOperator with the given crossover rate.
calculateCurrentRate() - Method in interface org.jgap.IUniversalRateCalculator
Calculates the required dynamic rate.
calculateCurrentRate() - Method in class org.jgap.impl.DefaultCrossoverRateCalculator
Calculates the dynamic crossover rate.
calculateCurrentRate() - Method in class org.jgap.impl.DefaultMutationRateCalculator
Calculates the mutation rate
canBeStarted() - Method in class org.jgap.distr.Breeder
 
canBeStopped() - Method in class org.jgap.distr.Breeder
 
cleanup() - Method in class org.jgap.Chromosome
Invoked when this Chromosome is no longer needed and should perform any necessary cleanup.
cleanup() - Method in interface org.jgap.Gene
Executed by the genetic engine when this Gene instance is no longer needed and should perform any necessary resource cleanup.
cleanup() - Method in class org.jgap.impl.BooleanGene
Executed by the genetic engine when this Gene instance is no longer needed and should perform any necessary resource cleanup.
cleanup() - Method in class org.jgap.impl.CompositeGene
Executed by the genetic engine when this Gene instance is no longer needed and should perform any necessary resource cleanup.
cleanup() - Method in class org.jgap.impl.FixedBinaryGene
Executed by the genetic engine when this Gene instance is no longer needed and should perform any necessary resource cleanup.
cleanup() - Method in class org.jgap.impl.NumberGene
Executed by the genetic engine when this Gene instance is no longer needed and should perform any necessary resource cleanup.
cleanup() - Method in class org.jgap.impl.StringGene
Executed by the genetic engine when this Gene instance is no longer needed and should perform any necessary resource cleanup.
cleanup() - Method in class org.jgap.supergenes.abstractSupergene
Calls cleanup() for each subgene.
clear() - Method in class org.jgap.impl.ChainOfSelectors
 
clear() - Method in class org.jgap.impl.Pool
Empties out this pool of all objects.
clone() - Method in class org.jgap.Chromosome
Returns a copy of this Chromosome.
clone() - Method in interface org.jgap.IApplicationData
 
clone() - Method in class org.jgap.impl.FixedBinaryGene
 
compareTo(Object) - Method in class org.jgap.Chromosome
Compares the given Chromosome to this Chromosome.
compareTo(Object) - Method in class org.jgap.impl.BooleanGene
Compares this BooleanGene with the specified object for order.
compareTo(Object) - Method in class org.jgap.impl.CompositeGene
Compares this CompositeGene with the specified object for order.
compareTo(Object) - Method in class org.jgap.impl.FixedBinaryGene
Compares this Gene with the specified object for order.
compareTo(Object) - Method in class org.jgap.impl.NumberGene
Compares this IntegerGene with the specified object (which must also be an IntegerGene) for order, which is determined by the integer value of this Gene compared to the one provided for comparison.
compareTo(Object) - Method in class org.jgap.impl.StringGene
Compares this StringGene with the specified object (which must also be a StringGene) for order, which is determined by the String value of this Gene compared to the one provided for comparison.
compareTo(Object) - Method in class org.jgap.supergenes.abstractSupergene
Calls compareTo() for all subgenes.
containsGeneByIdentity(Gene) - Method in class org.jgap.impl.CompositeGene
Checks whether a specific gene is already contained.

D

DELTA - Static variable in class org.jgap.Chromosome
 
DataElement - class org.jgap.data.DataElement.
Element owning of a tag name and holding attributes.
DataElement(String) - Constructor for class org.jgap.data.DataElement
 
DataElementList - class org.jgap.data.DataElementList.
Implements the IDataElementList interface and represents a list of IDataElement elements.
DataElementList() - Constructor for class org.jgap.data.DataElementList
 
DataElementsDocument - class org.jgap.data.DataElementsDocument.
The IDataCreators interface represents an entity comparable to org.w3c.dom.Document
DataElementsDocument() - Constructor for class org.jgap.data.DataElementsDocument
 
DataTreeBuilder - class org.jgap.data.DataTreeBuilder.
Builds a tree structure from Genes, Chrosomes or from a Genotype.
DefaultConfiguration - class org.jgap.impl.DefaultConfiguration.
The DefaultConfiguration class simplifies the JGAP configuration process by providing default configuration values for many of the configuration settings.
DefaultConfiguration() - Constructor for class org.jgap.impl.DefaultConfiguration
Constructs a new DefaultConfiguration instance with a number of Configuration settings set to default values.
DefaultCrossoverRateCalculator - class org.jgap.impl.DefaultCrossoverRateCalculator.
Default implementation of a dynamic CrossoverRateCalculator
DefaultCrossoverRateCalculator() - Constructor for class org.jgap.impl.DefaultCrossoverRateCalculator
 
DefaultFitnessEvaluator - class org.jgap.DefaultFitnessEvaluator.
A default implementation of a fitness evaluator.
DefaultFitnessEvaluator() - Constructor for class org.jgap.DefaultFitnessEvaluator
 
DefaultMutationRateCalculator - class org.jgap.impl.DefaultMutationRateCalculator.
Default implementation of a mutation rate calculcator
DefaultMutationRateCalculator() - Constructor for class org.jgap.impl.DefaultMutationRateCalculator
 
DeltaFitnessEvaluator - class org.jgap.DeltaFitnessEvaluator.
An implementation of a fitness evaluator interpreting the fitness as delta value
DeltaFitnessEvaluator() - Constructor for class org.jgap.DeltaFitnessEvaluator
 
DistributedGenotype - class org.jgap.distr.DistributedGenotype.
Genotype that is running on one of many servers computing a population.
DistributedGenotype(Configuration, Population) - Constructor for class org.jgap.distr.DistributedGenotype
 
DocumentBuilderBase - class org.jgap.data.DocumentBuilderBase.
 
DocumentBuilderBase() - Constructor for class org.jgap.data.DocumentBuilderBase
 
DoubleGene - class org.jgap.impl.DoubleGene.
A Gene implementation that supports a double values for its allele.
DoubleGene() - Constructor for class org.jgap.impl.DoubleGene
Constructs a new DoubleGene with default settings.
DoubleGene(double, double) - Constructor for class org.jgap.impl.DoubleGene
Constructs a new DoubleGene with the specified lower and upper bounds for values (alleles) of this Gene instance.
determineFittestChromosome() - Method in class org.jgap.Population
Determines the fittest Chromosome in the population (the one with the highest fitness value) and memorizes it
distance(Object, Object) - Method in class org.jgap.impl.GreedyCrossover
Compute the distance between "cities", indicated by these two given genes.
doubleValue() - Method in class org.jgap.impl.DoubleGene
Retrieves the double value of this Gene, which may be more convenient in some cases than the more general getAllele() method.

E

EventManager - class org.jgap.event.EventManager.
Manages event notification in the system.
EventManager() - Constructor for class org.jgap.event.EventManager
 
empty() - Method in interface org.jgap.INaturalSelector
Empty out the working pool of Chromosomes.
empty() - Method in class org.jgap.impl.BestChromosomesSelector
Empty out the working pool of Chromosomes.
empty() - Method in class org.jgap.impl.ThresholdSelector
 
empty() - Method in class org.jgap.impl.TournamentSelector
 
empty() - Method in class org.jgap.impl.WeightedRouletteSelector
Empty out the working pool of Chromosomes.
equals(Object) - Method in class org.jgap.Chromosome
Compares this Chromosome against the specified object.
equals(Object) - Method in class org.jgap.Genotype
Compares this Genotype against the specified object.
equals(Object) - Method in class org.jgap.impl.BooleanGene
Compares this BooleanGene with the given object and returns true if the other object is a BooleanGene and has the same value as this BooleanGene.
equals(Object) - Method in class org.jgap.impl.ChainOfSelectors
 
equals(Object) - Method in class org.jgap.impl.CompositeGene
Compares this CompositeGene with the given object and returns true if the other object is a IntegerGene and has the same value (allele) as this IntegerGene.
equals(Object) - Method in class org.jgap.impl.FixedBinaryGene
Compares this Gene with the given object and returns true if the other object is a FixedBinaryGene and has the same value as this Gene.
equals(Object) - Method in class org.jgap.impl.NumberGene
Compares this IntegerGene with the given object and returns true if the other object is a IntegerGene and has the same value (allele) as this IntegerGene.
equals(Object) - Method in class org.jgap.impl.StringGene
Compares this Gene with the given object and returns true if the other object is a Gene of this type and has the same value (allele) as this Gene.
equals(Object) - Method in class org.jgap.supergenes.abstractSupergene
Calls equals() for each pair of genes.
evaluate(List) - Method in class org.jgap.BulkFitnessFunction
Calculates and sets the fitness values on each of the given Chromosomes via their setFitnessValue() method.
evolve() - Method in class org.jgap.Genotype
Evolve the population of Chromosomes within this Genotype.
evolve(int) - Method in class org.jgap.Genotype
Evolves this Genotype the specified number of times.

F

FitnessEvaluator - interface org.jgap.FitnessEvaluator.
Interface for a fitness evaluator used in a Genotype to determine how to interpret the fitness value.
FitnessFunction - class org.jgap.FitnessFunction.
Fitness functions are used to determine how optimal a particular solution is relative to other solutions.
FitnessFunction() - Constructor for class org.jgap.FitnessFunction
 
FittestPopulationMerger - class org.jgap.impl.FittestPopulationMerger.
A implementation of the IPopulationMerger interface that merges two populations as specified based on the fitness function, that is, the n fittest chromosomes are returned in the new population, where n is supplied by parameter.
FittestPopulationMerger() - Constructor for class org.jgap.impl.FittestPopulationMerger
 
FixedBinaryGene - class org.jgap.impl.FixedBinaryGene.
A Gene implementation that supports two possible values (alleles, 1 and 0) with a fixed length of alleles NOTE: Since this Gene implementation only supports two different values (1 and 0), there's only a 50% chance that invocation of the setToRandomValue() method will actually change the value of this Gene (if it has a value).
FixedBinaryGene(int) - Constructor for class org.jgap.impl.FixedBinaryGene
 
FixedBinaryGene(FixedBinaryGene) - Constructor for class org.jgap.impl.FixedBinaryGene
 
fireGeneticEvent(GeneticEvent) - Method in class org.jgap.event.EventManager
Fires a genetic event.
flip(int) - Method in class org.jgap.impl.FixedBinaryGene
 

G

GENE_DELIMITER - Static variable in class org.jgap.impl.CompositeGene
This field separates gene class name from the gene persistent representation string. '*' does not work properly with URLEncoder, so I have changed it to '#'
GENE_DELIMITER - Static variable in class org.jgap.supergenes.abstractSupergene
This field separates gene class name from the gene persistent representation string.
GENE_DELIMITER_CLOSING - Static variable in class org.jgap.impl.CompositeGene
Represents the closing delimiter that is used to separate genes in the persistent representation of CompositeGene instances.
GENE_DELIMITER_CLOSING - Static variable in class org.jgap.supergenes.abstractSupergene
Represents the closing delimiter that is used to separate genes in the persistent representation of CompositeGene instances.
GENE_DELIMITER_HEADING - Static variable in class org.jgap.impl.CompositeGene
Represents the heading delimiter that is used to separate genes in the persistent representation of CompositeGene instances.
GENE_DELIMITER_HEADING - Static variable in class org.jgap.supergenes.abstractSupergene
Represents the heading delimiter that is used to separate genes in the persistent representation of CompositeGene instances.
GENOTYPE_EVOLVED_EVENT - Static variable in class org.jgap.event.GeneticEvent
Public constant representing the name of the event that is fired each time a Genotype is finished with a single evolution cycle.
GaussianMutationOperator - class org.jgap.impl.GaussianMutationOperator.
This genetic operator performs Gaussian mutation across all genes in a given Chromosome.
GaussianMutationOperator() - Constructor for class org.jgap.impl.GaussianMutationOperator
Constructs a GaussianMutationOperator with a default deviation of 0.05.
GaussianMutationOperator(double) - Constructor for class org.jgap.impl.GaussianMutationOperator
Constructs a GaussianMutationOperator with the given deviation.
GaussianRandomGenerator - class org.jgap.impl.GaussianRandomGenerator.
Gaussian deviation serving as basis for randomly finding a number.
GaussianRandomGenerator() - Constructor for class org.jgap.impl.GaussianRandomGenerator
 
GaussianRandomGenerator(double) - Constructor for class org.jgap.impl.GaussianRandomGenerator
Constructor speicifying the (obliagtory) standard deviation
Gene - interface org.jgap.Gene.
Genes represent the discrete components of a potential solution (the Chromosome).
GeneCreationException - exception org.jgap.xml.GeneCreationException.
The GeneCreationException is a bit of a catch-all exception for representing problems encountered during the creation of a Gene object with a value (allele) representation found in an XML document.
GeneCreationException(String) - Constructor for class org.jgap.xml.GeneCreationException
Constructs a new GeneCreationException instance with the given error message.
GeneticEvent - class org.jgap.event.GeneticEvent.
Represents events that are fired via the EventManager when various genetic events occur.
GeneticEvent(String, Object) - Constructor for class org.jgap.event.GeneticEvent
Constructs a new GeneticEvent of the given name.
GeneticEventListener - interface org.jgap.event.GeneticEventListener.
Represents objects that process genetic events.
GeneticOperator - interface org.jgap.GeneticOperator.
A GeneticOperator represents an operation that takes place on a population of Chromosomes during the evolution process.
Genotype - class org.jgap.Genotype.
Genotypes are fixed-length populations of chromosomes.
Genotype(Configuration, Chromosome[]) - Constructor for class org.jgap.Genotype
Deprecated. use Genotype(Configuration, Population) instead
Genotype(Configuration, Population) - Constructor for class org.jgap.Genotype
Constructs a new Genotype instance with the given array of Chromosomes and the given active Configuration instance.
GreedyCrossover - class org.jgap.impl.GreedyCrossover.
Greedy crossover can be best explained in the terms of the Traveling Salesman Problem: The algorithm selects the first city of one parent, compares the cities leaving that city in both parents, and chooses the closer one to extend the tour.
GreedyCrossover() - Constructor for class org.jgap.impl.GreedyCrossover
 
geneAt(int) - Method in class org.jgap.impl.CompositeGene
Returns the gene at the given index
geneticEventFired(GeneticEvent) - Method in interface org.jgap.event.GeneticEventListener
Notify this GeneticEventListener that an event has been fired of a type to which this listener is subscribed.
get(int) - Method in class org.jgap.impl.ChainOfSelectors
Returns a Selector with specific index in the list
getAllele() - Method in interface org.jgap.Gene
Retrieves the value represented by this Gene.
getAllele() - Method in class org.jgap.impl.BooleanGene
Retrieves the value represented by this Gene.
getAllele() - Method in class org.jgap.impl.CompositeGene
Retrieves the value represented by this Gene.
getAllele() - Method in class org.jgap.impl.FixedBinaryGene
 
getAllele() - Method in class org.jgap.impl.NumberGene
Retrieves the value (allele) represented by this Gene.
getAllele() - Method in class org.jgap.impl.StringGene
Retrieves the value (allele) represented by this Gene.
getAllele() - Method in class org.jgap.supergenes.abstractSupergene
Retrieves the allele value represented by this Supergene.
getAlphabet() - Method in class org.jgap.impl.StringGene
 
getApplicationData() - Method in class org.jgap.Chromosome
Retrieves the application-specific data that is attached to this Chromosome.
getAttribute(String) - Method in class org.jgap.data.DataElement
 
getAttribute(String) - Method in interface org.jgap.data.IDataElement
 
getAttributes() - Method in class org.jgap.data.DataElement
 
getAttributes() - Method in interface org.jgap.data.IDataElement
 
getBit(int) - Method in class org.jgap.impl.FixedBinaryGene
 
getBulkFitnessFunction() - Method in class org.jgap.Configuration
Retrieves the bulk fitness function previously setup in this Configuration object.
getCauchyStandardDeviation() - Method in class org.jgap.impl.CauchyRandomGenerator
 
getChildNodes() - Method in class org.jgap.data.DataElement
 
getChildNodes() - Method in interface org.jgap.data.IDataElement
 
getChromosome(int) - Method in class org.jgap.Population
Returns a Chromosome at given index in the Population
getChromosomeFromDocument(Configuration, Document) - Static method in class org.jgap.xml.XMLManager
Unmarshall a Chromosome instance from a given XML Document representation.
getChromosomeFromElement(Configuration, Element) - Static method in class org.jgap.xml.XMLManager
Unmarshall a Chromosome instance from a given XML Element representation.
getChromosomePool() - Method in class org.jgap.Configuration
Retrieves the ChromosomePool instance, if any, that is associated with this configuration.
getChromosomeSize() - Method in class org.jgap.Configuration
Retrieves the chromosome size being used by this genetic algorithm.
getChromosomes() - Method in class org.jgap.Genotype
Deprecated. uses getPopulation() instead
getChromosomes() - Method in class org.jgap.Population
 
getConfiguration() - Static method in class org.jgap.Genotype
 
getConstraintChecker() - Method in class org.jgap.impl.CompositeGene
 
getConstraintChecker() - Method in class org.jgap.impl.DoubleGene
 
getConstraintChecker() - Method in class org.jgap.impl.FixedBinaryGene
 
getConstraintChecker() - Method in class org.jgap.impl.NumberGene
 
getConstraintChecker() - Method in class org.jgap.impl.StringGene
 
getDoubletteChromosomesAllowed() - Method in class org.jgap.impl.BestChromosomesSelector
 
getDoubletteChromosomesAllowed() - Method in class org.jgap.impl.WeightedRouletteSelector
 
getElementsByTagName(String) - Method in class org.jgap.data.DataElement
 
getElementsByTagName(String) - Method in interface org.jgap.data.IDataElement
 
getEventManager() - Method in class org.jgap.Configuration
Retrieves the EventManager associated with this configuration.
getEventName() - Method in class org.jgap.event.GeneticEvent
Retrieves the name of this event, which can be used to identify the type of event.
getFitnessEvaluator() - Method in class org.jgap.Configuration
 
getFitnessFunction() - Method in class org.jgap.Configuration
Retrieves the fitness function previously setup in this Configuration object.
getFitnessValue() - Method in class org.jgap.Chromosome
Retrieves the fitness value of this Chromosome, as determined by the active fitness function.
getFitnessValue(Chromosome) - Method in class org.jgap.FitnessFunction
Retrieves the fitness value of the given Chromosome.
getFittestChromosome() - Method in class org.jgap.Genotype
Retrieves the Chromosome in the population with the highest fitness value.
getGaussianStdDeviation() - Method in class org.jgap.impl.GaussianRandomGenerator
 
getGene(int) - Method in class org.jgap.Chromosome
Returns the Gene at the given index (locus) within the Chromosome.
getGene(int) - Method in interface org.jgap.supergenes.Supergene
Returns the Gene at the given index (locus) within the Supergene.
getGene(int) - Method in class org.jgap.supergenes.abstractSupergene
Returns the Gene at the given index (locus) within the Chromosome.
getGenes() - Method in class org.jgap.Chromosome
Retrieves the set of genes that make up this Chromosome.
getGenes() - Method in interface org.jgap.supergenes.Supergene
Get the array of genes - components of this supergene.
getGenes() - Method in class org.jgap.supergenes.abstractSupergene
Get the array of genes - components of this supergene.
getGenesFromElement(Configuration, Element) - Static method in class org.jgap.xml.XMLManager
Unmarshall a Chromosome instance from a given XML Element representation.
getGeneticOperators() - Method in class org.jgap.Configuration
Retrieves the genetic operators setup in this Configuration instance.
getGenotypeFromDocument(Configuration, Document) - Static method in class org.jgap.xml.XMLManager
Unmarshall a Genotype instance from a given XML Document representation.
getGenotypeFromElement(Configuration, Element) - Static method in class org.jgap.xml.XMLManager
Unmarshall a Genotype instance from a given XML Element representation.
getInstance() - Static method in class org.jgap.data.DataTreeBuilder
 
getIntValues() - Method in class org.jgap.impl.FixedBinaryGene
 
getLength() - Method in class org.jgap.data.DataElementList
 
getLength() - Method in interface org.jgap.data.IDataElementList
 
getLength() - Method in class org.jgap.impl.FixedBinaryGene
 
getMaxLength() - Method in class org.jgap.impl.StringGene
 
getMinLength() - Method in class org.jgap.impl.StringGene
 
getMinimumPopSizePercent() - Method in class org.jgap.Configuration
 
getMutationRateCalc() - Method in class org.jgap.impl.MutationOperator
 
getNaturalSelector() - Method in class org.jgap.Configuration
Deprecated. use getNaturalSelectors(true) or getNaturalSelectors(false) to obtain the relevant chain of NaturalSelector's and then call the chain's get(index) method
getNaturalSelector(boolean, int) - Method in class org.jgap.Configuration
 
getNaturalSelectors(boolean) - Method in class org.jgap.Configuration
 
getNaturalSelectorsSize(boolean) - Method in class org.jgap.Configuration
 
getNoFitnessValue() - Method in class org.jgap.FitnessFunction
 
getNodeType() - Method in class org.jgap.data.DataElement
 
getNodeValue() - Method in class org.jgap.data.DataElement
 
getOriginalRate() - Method in class org.jgap.impl.BestChromosomesSelector
 
getPersistent() - Method in class org.jgap.supergenes.Validator
Get a persistent string representation (if needed) of this validator. The name is different allowing the same class to implement both Supergene and supergeneValidator. The default implementation returns an empty string.
getPersistent() - Method in class org.jgap.supergenes.abstractSupergene
Get a persistent string representation (if needed) of this validator. The name is different allowing the same class to implement both Supergene and supergeneValidator. The default implementation returns an empty string.
getPersistent() - Method in interface org.jgap.supergenes.supergeneValidator
Get a persistent string representation (if needed) of this validator.
getPersistentRepresentation() - Method in interface org.jgap.Gene
Retrieves a string representation of the value of this Gene instance that includes any information required to reconstruct it at a later time, such as its value and internal state.
getPersistentRepresentation() - Method in class org.jgap.impl.BooleanGene
Retrieves a string representation of this Gene that includes any information required to reconstruct it at a later time, such as its value and internal state.
getPersistentRepresentation() - Method in class org.jgap.impl.CompositeGene
See interface Gene for description
getPersistentRepresentation() - Method in class org.jgap.impl.DoubleGene
Retrieves a string representation of this Gene that includes any information required to reconstruct it at a later time, such as its value and internal state.
getPersistentRepresentation() - Method in class org.jgap.impl.FixedBinaryGene
 
getPersistentRepresentation() - Method in class org.jgap.impl.IntegerGene
Retrieves a string representation of this Gene that includes any information required to reconstruct it at a later time, such as its value and internal state.
getPersistentRepresentation() - Method in class org.jgap.impl.StringGene
Retrieves a string representation of this Gene that includes any information required to reconstruct it at a later time, such as its value and internal state.
getPersistentRepresentation() - Method in class org.jgap.supergenes.abstractSupergene
Retrieves a string representation of the value of this Supergene instance, using calls to the Supergene components.
getPopulation() - Method in class org.jgap.Genotype
 
getPopulation(int) - Method in class org.jgap.eval.PopulationHistory
 
getPopulationSize() - Method in class org.jgap.Configuration
Retrieves the population size setup in this Configuration instance.
getPopulations() - Method in class org.jgap.eval.PopulationHistory
 
getRandomGenerator() - Method in class org.jgap.Configuration
Retrieves the random generator setup in this Configuration instance.
getSampleChromosome() - Method in class org.jgap.Configuration
Retrieves the sample Chromosome that contains the desired Gene setup for each respective gene position (locus).
getStartOffset() - Method in class org.jgap.impl.GreedyCrossover
Gets a number of genes at the start of chromosome, that are excluded from the swapping.
getStartOffset() - Method in class org.jgap.impl.SwappingMutationOperator
Gets a number of genes at the start of chromosome, that are excluded from the swapping.
getTagName() - Method in class org.jgap.data.DataElement
 
getTagName() - Method in interface org.jgap.data.IDataElement
 
getTree() - Method in class org.jgap.data.DataElementsDocument
 
getTree() - Method in interface org.jgap.data.IDataCreators
 
getValidator() - Method in interface org.jgap.supergenes.Supergene
Gets an object, responsible for deciding if the Supergene allele combination is valid.
getValidator() - Method in class org.jgap.supergenes.abstractSupergene
Gets an object, responsible for deciding if the Supergene allele combination is valid.

H

hashCode() - Method in class org.jgap.Chromosome
Retrieve a hash code for this Chromosome.
hashCode() - Method in class org.jgap.impl.BooleanGene
Retrieves the hash code value of this BooleanGene.
hashCode() - Method in class org.jgap.impl.ChainOfSelectors
 
hashCode() - Method in class org.jgap.impl.FixedBinaryGene
Retrieves the hash code value of this Gene.
hashCode() - Method in class org.jgap.impl.NumberGene
Retrieves the hash code value for this IntegerGene.
hashCode() - Method in class org.jgap.impl.StringGene
Retrieves the hash code value for this StringGene.
hashCode() - Method in class org.jgap.supergenes.abstractSupergene
Returns sum of hashCode() of the genes-components.

I

IApplicationData - interface org.jgap.IApplicationData.
The Chromosome class allows to attach a custom object that is ignored by the genetic operations.
IDataCreators - interface org.jgap.data.IDataCreators.
The IDataCreators interface represents an entity comparable to org.w3c.dom.Document
IDataElement - interface org.jgap.data.IDataElement.
The IDataElement interface represents an entity comparable to org.w3c.dom.Element
IDataElementList - interface org.jgap.data.IDataElementList.
IDataElementList is an interface describing a list of IDataElement elements
IGeneConstraintChecker - interface org.jgap.IGeneConstraintChecker.
Interface for checking whether a given allele value is valid to be set for a given gene instance.
INaturalSelector - interface org.jgap.INaturalSelector.
Natural selectors are responsible for actually selecting a specified number of Chromosome specimens from a population, using the fitness values as a guide.
IPopulationMerger - interface org.jgap.distr.IPopulationMerger.
Interface for implementations allowing to merge two or more independent Population's to be merged together into one Population.
IUniversalRateCalculator - interface org.jgap.IUniversalRateCalculator.
Interface for a calculator that determines a dynamic rate.
ImproperXMLException - exception org.jgap.xml.ImproperXMLException.
An ImproperXMLException will be thrown when an XML document or element is parsed but is found to be structured improperly or missing required data.
ImproperXMLException(String) - Constructor for class org.jgap.xml.ImproperXMLException
Constructs a new ImproperXMLException instance with the given error message.
IntegerGene - class org.jgap.impl.IntegerGene.
A Gene implementation that supports an integer values for its allele.
IntegerGene() - Constructor for class org.jgap.impl.IntegerGene
Constructs a new IntegerGene with default settings.
IntegerGene(int, int) - Constructor for class org.jgap.impl.IntegerGene
Constructs a new IntegerGene with the specified lower and upper bounds for values (alleles) of this Gene instance.
InvalidConfigurationException - exception org.jgap.InvalidConfigurationException.
This exception is typically thrown when an invalid value has been passed to a Configuration object, an attempt is made to lock a Configuration object before all required settings have been provided, or an attempt is made to alter a setting in a Configuration object after it has been successfully locked.
InvalidConfigurationException(String) - Constructor for class org.jgap.InvalidConfigurationException
Constructs a new InvalidConfigurationException instance with the given error message.
intValue() - Method in class org.jgap.impl.IntegerGene
Retrieves the int value of this Gene, which may be more convenient in some cases than the more general getAllele() method.
isEmpty() - Method in class org.jgap.impl.ChainOfSelectors
 
isEmpty() - Method in class org.jgap.impl.CompositeGene
 
isFitter(double, double) - Method in class org.jgap.DefaultFitnessEvaluator
Compares the first given fitness value with the second and returns true if the first one is greater than the second one.
isFitter(double, double) - Method in class org.jgap.DeltaFitnessEvaluator
Compares the first given fitness value with the second and returns true if the first one is smaller than the second one.
isFitter(double, double) - Method in interface org.jgap.FitnessEvaluator
Compares the first given fitness value with the second and returns true if the first one is greater than the second one.
isLocked() - Method in class org.jgap.Configuration
Retrieves the lock status of this object.
isRunning() - Method in class org.jgap.distr.Breeder
 
isSelectedForNextGeneration() - Method in class org.jgap.Chromosome
Retrieves whether this Chromosome has been selected by the natural selector to continue to the next generation.
isValid() - Method in interface org.jgap.supergenes.Supergene
Test the allele combination of this supergene for validity.
isValid(Gene[], Supergene) - Method in class org.jgap.supergenes.Validator
Return true if this gene combination is valid for the given supergene
isValid() - Method in class org.jgap.supergenes.abstractSupergene
Test the allele combination of this supergene for validity.
isValid(Gene[], Supergene) - Method in class org.jgap.supergenes.abstractSupergene
Test the given gene list for validity.
isValid(Gene[], Supergene) - Method in class org.jgap.supergenes.nonValidatingSupergene
Always true
isValid() - Method in class org.jgap.supergenes.nonValidatingSupergene
Always true
isValid(Gene[], Supergene) - Method in interface org.jgap.supergenes.supergeneValidator
Return true if this gene combination is valid for the given supergene
item(int) - Method in class org.jgap.data.DataElementList
 
item(int) - Method in interface org.jgap.data.IDataElementList
 
iterator() - Method in class org.jgap.Population
 
iterator() - Method in class org.jgap.impl.ChainOfSelectors
 

L

lockSettings() - Method in class org.jgap.Configuration
Locks all of the settings in this configuration object.

M

MAX_IMMUTABLE_GENES - Static variable in class org.jgap.supergenes.abstractSupergene
Maximal number of notes about immutable genes per single gene position
MAX_RETRIES - Static variable in class org.jgap.supergenes.abstractSupergene
Maximal number of retries for applyMutation and setToRandomValue.
MutationOperator - class org.jgap.impl.MutationOperator.
The mutation operator runs through the genes in each of the Chromosomes in the population and mutates them in statistical accordance to the given mutation rate.
MutationOperator() - Constructor for class org.jgap.impl.MutationOperator
Constructs a new instance of this MutationOperator without a specified mutation rate, which results in dynamic mutation being turned on.
MutationOperator(IUniversalRateCalculator) - Constructor for class org.jgap.impl.MutationOperator
Constructs a new instance of this MutationOperator with a specified mutation rate calculator, which results in dynamic mutation being turned on.
MutationOperator(int) - Constructor for class org.jgap.impl.MutationOperator
Constructs a new instance of this MutationOperator with the given mutation rate.
main(String[]) - Static method in class org.jgap.data.DataTreeBuilder
 
mergePopulations(Population, Population, int) - Method in interface org.jgap.distr.IPopulationMerger
Merges two Population's into one that has the given size.
mergePopulations(Population, Population, int) - Method in class org.jgap.impl.FittestPopulationMerger
 

N

NaturalSelector - class org.jgap.NaturalSelector.
Abstract implementation of interface INaturalSelector
NaturalSelector() - Constructor for class org.jgap.NaturalSelector
 
NumberGene - class org.jgap.impl.NumberGene.
Base class for all Genes based on numbers.
NumberGene() - Constructor for class org.jgap.impl.NumberGene
 
newDocument() - Method in class org.jgap.data.DataElementsDocument
 
newDocument() - Method in interface org.jgap.data.IDataCreators
 
newGene() - Method in interface org.jgap.Gene
Provides an implementation-independent means for creating new Gene instances.
newGene() - Method in class org.jgap.impl.BooleanGene
Provides an implementation-independent means for creating new Gene instances.
newGene() - Method in class org.jgap.impl.CompositeGene
Provides an implementation-independent means for creating new Gene instances.
newGene() - Method in class org.jgap.impl.DoubleGene
Provides an implementation-independent means for creating new Gene instances.
newGene() - Method in class org.jgap.impl.FixedBinaryGene
 
newGene() - Method in class org.jgap.impl.IntegerGene
Provides an implementation-independent means for creating new Gene instances.
newGene() - Method in class org.jgap.impl.StringGene
Provides an implementation-independent means for creating new Gene instances.
newGene() - Method in class org.jgap.supergenes.abstractSupergene
Creates a new instance of this Supergene class with the same number of genes, calling newGene() for each subgene.
nextBoolean() - Method in interface org.jgap.RandomGenerator
Returns the next pseudorandom, uniformly distributed boolean value from this random number generator's sequence.
nextBoolean() - Method in class org.jgap.impl.CauchyRandomGenerator
 
nextBoolean() - Method in class org.jgap.impl.GaussianRandomGenerator
 
nextCauchy() - Method in class org.jgap.impl.CauchyRandomGenerator
Calculate Cumulative Cauchy distribution function.
nextDouble() - Method in interface org.jgap.RandomGenerator
Returns the next pseudorandom, uniformly distributed double value between 0.0 and 1.0 from this random number generator's sequence.
nextDouble() - Method in class org.jgap.impl.CauchyRandomGenerator
 
nextDouble() - Method in class org.jgap.impl.GaussianRandomGenerator
 
nextFloat() - Method in interface org.jgap.RandomGenerator
Returns the next pseudorandom, uniformly distributed float value between 0.0 and 1.0 from this random number generator's sequence.
nextFloat() - Method in class org.jgap.impl.CauchyRandomGenerator
 
nextFloat() - Method in class org.jgap.impl.GaussianRandomGenerator
 
nextInt() - Method in interface org.jgap.RandomGenerator
Returns the next pseudorandom, uniformly distributed int value from this random number generator's sequence.
nextInt(int) - Method in interface org.jgap.RandomGenerator
Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence.
nextInt() - Method in class org.jgap.impl.CauchyRandomGenerator
 
nextInt(int) - Method in class org.jgap.impl.CauchyRandomGenerator
 
nextInt() - Method in class org.jgap.impl.GaussianRandomGenerator
 
nextInt(int) - Method in class org.jgap.impl.GaussianRandomGenerator
 
nextLong() - Method in interface org.jgap.RandomGenerator
Returns the next pseudorandom, uniformly distributed long value from this random number generator's sequence.
nextLong() - Method in class org.jgap.impl.CauchyRandomGenerator
 
nextLong() - Method in class org.jgap.impl.GaussianRandomGenerator
 
nonValidatingSupergene - class org.jgap.supergenes.nonValidatingSupergene.
A supergene that is always valid.
nonValidatingSupergene() - Constructor for class org.jgap.supergenes.nonValidatingSupergene
 
nonValidatingSupergene(Gene[]) - Constructor for class org.jgap.supergenes.nonValidatingSupergene
 

O

operate(Population, List) - Method in interface org.jgap.GeneticOperator
The operate method will be invoked on each of the genetic operators referenced by the current Configuration object during the evolution phase.
operate(Population, List) - Method in class org.jgap.impl.AveragingCrossoverOperator
Crossover that acts as a perturbed mean of two individuals.
operate(Population, List) - Method in class org.jgap.impl.CrossoverOperator
The operate method will be invoked on each of the genetic operators referenced by the current Configuration object during the evolution phase.
operate(Population, List) - Method in class org.jgap.impl.GaussianMutationOperator
Executes the operation.
operate(Population, List) - Method in class org.jgap.impl.GreedyCrossover
 
operate(Population, List) - Method in class org.jgap.impl.MutationOperator
The operate method will be invoked on each of the genetic operators referenced by the current Configuration object during the evolution phase.
operate(Population, List) - Method in class org.jgap.impl.ReproductionOperator
The operate method will be invoked on each of the genetic operators referenced by the current Configuration object during the evolution phase.
operate(Population, List) - Method in class org.jgap.impl.SwappingMutationOperator
The operate method will be invoked on each of the genetic operators referenced by the current Configuration object during the evolution phase. Operators are given an opportunity to run in the order that they are added to the Configuration. Implementations of this method may reference the population of Chromosomes as it was at the beginning of the evolutionary phase and/or they may instead reference the candidate Chromosomes, which are the results of prior genetic operators. In either case, only Chromosomes added to the list of candidate chromosomes will be considered for natural selection. Implementations should never modify the original population, but should first make copies of the Chromosomes selected for modification and operate upon the copies.
org.jgap - package org.jgap
Houses the interfaces and classes that make up the core of JGAP.
org.jgap.data - package org.jgap.data
 
org.jgap.distr - package org.jgap.distr
 
org.jgap.eval - package org.jgap.eval
 
org.jgap.event - package org.jgap.event
Contains classes and interfaces related to the generation and handling of JGAP events.
org.jgap.impl - package org.jgap.impl
Provides stock implementations of the various sub-components that can be plugged-in or custom implemented.
org.jgap.supergenes - package org.jgap.supergenes
Supergene represents several loci, which control closely related aspects of the phenotype.
org.jgap.xml - package org.jgap.xml
 

P

PERSISTENT_FIELD_DELIMITER - Static variable in interface org.jgap.Gene
Represents the delimiter that is used to separate fields in the persistent representation of DoubleGene instances.
Pool - class org.jgap.impl.Pool.
A simple, generic pool class that can be used to pool any kind of object.
Pool() - Constructor for class org.jgap.impl.Pool
Constructor.
Population - class org.jgap.Population.
List of chromosomes held in the Genotype (or possibly later in the Configuration object
Population(Chromosome[]) - Constructor for class org.jgap.Population
 
Population(int) - Constructor for class org.jgap.Population
 
Population() - Constructor for class org.jgap.Population
 
PopulationHistory - class org.jgap.eval.PopulationHistory.
Container for holding a given number of populations.
PopulationHistory(int) - Constructor for class org.jgap.eval.PopulationHistory
 

R

RandomGenerator - interface org.jgap.RandomGenerator.
The RandomGenerator interface provides an abstraction for the random number implementation so that more rigorous or alternative implementations can be provided as desired.
ReproductionOperator - class org.jgap.impl.ReproductionOperator.
The reproduction operator loops through each of the Chromosomes in the population and adds them to the list of candidate chromosomes.
ReproductionOperator() - Constructor for class org.jgap.impl.ReproductionOperator
 
randomInitialChromosome() - Static method in class org.jgap.Chromosome
Convenience method that returns a new Chromosome instance with its genes values (alleles) randomized.
randomInitialGenotype(Configuration) - Static method in class org.jgap.Genotype
Convenience method that returns a newly constructed Genotype instance configured according to the given Configuration instance.
readFile(File) - Static method in class org.jgap.xml.XMLManager
Reads in an XML file and returns a Document object
releaseAllObjects(Collection) - Method in class org.jgap.impl.Pool
Releases a Collection of objects to the pool.
releaseChromosome(Chromosome) - Method in class org.jgap.impl.ChromosomePool
Releases a Chromosome to the pool.
releaseObject(Object) - Method in class org.jgap.impl.Pool
Releases an Object to the pool.
removeAllPopulations() - Method in class org.jgap.eval.PopulationHistory
 
removeEventListener(String, GeneticEventListener) - Method in class org.jgap.event.EventManager
Removes the given listener from subscription of the indicated event.
removeGene(Gene) - Method in class org.jgap.impl.CompositeGene
Removes the given gene from the collection of genes.
removeGeneByIdentity(Gene) - Method in class org.jgap.impl.CompositeGene
Removes the given gene from the collection of genes.
representChromosomeAsDocument(Chromosome) - Method in class org.jgap.data.DataTreeBuilder
Represent a Chromosome as a generic data type document, including its contained Gene instances.
representChromosomeAsDocument(Chromosome) - Static method in class org.jgap.xml.XMLManager
Deprecated. use XMLDocumentBuilder instead
representChromosomeAsElement(Chromosome) - Method in class org.jgap.data.DataTreeBuilder
Represent a Chromosome as a generic data element, including its contained Gene instances.
representChromosomeAsElement(Chromosome, Document) - Static method in class org.jgap.xml.XMLManager
Deprecated. use XMLDocumentBuilder instead
representGeneAsElement(Gene) - Method in class org.jgap.data.DataTreeBuilder
Represent a Gene as a generic data element.
representGenesAsElement(Gene[]) - Method in class org.jgap.data.DataTreeBuilder
Represent Genes as a generic data type element.
representGenesAsElement(Gene[], Document) - Static method in class org.jgap.xml.XMLManager
Deprecated. use XMLDocumentBuilder instead
representGenotypeAsDocument(Genotype) - Method in class org.jgap.data.DataTreeBuilder
Represent a Genotype as a generic data document, including its population of Chromosome instances.
representGenotypeAsDocument(Genotype) - Static method in class org.jgap.xml.XMLManager
Deprecated. use XMLDocumentBuilder instead
representGenotypeAsElement(Genotype) - Method in class org.jgap.data.DataTreeBuilder
Represent a Genotype as a generic data element, including its population of Chromosome instances.
representGenotypeAsElement(Genotype, Document) - Static method in class org.jgap.xml.XMLManager
Deprecated. use XMLDocumentBuilder instead
reset() - Static method in class org.jgap.supergenes.abstractSupergene
Discards all internal caches, ensuring correct repetetive tests of performance.
returnsUniqueChromosomes() - Method in interface org.jgap.INaturalSelector
 
returnsUniqueChromosomes() - Method in class org.jgap.impl.BestChromosomesSelector
 
returnsUniqueChromosomes() - Method in class org.jgap.impl.ThresholdSelector
 
returnsUniqueChromosomes() - Method in class org.jgap.impl.TournamentSelector
 
returnsUniqueChromosomes() - Method in class org.jgap.impl.WeightedRouletteSelector
 
run() - Method in class org.jgap.distr.Breeder
Runs the evolution.

S

StockRandomGenerator - class org.jgap.impl.StockRandomGenerator.
The stock random generator uses the java.util.Random class to provide a simple implementation of the RandomGenerator interface.
StockRandomGenerator() - Constructor for class org.jgap.impl.StockRandomGenerator
 
StringGene - class org.jgap.impl.StringGene.
A Gene implementation that supports a string for its allele.
StringGene() - Constructor for class org.jgap.impl.StringGene
 
StringGene(int, int) - Constructor for class org.jgap.impl.StringGene
 
StringGene(int, int, String) - Constructor for class org.jgap.impl.StringGene
 
Supergene - interface org.jgap.supergenes.Supergene.
Supergene represents several genes, which usually control closely related aspects of the phenotype.
SwappingMutationOperator - class org.jgap.impl.SwappingMutationOperator.
Swaps the genes instead of mutating them.
SwappingMutationOperator() - Constructor for class org.jgap.impl.SwappingMutationOperator
{@inheritDoc}
SwappingMutationOperator(IUniversalRateCalculator) - Constructor for class org.jgap.impl.SwappingMutationOperator
{@inheritDoc}
SwappingMutationOperator(int) - Constructor for class org.jgap.impl.SwappingMutationOperator
{@inheritDoc}
select(int, Population, Population) - Method in interface org.jgap.INaturalSelector
Select a given number of Chromosomes from the pool that will move on to the next generation population.
select(int, Population, Population) - Method in class org.jgap.impl.BestChromosomesSelector
Select a given number of Chromosomes from the pool that will move on to the next generation population.
select(int, Population, Population) - Method in class org.jgap.impl.ThresholdSelector
Select a given number of Chromosomes from the pool that will move on to the next generation population.
select(int, Population, Population) - Method in class org.jgap.impl.TournamentSelector
Select a given number of Chromosomes from the pool that will move on to the next generation population.
select(int, Population, Population) - Method in class org.jgap.impl.WeightedRouletteSelector
Select a given number of Chromosomes from the pool that will move on to the next generation population.
setActiveConfiguration(Configuration) - Method in class org.jgap.Genotype
Sets the active Configuration object on this Genotype and its member Chromosomes.
setAllele(Object) - Method in interface org.jgap.Gene
Sets the value of this Gene to the new given value.
setAllele(Object) - Method in class org.jgap.impl.BooleanGene
Sets the value of this Gene to the new given value.
setAllele(Object) - Method in class org.jgap.impl.CompositeGene
Sets the value of the contained Genes to the new given value.
setAllele(Object) - Method in class org.jgap.impl.DoubleGene
See NumberGene.setAllele(Object)
setAllele(Object) - Method in class org.jgap.impl.FixedBinaryGene
 
setAllele(Object) - Method in class org.jgap.impl.NumberGene
Sets the value (allele) of this Gene to the new given value.
setAllele(Object) - Method in class org.jgap.impl.StringGene
Sets the value (allele) of this Gene to the new given value.
setAllele(Object) - Method in class org.jgap.supergenes.abstractSupergene
Sets the allele.
setAlphabet(String) - Method in class org.jgap.impl.StringGene
Sets the valid alphabet of the StringGene
setApplicationData(Object) - Method in class org.jgap.Chromosome
This sets the application-specific data that is attached to this Chromosome.
setAttribute(String, String) - Method in class org.jgap.data.DataElement
 
setAttribute(String, String) - Method in interface org.jgap.data.IDataElement
 
setBit(int, boolean) - Method in class org.jgap.impl.FixedBinaryGene
 
setBit(int, int) - Method in class org.jgap.impl.FixedBinaryGene
 
setBit(int, int, boolean) - Method in class org.jgap.impl.FixedBinaryGene
 
setBit(int, int, FixedBinaryGene) - Method in class org.jgap.impl.FixedBinaryGene
 
setBulkFitnessFunction(BulkFitnessFunction) - Method in class org.jgap.Configuration
Sets the bulk fitness function to be used for this genetic algorithm.
setChromosome(int, Chromosome) - Method in class org.jgap.Population
Sets in the given Chromosome on the given index in the list of chromosomes
setChromosomePool(ChromosomePool) - Method in class org.jgap.Configuration
Sets the ChromosomePool that is to be associated with this configuration.
setChromosomes(List) - Method in class org.jgap.Population
 
setConfiguration(Configuration) - Static method in class org.jgap.Genotype
 
setConstraintChecker(IGeneConstraintChecker) - Method in class org.jgap.impl.CompositeGene
Sets the constraint checker to be used for this gene whenever method setAllele(Object a_newValue) is called
setConstraintChecker(IGeneConstraintChecker) - Method in class org.jgap.impl.DoubleGene
Sets the constraint checker to be used for this gene whenever method setAllele(Object a_newValue) is called
setConstraintChecker(IGeneConstraintChecker) - Method in class org.jgap.impl.FixedBinaryGene
Sets the constraint checker to be used for this gene whenever method setAllele(Object a_newValue) is called
setConstraintChecker(IGeneConstraintChecker) - Method in class org.jgap.impl.NumberGene
Sets the constraint checker to be used for this gene whenever method setAllele(Object a_newValue) is called
setConstraintChecker(IGeneConstraintChecker) - Method in class org.jgap.impl.StringGene
Sets the constraint checker to be used for this gene whenever method setAllele(Object a_newValue) is called
setDoubletteChromosomesAllowed(boolean) - Method in class org.jgap.impl.BestChromosomesSelector
Determines whether doublette chromosomes may be added to the selector or will be ignored.
setDoubletteChromosomesAllowed(boolean) - Method in class org.jgap.impl.WeightedRouletteSelector
Determines whether doublette chromosomes may be added to the selector or will be ignored.
setEventManager(EventManager) - Method in class org.jgap.Configuration
Sets the EventManager that is to be associated with this configuration.
setFitnessEvaluator(FitnessEvaluator) - Method in class org.jgap.Configuration
Set the fitness evaluator (deciding if a given fitness value is better when it's higher or better when it's lower).
setFitnessFunction(FitnessFunction) - Method in class org.jgap.Configuration
Sets the fitness function to be used for this genetic algorithm.
setFitnessValue(int) - Method in class org.jgap.Chromosome
Sets the fitness value of this Chromosome.
setFromPersistent(String) - Method in class org.jgap.supergenes.Validator
Set a persistend string representation (if needed) for this validator. The name is different allowing the same class to implement both Supergene and supergeneValidator. The default implementation does nothing.
setFromPersistent(String) - Method in class org.jgap.supergenes.abstractSupergene
Set a persistend string representation (if needed) for this validator. The name is different allowing the same class to implement both Supergene and supergeneValidator. The default implementation does nothing.
setFromPersistent(String) - Method in interface org.jgap.supergenes.supergeneValidator
Set a persistend string representation (if needed) for this validator.
setGaussianMean(double) - Method in class org.jgap.impl.GaussianRandomGenerator
 
setGaussianStdDeviation(double) - Method in class org.jgap.impl.GaussianRandomGenerator
 
setGenes(Gene[]) - Method in class org.jgap.Chromosome
 
setIsSelectedForNextGeneration(boolean) - Method in class org.jgap.Chromosome
Sets whether this Chromosome has been selected by the natural selector to continue to the next generation or manually (e.g. via an add-method).
setMaxLength(int) - Method in class org.jgap.impl.StringGene
 
setMinLength(int) - Method in class org.jgap.impl.StringGene
 
setMinimumPopSizePercent(int) - Method in class org.jgap.Configuration
 
setMutationRateCalc(IUniversalRateCalculator) - Method in class org.jgap.impl.MutationOperator
Sets the MutationRateCalculator to be used for determining the strengt of mutation
setNaturalSelector(NaturalSelector) - Method in class org.jgap.Configuration
Deprecated. use addNaturalSelector(false) instead
setOriginalRate(double) - Method in class org.jgap.impl.BestChromosomesSelector
 
setPopulationSize(int) - Method in class org.jgap.Configuration
Sets the population size to be used for this genetic algorithm.
setPopulations(List) - Method in class org.jgap.eval.PopulationHistory
Sets the list of populations to the list provided
setRandomGenerator(RandomGenerator) - Method in class org.jgap.Configuration
Sets the random generator to be used for this genetic algorithm.
setSampleChromosome(Chromosome) - Method in class org.jgap.Configuration
Sets the sample Chromosome that is to be used as a guide for the construction of other Chromosomes.
setStartOffset(int) - Method in class org.jgap.impl.GreedyCrossover
Sets a number of genes at the start of chromosome, that are excluded from the swapping.
setStartOffset(int) - Method in class org.jgap.impl.SwappingMutationOperator
Sets a number of genes at the start of chromosome, that are excluded from the swapping.
setToRandomValue(RandomGenerator) - Method in interface org.jgap.Gene
Sets the value of this Gene to a random legal value for the implementation.
setToRandomValue(RandomGenerator) - Method in class org.jgap.impl.BooleanGene
Sets the value (allele) of this Gene to a random legal value.
setToRandomValue(RandomGenerator) - Method in class org.jgap.impl.CompositeGene
See interface Gene for description
setToRandomValue(RandomGenerator) - Method in class org.jgap.impl.DoubleGene
Sets the value (allele) of this Gene to a random Double value between the lower and upper bounds (if any) of this Gene.
setToRandomValue(RandomGenerator) - Method in class org.jgap.impl.FixedBinaryGene
 
setToRandomValue(RandomGenerator) - Method in class org.jgap.impl.IntegerGene
Sets the value (allele) of this Gene to a random Integer value between the lower and upper bounds (if any) of this Gene.
setToRandomValue(RandomGenerator) - Method in class org.jgap.impl.StringGene
Sets the value (allele) of this Gene to a random String according to the valid alphabet and boundaries of length
setToRandomValue(RandomGenerator) - Method in class org.jgap.supergenes.abstractSupergene
Sets the value of this Gene to a random legal value for the implementation.
setTree(IDataElementList) - Method in class org.jgap.data.DataElementsDocument
 
setTree(IDataElementList) - Method in interface org.jgap.data.IDataCreators
 
setUnchecked(int, boolean) - Method in class org.jgap.impl.FixedBinaryGene
 
setValidator(supergeneValidator) - Method in interface org.jgap.supergenes.Supergene
Sets an object, responsible for deciding if the Supergene allele combination is valid.
setValidator(supergeneValidator) - Method in class org.jgap.supergenes.abstractSupergene
Sets an object, responsible for deciding if the Supergene allele combination is valid.
setValueFromPersistentRepresentation(String) - Method in interface org.jgap.Gene
Sets the value and internal state of this Gene from the string representation returned by a previous invocation of the getPersistentRepresentation() method.
setValueFromPersistentRepresentation(String) - Method in class org.jgap.impl.BooleanGene
Sets the value and internal state of this Gene from the string representation returned by a previous invocation of the getPersistentRepresentation() method.
setValueFromPersistentRepresentation(String) - Method in class org.jgap.impl.CompositeGene
See interface Gene for description
setValueFromPersistentRepresentation(String) - Method in class org.jgap.impl.DoubleGene
Sets the value and internal state of this Gene from the string representation returned by a previous invocation of the getPersistentRepresentation() method.
setValueFromPersistentRepresentation(String) - Method in class org.jgap.impl.FixedBinaryGene
Sets the value and internal state of this Gene from the string representation returned by a previous invocation of the getPersistentRepresentation() method.
setValueFromPersistentRepresentation(String) - Method in class org.jgap.impl.IntegerGene
Sets the value and internal state of this Gene from the string representation returned by a previous invocation of the getPersistentRepresentation() method.
setValueFromPersistentRepresentation(String) - Method in class org.jgap.impl.StringGene
Sets the value and internal state of this Gene from the string representation returned by a previous invocation of the getPersistentRepresentation() method.
setValueFromPersistentRepresentation(String) - Method in class org.jgap.supergenes.abstractSupergene
Sets the value and internal state of this Gene from the string representation returned by a previous invocation of the getPersistentRepresentation() method.
size() - Method in class org.jgap.Chromosome
Returns the size of this Chromosome (the number of genes it contains).
size() - Method in interface org.jgap.Gene
 
size() - Method in class org.jgap.Population
 
size() - Method in class org.jgap.eval.PopulationHistory
 
size() - Method in class org.jgap.impl.BooleanGene
 
size() - Method in class org.jgap.impl.ChainOfSelectors
 
size() - Method in class org.jgap.impl.CompositeGene
 
size() - Method in class org.jgap.impl.FixedBinaryGene
 
size() - Method in class org.jgap.impl.NumberGene
 
size() - Method in class org.jgap.impl.Pool
Retrieves the number of objects currently available in this pool.
size() - Method in class org.jgap.impl.StringGene
 
size() - Method in class org.jgap.supergenes.abstractSupergene
Returns the number of the genes-components of this supergene.
start() - Method in class org.jgap.distr.Breeder
 
stop() - Method in class org.jgap.distr.Breeder
 
stringValue() - Method in class org.jgap.impl.StringGene
Retrieves the String value of this Gene, which may be more convenient in some cases than the more general getAllele() method.
substring(int, int) - Method in class org.jgap.impl.FixedBinaryGene
 
supergeneValidator - interface org.jgap.supergenes.supergeneValidator.
A class, deciding, if the supergene allele combination is valid.

T

ThresholdSelector - class org.jgap.impl.ThresholdSelector.
Implementation of a NaturalSelector that plays tournaments to determine the chromosomes to be taken to the next generation.
ThresholdSelector(double) - Constructor for class org.jgap.impl.ThresholdSelector
Standard constructor
TournamentSelector - class org.jgap.impl.TournamentSelector.
Implementation of a NaturalSelector that plays tournaments to determine the chromosomes to be taken to the next generation.
TournamentSelector(int, double) - Constructor for class org.jgap.impl.TournamentSelector
 
toBePermutated() - Method in interface org.jgap.IUniversalRateCalculator
Calculates whether a mutation should be carried out.
toBePermutated() - Method in class org.jgap.impl.DefaultCrossoverRateCalculator
Determines whether crossover is to be carried out for a given population.
toBePermutated() - Method in class org.jgap.impl.DefaultMutationRateCalculator
Determines whether mutation is to be carried out.
toChromosomes() - Method in class org.jgap.Population
 
toString() - Method in class org.jgap.Chromosome
Returns a string representation of this Chromosome, useful for some display purposes.
toString() - Method in interface org.jgap.Gene
 
toString() - Method in class org.jgap.Genotype
Return a string representation of this Genotype instance, useful for display purposes.
toString() - Method in class org.jgap.impl.BooleanGene
Retrieves a string representation of this BooleanGene's value that may be useful for display purposes.
toString() - Method in class org.jgap.impl.CompositeGene
Retrieves a string representation of this CompositeGene's value that may be useful for display purposes.
toString() - Method in class org.jgap.impl.FixedBinaryGene
 
toString() - Method in class org.jgap.impl.NumberGene
Retrieves a string representation of this IntegerGene's value that may be useful for display purposes.
toString() - Method in class org.jgap.impl.StringGene
Retrieves a string representation of this StringGene's value that may be useful for display purposes.
toString() - Method in class org.jgap.supergenes.abstractSupergene
 

U

UnsupportedRepresentationException - exception org.jgap.UnsupportedRepresentationException.
This exception is typically thrown when the setValueFromPersistentRepresentation() method of a Gene class is unable to process the string representation it has been given, either because that representation is not supported by that Gene implementation or because the representation is corrupt.
UnsupportedRepresentationException(String) - Constructor for class org.jgap.UnsupportedRepresentationException
Constructs a new UnsupportedRepresentationException instance with the given error message.

V

Validator - class org.jgap.supergenes.Validator.
The abstract supergeneValidator, hiding the getPersisten() and setFromPersistent() methods that are not always required.
Validator() - Constructor for class org.jgap.supergenes.Validator
 
verify(Gene, Object) - Method in interface org.jgap.IGeneConstraintChecker
Check if a given allele value is valid for the given gene instance.
verifyStateIsValid() - Method in class org.jgap.Configuration
Tests the state of this Configuration object to make sure it's valid.

W

WeightedRouletteSelector - class org.jgap.impl.WeightedRouletteSelector.
A basic implementation of NaturalSelector that models a roulette wheel.
WeightedRouletteSelector() - Constructor for class org.jgap.impl.WeightedRouletteSelector
 
writeFile(Document, File) - Static method in class org.jgap.xml.XMLManager
Writes an XML file from a Document object

X

XMLDocumentBuilder - class org.jgap.xml.XMLDocumentBuilder.
Class building an XML file.
XMLDocumentBuilder() - Constructor for class org.jgap.xml.XMLDocumentBuilder
 
XMLManager - class org.jgap.xml.XMLManager.
The XMLManager performs marshalling of genetic entity instances (such as Chromosomes and Genotypes) to XML representations of those entities, as well as unmarshalling.

A B C D E F G H I L M N O P R S T U V W X