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

A

AbstractChangeFitnessFunction - Class in examples.supergene
Sample fitness function for the MakeChange example, including supergenes.
AbstractChangeFitnessFunction(int) - Constructor for class examples.supergene.AbstractChangeFitnessFunction
 
AbstractSupergene - Class in org.jgap.supergenes
Combined implementation of both Supergene and SupergeneValidator.
AbstractSupergene() - Constructor for class org.jgap.supergenes.AbstractSupergene
Default constructor for dynamic instantiation.
AbstractSupergene(Configuration) - Constructor for class org.jgap.supergenes.AbstractSupergene
Constructor for dynamic instantiation.
AbstractSupergene(Configuration, Gene[]) - Constructor for class org.jgap.supergenes.AbstractSupergene
Constructs abstract supergene with the given gene list.
AbstractSupergeneTest - Class in examples.supergene
Abstract class for testing Supergene performance.
AbstractSupergeneTest() - Constructor for class examples.supergene.AbstractSupergeneTest
 
accept(File, String) - Method in class org.jgap.util.PluginDiscoverer.ClassFilter
 
accept(File, String) - Method in class org.jgap.util.PluginDiscoverer.DirectoryFilter
 
acquireChromosome() - Method in interface org.jgap.IChromosomePool
Attempts to acquire an Chromosome instance from the chromosome pool.
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.
actionPerformed(ActionEvent) - Method in class org.jgap.gui.ConfigFrame.ListButtonListener
 
add(IDataElement) - Method in class org.jgap.data.DataElementList
 
add(IDataElement) - Method in interface org.jgap.data.IDataElementList
 
Add - Class in org.jgap.gp.function
The add operation.
Add(GPConfiguration, Class) - Constructor for class org.jgap.gp.function.Add
 
add(IChromosome) - Method in class org.jgap.impl.BestChromosomesSelector
Add a Chromosome instance to this selector's working pool of Chromosomes.
add(IChromosome) - Method in class org.jgap.impl.ThresholdSelector
 
add(IChromosome) - Method in class org.jgap.impl.TournamentSelector
 
add(IChromosome) - Method in class org.jgap.impl.WeightedRouletteSelector
Add a Chromosome instance to this selector's working pool of Chromosomes.
add(IChromosome) - Method in class org.jgap.NaturalSelector
Add a Chromosome instance to this selector's working pool of Chromosomes.
Add.Compatible - Interface in org.jgap.gp.function
 
Add3 - Class in org.jgap.gp.function
The add operation with three parameters (X + Y + Z).
Add3(GPConfiguration, Class) - Constructor for class org.jgap.gp.function.Add3
 
Add3.Compatible - Interface in org.jgap.gp.function
 
addAll(Collection) - Method in class org.jgap.impl.ChainOfSelectors
 
addAllele(Object, Object) - Method in class org.jgap.impl.MapGene
Adds a potential allele value to the collection.
addAllele(Object) - Method in class org.jgap.impl.MapGene
Adds a potential allele value to the collection.
addAllele(int) - Method in class org.jgap.impl.MapGene
Convenience method for addAllele (Object's that are Integer's)
addAllele(Object) - Method in class org.jgap.impl.SetGene
Adds a potential allele value to the collection.
addAlleles(Map) - Method in class org.jgap.impl.MapGene
Add a set of potential allele values to the collection
addAlleles(Collection) - Method in class org.jgap.impl.SetGene
Add a set of potential allele values to the collection
AddAndStore - Class in org.jgap.gp.function
The add operation that stores the result in internal memory afterwards.
AddAndStore(GPConfiguration, Class, String) - Constructor for class org.jgap.gp.function.AddAndStore
 
addChromosome(IChromosome) - 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.
addClasses(Vector, File, String) - Static method in class org.jgap.util.ClassKit
 
addClassesFile(Vector, File, String) - Static method in class org.jgap.util.ClassKit
 
addClassesJar(Vector, File) - Static method in class org.jgap.util.ClassKit
 
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.
addEventListener(String, GeneticEventListener) - Method in interface org.jgap.event.IEventManager
Adds a new listener that will be notified when the event represented by the given name is fired.
addFitnessFunctionSlot(FitnessFunction) - Method in class org.jgap.audit.PermutingConfiguration
 
addGene(Gene) - Method in interface org.jgap.ICompositeGene
Adds a gene to the composed Gene
addGene(Gene) - Method in class org.jgap.impl.CompositeGene
Adds a gene to the 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.audit.PermutingConfiguration
 
addGeneticOperator(GeneticOperator) - Method in class org.jgap.Configuration
Adds a genetic operator for use in this algorithm.
addGeneticOperator(GeneticOperator) - Method in class org.jgap.gp.impl.GPConfiguration
 
addGeneticOperatorSlot(GeneticOperator) - Method in class org.jgap.audit.PermutingConfiguration
 
addListData(String, List) - Method in class org.jgap.data.config.ConfigData
 
addNaturalSelector(NaturalSelector, boolean) - Method in class org.jgap.audit.PermutingConfiguration
 
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
addNaturalSelectorSlot(NaturalSelector) - Method in class org.jgap.audit.PermutingConfiguration
 
addPopulation(Population) - Method in class org.jgap.eval.PopulationHistory
Adds a population to the history.
addRandomGeneratorSlot(RandomGenerator) - Method in class org.jgap.audit.PermutingConfiguration
 
addRunNumber(int, int) - Method in class org.jgap.audit.Evaluator
 
addTextData(String, String) - Method in class org.jgap.data.config.ConfigData
 
addValue(String) - Method in class org.jgap.data.config.ConfigProperty
Add a value into the values ArrayList.
ADF - Class in org.jgap.gp.function
Automatically Defined Function (ADF).
ADF(GPConfiguration, int) - Constructor for class org.jgap.gp.function.ADF
Constructor.
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
 
amountOfChange(IChromosome) - Static method in class examples.audit.CoinsExampleFitnessFunction
Calculates the total amount of change (in cents) represented by the given potential solution and returns that amount.
amountOfChange(IChromosome) - Static method in class examples.dynamicMutation.DynamicMutationFitnessFunction
Calculates the total amount of change (in cents) represented by the given potential solution and returns that amount.
amountOfChange(IChromosome) - Static method in class examples.energy.CoinsEnergyFitnessFunction
Calculates the total amount of change (in cents) represented by the given potential solution and returns that amount.
amountOfChange(IChromosome) - Static method in class examples.MinimizingMakeChangeFitnessFunction
Calculates the total amount of change (in cents) represented by the given potential solution and returns that amount.
amountOfChange(IChromosome) - Method in class examples.supergene.AbstractChangeFitnessFunction
Calculates the total amount of change (in cents) represented by the given potential solution and returns that amount.
amountOfChange(int, int, int, int) - Static method in class examples.supergene.AbstractSupergeneTest
Compute the money value from the coin information.
And - Class in org.jgap.gp.function
The boolean and operation.
And(GPConfiguration) - Constructor for class org.jgap.gp.function.And
 
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
 
applyGeneticOperator(GeneticOperator, Population, List) - Method in class org.jgap.Genotype
Overwritable method that calls a GeneticOperator to operate on a given population and asks him to store the result in the list of chromosomes.
applyGeneticOperators() - Method in class org.jgap.Genotype
Applies all GeneticOperators registered with the Configuration.
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.gp.function.Add
 
applyMutation(int, double) - Method in class org.jgap.gp.function.And
 
applyMutation(int, double) - Method in class org.jgap.gp.function.Divide
 
applyMutation(int, double) - Method in class org.jgap.gp.function.Multiply
 
applyMutation(int, double) - Method in class org.jgap.gp.function.Or
 
applyMutation(int, double) - Method in class org.jgap.gp.function.Subtract
 
applyMutation(int, double) - Method in class org.jgap.gp.function.Xor
 
applyMutation(int, double) - Method in interface org.jgap.gp.IMutateable
Mutates a CommandGene
applyMutation(int, double) - Method in class org.jgap.gp.terminal.False
 
applyMutation(int, double) - Method in class org.jgap.gp.terminal.Terminal
 
applyMutation(int, double) - Method in class org.jgap.gp.terminal.True
 
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.MapGene
See interface Gene for description of applyMutation.
applyMutation(int, double) - Method in class org.jgap.impl.SetGene
See interface Gene for description of applyMutation.
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.
applyNaturalSelectors(boolean) - Method in class org.jgap.Genotype
Applies all NaturalSelectors registered with the Configuration.
Argument - Class in org.jgap.gp.terminal
An argument that will be used internally only by ADF's.
Argument(GPConfiguration, int, Class) - Constructor for class org.jgap.gp.terminal.Argument
 
AveragingCrossoverOperator - Class in org.jgap.impl
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(Configuration) - 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(Configuration, 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(Configuration, 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.
avgBestDeltaFitnessValue - Variable in class org.jgap.audit.Evaluator.GenotypeDataAvg
 
avgDiversityFitnessValue - Variable in class org.jgap.audit.Evaluator.GenotypeDataAvg
 
avgFitnessValue - Variable in class org.jgap.audit.Evaluator.GenotypeDataAvg
 

B

BaseChromosome - Class in org.jgap
Base class for any implementation of interface IChromosome.
BaseChromosome(Configuration) - Constructor for class org.jgap.BaseChromosome
The only constructor in this class.
BaseGene - Class in org.jgap
Abstract base class for all genes.
BaseGene(Configuration) - Constructor for class org.jgap.BaseGene
 
BaseGeneticOperator - Class in org.jgap
Base class for any implementation of interface GeneticOperator.
BaseGeneticOperator(Configuration) - Constructor for class org.jgap.BaseGeneticOperator
The only constructor in this class.
BaseGPChromosome - Class in org.jgap.gp
Abstract base class for all implementations of IGPChromosome.
BaseGPChromosome(GPConfiguration) - Constructor for class org.jgap.gp.BaseGPChromosome
 
BaseGPChromosome(GPConfiguration, IGPProgram) - Constructor for class org.jgap.gp.BaseGPChromosome
 
BaseRateCalculator - Class in org.jgap
Base class for rate calculators.
BaseRateCalculator(Configuration) - Constructor for class org.jgap.BaseRateCalculator
 
beginWork() - Method in class examples.grid.JGAPClient.RenderingFeedback
 
beginWork() - Method in interface examples.grid.MyClientFeedback
 
beginWorkingFor(String, WorkRequest) - Method in class examples.grid.MyWorkerFeedback
 
BestChromosomesSelector - Class in org.jgap.impl
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
Default constructor.
BestChromosomesSelector(Configuration) - Constructor for class org.jgap.impl.BestChromosomesSelector
Using original rate of 1.0
BestChromosomesSelector(Configuration, double) - Constructor for class org.jgap.impl.BestChromosomesSelector
 
bestFitnessValue - Variable in class org.jgap.audit.Evaluator.GenotypeDataAvg
 
bestFitnessValueGeneration - Variable in class org.jgap.audit.Evaluator.GenotypeDataAvg
 
BooleanClass - Static variable in class org.jgap.gp.CommandGene
 
BooleanGene - Class in org.jgap.impl
A Gene implementation that supports two possible values (alleles) for each gene: true and false.
BooleanGene() - Constructor for class org.jgap.impl.BooleanGene
Default constructor.
BooleanGene(Configuration) - Constructor for class org.jgap.impl.BooleanGene
 
BooleanGene(Configuration, boolean) - Constructor for class org.jgap.impl.BooleanGene
 
BooleanGene(Configuration, Boolean) - Constructor for class org.jgap.impl.BooleanGene
 
booleanValue() - Method in class org.jgap.impl.BooleanGene
Retrieves the boolean value of this Gene.
BranchTypingCross - Class in org.jgap.gp.impl
Crossing over for GP ProgramChromosomes.
BranchTypingCross(GPConfiguration) - Constructor for class org.jgap.gp.impl.BranchTypingCross
 
Breeder - Class in org.jgap.distr
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
 
buildDocument(IDataCreators, Object) - Method in class org.jgap.data.DocumentBuilderBase
Builds a document from the given input (input data + existing document).
buildDocument(IDataCreators) - Method in class org.jgap.xml.XMLDocumentBuilder
Convenience method to build an XML document from a generic input structure (of type IDataCreators)
BulkFitnessFunction - Class in org.jgap
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
 
BulkFitnessOffsetRemover - Class in org.jgap.impl
Takes away the fitness offset of the population to evolve.
BulkFitnessOffsetRemover(FitnessFunction) - Constructor for class org.jgap.impl.BulkFitnessOffsetRemover
 

C

calcAvgFitness(int) - Method in class org.jgap.audit.Evaluator
Calculates the average fitness value curve for a given permutation.
calcAvgFitnessHelper(int, KeyedValues2D) - Method in class org.jgap.audit.Evaluator
 
calcAvgFitnessImpr(int) - Method in class org.jgap.audit.Evaluator
Calculates average fitness value improvement per generation.
calcFitness() - Method in class org.jgap.gp.impl.GPGenotype
Calculates the fitness value of all programs, of the best solution as well as the total fitness (sum of all fitness values).
calcFitness(Map) - Method in class org.jgap.impl.fitness.TruthTableFitnessFunction
Fitness value calculation for a given table of input/output tupels and a truth-table (also given as list of input/output tupels)
calcFitnessValue() - Method in class org.jgap.Chromosome
 
calcFitnessValue() - Method in class org.jgap.gp.GPProgramBase
 
calcPerformance(int) - Method in class org.jgap.audit.Evaluator
Calculates performance metrics for a given permutation and run stored before with storeGenotype, like: average fitness, maximum fitness...
calculateCurrentRate() - Method in class examples.dynamicMutation.DynamicMutationExample.CoinsMutationRateCalc
 
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.
calculateCurrentRate() - Method in interface org.jgap.IUniversalRateCalculator
Calculates the required dynamic rate.
canBeStarted() - Method in class org.jgap.distr.Breeder
 
canBeStopped() - Method in class org.jgap.distr.Breeder
 
CauchyRandomGenerator - Class in org.jgap.impl
Cauchy probability density function (cumulative distribution function).
CauchyRandomGenerator() - Constructor for class org.jgap.impl.CauchyRandomGenerator
Defaults to location = 0.0 and scale = 1.0.
CauchyRandomGenerator(double, double) - Constructor for class org.jgap.impl.CauchyRandomGenerator
 
ChainOfSelectors - Class in org.jgap.impl
Ordered chain of NaturalSelectors.
ChainOfSelectors() - Constructor for class org.jgap.impl.ChainOfSelectors
 
changeDifferenceBonus(double, int) - Method in class examples.dynamicMutation.DynamicMutationFitnessFunction
Bonus calculation of fitness value.
changeDifferenceBonus(double, int) - Method in class examples.energy.CoinsEnergyFitnessFunction
Bonus calculation of fitness value.
changeDifferenceBonus(double, int) - Method in class examples.MinimizingMakeChangeFitnessFunction
Bonus calculation of fitness value.
check(ProgramChromosome) - Method in class org.jgap.gp.CommandGene
 
check(ProgramChromosome, int) - Method in class org.jgap.gp.CommandGene
 
checkGenes(Gene[]) - Method in class org.jgap.Chromosome
Helper: called by constructors only to verify the initial genes.
checkIndex(int) - Method in class org.jgap.impl.FixedBinaryGene
 
checkProperty(String, Object, String) - Method in class org.jgap.Configuration
Verifies that a property is not set.
checkSubLength(int, int) - Method in class org.jgap.impl.FixedBinaryGene
 
children() - Method in class org.jgap.gp.impl.JGAPTreeNode
 
Chromosome - Class in org.jgap
Chromosomes represent potential solutions and consist of a fixed-length collection of genes.
Chromosome() - Constructor for class org.jgap.Chromosome
Default constructor, provided for dynamic instantiation.
Chromosome(Configuration) - Constructor for class org.jgap.Chromosome
Default constructor, provided for dynamic instantiation.
Chromosome(Configuration, int) - Constructor for class org.jgap.Chromosome
Constructor for specifying the number of genes.
Chromosome(Configuration, Gene, int) - Constructor for class org.jgap.Chromosome
Constructs a Chromosome of the given size separate from any specific Configuration.
Chromosome(Configuration, Gene, int, IGeneConstraintChecker) - Constructor for class org.jgap.Chromosome
 
Chromosome(Configuration, Gene[]) - Constructor for class org.jgap.Chromosome
Constructs a Chromosome separate from any specific Configuration.
Chromosome(Configuration, Gene[], IGeneConstraintChecker) - Constructor for class org.jgap.Chromosome
Constructs a Chromosome separate from any specific Configuration.
chromosomeData - Variable in class org.jgap.audit.Evaluator.GenotypeData
 
ChromosomeFitnessComparator - Class in org.jgap.util
Simple comparator to allow the sorting of Chromosome lists with the highest fitness value in first place of the list.
ChromosomeFitnessComparator() - Constructor for class org.jgap.util.ChromosomeFitnessComparator
Constructs the comparator using the DefaultFitnessEvaluator
ChromosomeFitnessComparator(FitnessEvaluator) - Constructor for class org.jgap.util.ChromosomeFitnessComparator
 
ChromosomeInit - Class in examples.chromInit
Simple test class that demonstrates how to initialize chromosomes with different numbers of Genes.
ChromosomeInit() - Constructor for class examples.chromInit.ChromosomeInit
 
ChromosomePool - Class in org.jgap.impl
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.
CITIES - Static variable in class examples.salesman.TravellingSalesman
The number of cities to visit
ClassKit - Class in org.jgap.util
 
ClassKit() - Constructor for class org.jgap.util.ClassKit
 
cleanup() - Method in class org.jgap.BaseGene
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.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.gp.CommandGene
 
cleanup() - Method in interface org.jgap.gp.IGPChromosome
Clean up the chromosome.
cleanup() - Method in class org.jgap.gp.impl.ProgramChromosome
Clean up the chromosome.
cleanup() - Method in interface org.jgap.IChromosome
Invoked when this Chromosome is no longer needed and should perform any necessary 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.supergenes.AbstractSupergene
Calls cleanup() for each subgene.
clear() - Method in class org.jgap.distr.Culture
Clears the memory.
clear() - Method in class org.jgap.impl.ChainOfSelectors
 
clear() - Method in class org.jgap.impl.Pool
Empties out this pool of all objects.
clearMemory() - Method in class org.jgap.gp.impl.GPConfiguration
Clears the memory.
clearStack() - Method in class org.jgap.gp.impl.GPConfiguration
 
clone() - Method in class org.jgap.audit.KeyedValue
 
clone() - Method in class org.jgap.audit.KeyedValues
 
clone() - Method in class org.jgap.audit.KeyedValues2D
 
clone() - Method in class org.jgap.BaseChromosome
Creates and returns a copy of this object.
clone() - Method in class org.jgap.Chromosome
Returns a copy of this Chromosome.
clone() - Method in class org.jgap.gp.impl.ProgramChromosome
 
clone() - Method in interface org.jgap.IApplicationData
 
clone() - Method in interface org.jgap.IChromosome
Creates and returns a copy of this object.
clone() - Method in class org.jgap.impl.FixedBinaryGene
 
cloneObject(Object) - Method in class org.jgap.Chromosome
Clones an object by using clone handlers.
CoinsEnergy - Class in examples.energy
THIS EXAMPLE IS NOT IMPLEMENTED FULLY!
CoinsEnergy() - Constructor for class examples.energy.CoinsEnergy
 
CoinsEnergy.EnergyGeneConstraintChecker - Class in examples.energy
Uses to set the energy when a new allele is set
CoinsEnergy.EnergyGeneConstraintChecker() - Constructor for class examples.energy.CoinsEnergy.EnergyGeneConstraintChecker
 
CoinsEnergyFitnessFunction - Class in examples.energy
Sample fitness function for the CoinsEnergy example.
CoinsEnergyFitnessFunction(int, double) - Constructor for class examples.energy.CoinsEnergyFitnessFunction
 
CoinsExample - Class in examples.audit
Same logic as in MinimizingMakeChange except that we are using the new audit capabilities provided by JGAP 2.2
CoinsExample() - Constructor for class examples.audit.CoinsExample
 
CoinsExampleFitnessFunction - Class in examples.audit
Sample fitness function for the coins example.
CoinsExampleFitnessFunction(int) - Constructor for class examples.audit.CoinsExampleFitnessFunction
 
coinWeights - Static variable in class examples.energy.CoinsEnergy.EnergyGeneConstraintChecker
 
CommandFactory - Class in org.jgap.gp.impl
Easily creates single and batched consistent command objects.
CommandFactory() - Constructor for class org.jgap.gp.impl.CommandFactory
 
CommandGene - Class in org.jgap.gp
Abstract base class for all GP commands.
CommandGene(GPConfiguration, int, Class) - Constructor for class org.jgap.gp.CommandGene
 
CommandResult - Class in org.jgap.util
Container for holding result information after executing an operation
CommandResult() - Constructor for class org.jgap.util.CommandResult
 
compare(Object, Object) - Method in class examples.multiobjective.MultiObjectiveExample.MOFitnessComparator
 
compare(Object, Object) - Method in class org.jgap.gp.impl.GPProgramFitnessComparator
Compares two programs by using a FitnessEvaluator.
compare(Object, Object) - Method in class org.jgap.NaturalSelector.FitnessValueComparator
 
compare(Object, Object) - Method in class org.jgap.util.ChromosomeFitnessComparator
Compares two chromosomes by using a FitnessEvaluator.
compareApplicationData(Object, Object) - Method in class org.jgap.BaseGene
 
compareTo(Object) - Method in class org.jgap.Chromosome
Compares the given Chromosome to this Chromosome.
compareTo(Object) - Method in class org.jgap.distr.Culture
The compareTo-method.
compareTo(Object) - Method in class org.jgap.distr.CultureMemoryCell
The compareTo-method.
compareTo(Object) - Method in class org.jgap.gp.CommandGene
 
compareTo(Object) - Method in class org.jgap.gp.function.AddAndStore
The compareTo-method.
compareTo(Object) - Method in class org.jgap.gp.function.ADF
The compareTo-method.
compareTo(Object) - Method in class org.jgap.gp.function.ForLoop
The compareTo-method.
compareTo(Object) - Method in class org.jgap.gp.function.ForXLoop
The compareTo-method.
compareTo(Object) - Method in class org.jgap.gp.function.Increment
The compareTo-method.
compareTo(Object) - Method in class org.jgap.gp.function.Loop
The compareTo-method.
compareTo(Object) - Method in class org.jgap.gp.function.Push
The compareTo-method.
compareTo(Object) - Method in class org.jgap.gp.function.ReadTerminal
The compareTo-method.
compareTo(Object) - Method in class org.jgap.gp.function.StoreTerminal
The compareTo-method.
compareTo(Object) - Method in class org.jgap.gp.function.SubProgram
The compareTo-method.
compareTo(Object) - Method in class org.jgap.gp.function.TransferMemory
The compareTo-method.
compareTo(Object) - Method in class org.jgap.gp.impl.BranchTypingCross
The compareTo-method.
compareTo(Object) - Method in class org.jgap.gp.impl.GPGenotype
Compares this Genotype against the specified object.
compareTo(Object) - Method in class org.jgap.gp.impl.GPPopulation
This method is not producing symmetric results as -1 is more often returned than 1 (see description of return value).
compareTo(Object) - Method in class org.jgap.gp.impl.GPProgram
Compares the given program to this program.
compareTo(Object) - Method in class org.jgap.gp.impl.ProgramChromosome
Compares the given chromosome to this chromosome.
compareTo(Object) - Method in class org.jgap.impl.AveragingCrossoverOperator
Compares the given GeneticOperator to this GeneticOperator.
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.CrossoverOperator
Compares the given GeneticOperator to this GeneticOperator.
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.GaussianMutationOperator
Compares the given GeneticOperator to this GeneticOperator.
compareTo(Object) - Method in class org.jgap.impl.GreedyCrossover
Compares the given GeneticOperator to this GeneticOperator.
compareTo(Object) - Method in class org.jgap.impl.InversionOperator
Compares the given GeneticOperator to this GeneticOperator.
compareTo(Object) - Method in class org.jgap.impl.MapGene
Compares this NumberGene with the specified object (which must also be a NumberGene) for order, which is determined by the number value of this Gene compared to the one provided for comparison.
compareTo(Object) - Method in class org.jgap.impl.MutationOperator
Compares the given GeneticOperator to this GeneticOperator.
compareTo(Object) - Method in class org.jgap.impl.NumberGene
Compares this NumberGene with the specified object (which must also be a NumberGene) for order, which is determined by the number value of this Gene compared to the one provided for comparison.
compareTo(Object) - Method in class org.jgap.impl.SetGene
Compares this NumberGene with the specified object (which must also be a NumberGene) for order, which is determined by the number 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.impl.TwoWayMutationOperator
Compares the given GeneticOperator to this GeneticOperator.
compareTo(Object) - Method in class org.jgap.Population
This method is not producing symmetric results as -1 is more often returned than 1 (see description of return value).
compareTo(Object) - Method in class org.jgap.supergenes.AbstractSupergene
Calls compareTo() for all subgenes.
compareToNative(Object, Object) - Method in class org.jgap.impl.DoubleGene
Compares to objects by first casting them into their expected type (e.g.
compareToNative(Object, Object) - Method in class org.jgap.impl.IntegerGene
Compares to objects by first casting them into their expected type (e.g.
compareToNative(Object, Object) - Method in class org.jgap.impl.NumberGene
Compares to objects by first casting them into their expected type (e.g.
completeFrame(int) - Method in class examples.grid.JGAPClient.RenderingFeedback
 
completeFrame(int) - Method in interface examples.grid.MyClientFeedback
 
CompositeGene - Class in org.jgap.impl
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
Default constructor.
CompositeGene(Configuration) - Constructor for class org.jgap.impl.CompositeGene
 
CompositeGene(Configuration, Gene) - Constructor for class org.jgap.impl.CompositeGene
Allows to specify which Gene implementation is allowed to be added to the CompositeGene.
computeCoinNumberBonus(int) - Method in class examples.audit.CoinsExampleFitnessFunction
 
computeCoinNumberPenalty(double, int) - Method in class examples.dynamicMutation.DynamicMutationFitnessFunction
Calculates the penalty to apply to the fitness value based on the ammount of coins in the solution
computeCoinNumberPenalty(double, int) - Method in class examples.energy.CoinsEnergyFitnessFunction
Calculates the penalty to apply to the fitness value based on the ammount of coins in the solution
computeCoinNumberPenalty(double, int) - Method in class examples.MinimizingMakeChangeFitnessFunction
Calculates the penalty to apply to the fitness value based on the ammount of coins in the solution
computeItemNumberPenalty(double, int) - Method in class examples.knapsack.KnapsackFitnessFunction
Calculates the penalty to apply to the fitness value based on the amount of items in the solution.
computeRawFitness(IGPProgram) - Method in class examples.gp.Fibonacci.FormulaFitnessFunction
 
computeRawFitness(IGPProgram) - Method in class examples.gp.Fibonacci.FormulaFitnessFunction
 
computeRawFitness(IGPProgram) - Method in class examples.gp.MathProblem.FormulaFitnessFunction
 
computeRawFitness(IGPProgram) - Method in class examples.gp.MathProblem.FormulaFitnessFunction
 
computeWeightPenalty(double, double) - Method in class examples.energy.CoinsEnergyFitnessFunction
 
ConfigData - Class in org.jgap.data.config
Class to encapsulate information given by the GUI to a ConfigWriter to persist.
ConfigData() - Constructor for class org.jgap.data.config.ConfigData
 
ConfigException - Exception in org.jgap.data.config
Exception throw when there is an error with configuring JGAP via the GUI.
ConfigException(String) - Constructor for exception org.jgap.data.config.ConfigException
Constructs a new ConfigException instance with the given error message.
ConfigFileReader - Class in org.jgap.data.config
This is a Singleton Helper class to read a JGAP config file and provide a simple interface to the config properties.
ConfigFrame - Class in org.jgap.gui
GUI for the JGAP Configurator.
ConfigFrame.ConfigListSelectionListener - Class in org.jgap.gui
Listener for changes in the list of items.
ConfigFrame.ConfigListSelectionListener(ConfigFrame, JList) - Constructor for class org.jgap.gui.ConfigFrame.ConfigListSelectionListener
 
ConfigFrame.ListButtonListener - Class in org.jgap.gui
Listener for list buttons to move items around.
ConfigFrame.ListGroup - Class in org.jgap.gui
This class groups the property data structure along with the JLists associated with it.
ConfigProperty - Class in org.jgap.data.config
Represents a property to be shown on the configuration screen.
ConfigProperty() - Constructor for class org.jgap.data.config.ConfigProperty
Default Constructor for a ConfigProperty.
Configurable - Interface in org.jgap.data.config
This interface must be implemented for any class to be Configurable.
Configuration - Class in org.jgap
The Configuration class represents the current configuration of plugins and parameters necessary to execute the genetic algorithm (such as fitness function, natural selector, genetic operators, and so on).
Configuration() - Constructor for class org.jgap.Configuration
 
Configuration(String, String) - Constructor for class org.jgap.Configuration
Initialize with default values.
Configuration(String) - Constructor for class org.jgap.Configuration
Constructs a configuration with an informative name but without a unique ID.
Configuration(String, boolean) - Constructor for class org.jgap.Configuration
Reads in the configuration from the given file.
ConfigurationHandler - Interface in org.jgap.data.config
The interface for the GUI to retrieve the information about what a Configurable looks like and how it must be rendered.
configureClass(String) - Static method in class org.jgap.data.config.RootConfigurationHandler
Retrieve all instances of a certain property from the config file reader and configure each of these.
ConfigWriter - Class in org.jgap.data.config
This class is a Singleton that generates a properties file from classes implementing IConfigInfo.
Constant - Class in org.jgap.gp.terminal
A constant remaining the same value all time.
Constant(GPConfiguration, Class, Object) - Constructor for class org.jgap.gp.terminal.Constant
 
containedInArray(IGPProgram[], IGPProgram) - Method in class org.jgap.gp.impl.GPPopulation
Checks if a program is contained within an array of programs.
contains(IChromosome) - Method in class org.jgap.Population
Determines whether the given chromosome is contained within the population.
containsGeneByIdentity(Gene) - Method in class org.jgap.impl.CompositeGene
Checks whether a specific gene is already contained.
Cosine - Class in org.jgap.gp.function
The cosine command.
Cosine(GPConfiguration, Class) - Constructor for class org.jgap.gp.function.Cosine
 
Cosine.Compatible - Interface in org.jgap.gp.function
 
create() - Method in class examples.gp.Fibonacci
Sets up the functions to use and other parameters.
create() - Method in class examples.gp.Fibonacci
Sets up the functions to use and other parameters.
create() - Method in class examples.gp.MathProblem
 
create() - Method in class examples.gp.MathProblem
 
create() - Method in class org.jgap.gp.GPProblem
 
create(Class[], Class[][], CommandGene[][], int[], int[], int, boolean[]) - Method in class org.jgap.gp.impl.GPPopulation
Creates a population using the ramped half-and-half method.
create(Class[], Class[][], CommandGene[][], int[], int[], int, boolean, int, boolean[]) - Method in class org.jgap.gp.impl.GPPopulation
Creates a complete, valid ProgramChromosome.
create(GPConfiguration, String, Class) - Static method in class org.jgap.gp.terminal.Variable
Creates an instance of a Variable.
createAndShowGUI(Object) - Method in class org.jgap.gui.ConfigFrame
Does the initial setup of the JFrame and shows it.
createConfiguration(Object) - Method in class org.jgap.impl.salesman.Salesman
Create a configuration.
createElement(Object, Object, String) - Method in class org.jgap.data.DocumentBuilderBase
Creates an element with help for a given document.
createElement(Object, Object, String) - Method in class org.jgap.xml.XMLDocumentBuilder
 
createFitnessFunction(Object) - Method in class org.jgap.impl.salesman.Salesman
Return the fitness function to use.
createGene(String, String) - Method in class org.jgap.impl.CompositeGene
Creates a new instance of gene.
createGene(String, String) - Method in class org.jgap.supergenes.AbstractSupergene
Creates a new instance of gene.
createKey(int, int) - Method in class org.jgap.audit.Evaluator
 
createRandomGenerator() - Method in interface org.jgap.IJGAPFactory
 
createRandomGenerator() - Method in class org.jgap.impl.JGAPFactory
 
createReadOnlyCommands(CommandGene[], GPConfiguration, Class, String, int, int, boolean) - Static method in class org.jgap.gp.impl.CommandFactory
 
createSampleChromosome(Object) - Method in class examples.salesman.TravellingSalesman
Create an array of the given number of integer genes.
createSampleChromosome(Object) - Method in class org.jgap.impl.salesman.Salesman
Override this method to create a single sample chromosome, representing al list of "cities".
createStackCommands(CommandGene[], GPConfiguration, Class) - Static method in class org.jgap.gp.impl.CommandFactory
 
createStoreCommands(CommandGene[], GPConfiguration, Class, String, int) - Static method in class org.jgap.gp.impl.CommandFactory
 
createTree() - Method in class org.jgap.data.DataTreeBuilder
 
createTree(IGPProgram) - Method in class org.jgap.gp.GPProblem
Creates a tree out of a given GP program.
createValidator(String) - Method in class org.jgap.supergenes.AbstractSupergene
Create validator from the string representation.
createWriteOnlyCommands(CommandGene[], GPConfiguration, Class, String, int, boolean) - Static method in class org.jgap.gp.impl.CommandFactory
 
CrossMethod - Class in org.jgap.gp
Abstract base class for GP-crossing over implementations.
CrossMethod(GPConfiguration) - Constructor for class org.jgap.gp.CrossMethod
 
CrossoverOperator - Class in org.jgap.impl
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(Configuration) - 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(Configuration, 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(Configuration, int) - Constructor for class org.jgap.impl.CrossoverOperator
Constructs a new instance of this CrossoverOperator with the given crossover rate.
Culture - Class in org.jgap.distr
Culture is a memory not being bound to a generation, but possibly persistent during the whole history of a genotype (over all generations).
Culture(int) - Constructor for class org.jgap.distr.Culture
Constructor.
CultureMemoryCell - Class in org.jgap.distr
Represents a memory cell used within Culture, a special form of memory.
CultureMemoryCell() - Constructor for class org.jgap.distr.CultureMemoryCell
Default constructor.
CultureMemoryCell(String) - Constructor for class org.jgap.distr.CultureMemoryCell
Sets history size to 3.
CultureMemoryCell(String, int) - Constructor for class org.jgap.distr.CultureMemoryCell
Allows to freely specify informative name of memory cell as well as size of history to keep.
CVS_REVISION - Static variable in interface examples.grid.MyClientFeedback
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.data.config.Configurable
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.data.config.ConfigurationHandler
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.data.config.IConfigInfo
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.distr.IWorker
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.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.gp.IGPChromosome
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.gp.IGPFitnessEvaluator
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.gp.IGPGeneticOperator
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.gp.IMutateable
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.gp.INaturalGPSelector
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.gp.INodeValidator
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.IChromosome
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.IChromosomePool
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.ICloneHandler
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.ICompareToHandler
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.ICompositeGene
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.IGeneticOperatorConstraint
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.IHandler
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.IInitializer
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.IJGAPFactory
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.IUniversalRateCalculator
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.supergenes.Supergene
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.supergenes.SupergeneValidator
String containing the CVS revision.
CVS_REVISION - Static variable in interface org.jgap.util.ICommand
String containing the CVS revision.

D

DataElement - Class in org.jgap.data
Element owning a tag name and holding attributes.
DataElement(String) - Constructor for class org.jgap.data.DataElement
 
DataElementList - Class in org.jgap.data
Implements the IDataElementList interface and represents a list of IDataElement elements.
DataElementList() - Constructor for class org.jgap.data.DataElementList
 
DataElementsDocument - Class in org.jgap.data
The IDataCreators interface represents an entity comparable to org.w3c.dom.Document
DataElementsDocument() - Constructor for class org.jgap.data.DataElementsDocument
 
DataTreeBuilder - Class in org.jgap.data
Builds a tree structure from Genes, Chrosomes or from a Genotype.
decode(String) - Static method in class org.jgap.supergenes.AbstractSupergene
Decode string, undoubling the separators.
DefaultCloneHandler - Class in org.jgap.impl
Default clone handler supporting IApplicationData as well as implementations of Cloneable (for the latter: in case the clone-method is accessible via reflection).
DefaultCloneHandler() - Constructor for class org.jgap.impl.DefaultCloneHandler
 
DefaultCompareToHandler - Class in org.jgap.impl
Default implementation for comparing Comparables.
DefaultCompareToHandler() - Constructor for class org.jgap.impl.DefaultCompareToHandler
 
DefaultConfiguration - Class in org.jgap.impl
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
 
DefaultConfiguration(String, String) - Constructor for class org.jgap.impl.DefaultConfiguration
Constructs a new DefaultConfiguration instance with a number of configuration settings set to default values.
DefaultCrossoverRateCalculator - Class in org.jgap.impl
Default implementation of a dynamic CrossoverRateCalculator.
DefaultCrossoverRateCalculator(Configuration) - Constructor for class org.jgap.impl.DefaultCrossoverRateCalculator
 
DefaultFitnessEvaluator - Class in org.jgap
A default implementation of a fitness evaluator.
DefaultFitnessEvaluator() - Constructor for class org.jgap.DefaultFitnessEvaluator
 
DefaultGPFitnessEvaluator - Class in org.jgap.gp.impl
A default implementation of a fitness evaluator.
DefaultGPFitnessEvaluator() - Constructor for class org.jgap.gp.impl.DefaultGPFitnessEvaluator
 
DefaultInitializer - Class in org.jgap.impl
Default implementation for initializing Chromosomes.
DefaultInitializer() - Constructor for class org.jgap.impl.DefaultInitializer
 
DefaultMutationRateCalculator - Class in org.jgap.impl
Default implementation of a mutation rate calculcator.
DefaultMutationRateCalculator(Configuration) - Constructor for class org.jgap.impl.DefaultMutationRateCalculator
 
DELTA - Static variable in class org.jgap.BaseGene
Delta, useful for comparing doubles and floats.
DELTA - Static variable in class org.jgap.gp.CommandGene
Delta, useful for comparing doubles and floats.
DeltaFitnessEvaluator - Class in org.jgap
An implementation of a fitness evaluator interpreting the fitness as delta value.
DeltaFitnessEvaluator() - Constructor for class org.jgap.DeltaFitnessEvaluator
 
determineFittestChromosome() - Method in class org.jgap.Population
Determines the fittest Chromosome in the population (the one with the highest fitness value) and memorizes it.
determineFittestChromosome(int, int) - Method in class org.jgap.Population
Determines the fittest Chromosome in the population (the one with the highest fitness value) within the given indices and memorizes it.
determineFittestChromosomes(int) - Method in class org.jgap.gp.impl.GPPopulation
Sorts the GPPrograms list and returns the fittest n GPPrograms in the population.
determineFittestChromosomes(int) - Method in class org.jgap.Population
Sorts the Chromosome list and returns the fittest n Chromosomes in the population.
determineFittestProgram() - Method in class org.jgap.gp.impl.GPPopulation
Determines the fittest GPProgram in the population (the one with the highest fitness value) and memorizes it.
DIMES - Static variable in class examples.supergene.AbstractSupergeneTest
Gene index for the dimes gene
dispatch(IWorker, WorkerCommand) - Method in class org.jgap.distr.RequestDispatcher
 
distance(Gene, Gene) - Method in class examples.salesman.TravellingSalesman
Distance is equal to the difference between city numbers, except the distance between the last and first cities that is equal to 1.
distance(Object, Object) - Method in class org.jgap.impl.GreedyCrossover
Compute the distance between "cities", indicated by these two given genes.
distance(Gene, Gene) - Method in class org.jgap.impl.salesman.Salesman
Override this method to compute the distance between "cities", indicated by these two given genes.
DistributedGenotype - Class in org.jgap.distr
Genotype that is running on one of many servers computing a population.
DistributedGenotype(Configuration, Population) - Constructor for class org.jgap.distr.DistributedGenotype
 
Divide - Class in org.jgap.gp.function
The divide operation.
Divide(GPConfiguration, Class) - Constructor for class org.jgap.gp.function.Divide
 
Divide.Compatible - Interface in org.jgap.gp.function
 
doCross(ProgramChromosome, ProgramChromosome) - Method in class org.jgap.gp.impl.BranchTypingCross
Crosses two chromsomes using branch-typing.
documentAppendChild(Object, Object) - Method in class org.jgap.data.DocumentBuilderBase
Append a child to a given document.
documentAppendChild(Object, Object) - Method in class org.jgap.xml.XMLDocumentBuilder
 
DocumentBuilderBase - Class in org.jgap.data
 
DocumentBuilderBase() - Constructor for class org.jgap.data.DocumentBuilderBase
 
DoubleClass - Static variable in class org.jgap.gp.CommandGene
 
DoubleGene - Class in org.jgap.impl
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(Configuration) - Constructor for class org.jgap.impl.DoubleGene
Constructs a new DoubleGene with default settings.
DoubleGene(Configuration, 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.
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.
doWork(GridNodeClientConfig, MyRequest) - Method in class examples.grid.JGAPClient
 
doWork() - Method in class examples.grid.JGAPClient
 
doWork(WorkRequest, String) - Method in class examples.grid.MyGAWorker
 
DynamicMutationExample - Class in examples.dynamicMutation
Experiment on how to dynamically adapt the mutation rate for different genes.
DynamicMutationExample() - Constructor for class examples.dynamicMutation.DynamicMutationExample
 
DynamicMutationExample.CoinsMutationRateCalc - Class in examples.dynamicMutation
This class only is an experiment!
DynamicMutationExample.CoinsMutationRateCalc() - Constructor for class examples.dynamicMutation.DynamicMutationExample.CoinsMutationRateCalc
 
DynamicMutationFitnessFunction - Class in examples.dynamicMutation
Sample fitness function for the DynamicMutation example.
DynamicMutationFitnessFunction(int) - Constructor for class examples.dynamicMutation.DynamicMutationFitnessFunction
 

E

elementAppendChild(Object, Object) - Method in class org.jgap.data.DocumentBuilderBase
Append a child to a given element.
elementAppendChild(Object, Object) - Method in class org.jgap.xml.XMLDocumentBuilder
 
empty() - Method in class org.jgap.impl.BestChromosomesSelector
Empties 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.
empty() - Method in interface org.jgap.INaturalSelector
Empty out the working pool of Chromosomes.
encode(String) - Static method in class org.jgap.supergenes.AbstractSupergene
 
endWork() - Method in class examples.grid.JGAPClient.RenderingFeedback
 
endWork() - Method in interface examples.grid.MyClientFeedback
 
endWorkingFor(WorkResult) - Method in class examples.grid.MyWorkerFeedback
 
equals(Object) - Method in class org.jgap.audit.KeyedValue
Tests if this object is equal to another.
equals(Object) - Method in class org.jgap.audit.KeyedValues
Tests if this object is equal to another
equals(Object) - Method in class org.jgap.audit.KeyedValues2D
Tests if this object is equal to another
equals(Object) - Method in class org.jgap.BaseGene
Compares this Gene with the given object and returns true if the other object is a Gene of the same type and has the same value (allele) as this Gene.
equals(Object) - Method in class org.jgap.BaseGeneticOperator
Compares this GeneticOperator against the specified object.
equals(Object) - Method in class org.jgap.Chromosome
Compares this Chromosome against the specified object.
equals(Object) - Method in class org.jgap.distr.Culture
The equals-method.
equals(Object) - Method in class org.jgap.distr.CultureMemoryCell
The equals-method.
equals(Object) - Method in class org.jgap.Genotype
Compares this Genotype against the specified object.
equals(Object) - Method in class org.jgap.gp.CommandGene
 
equals(Object) - Method in class org.jgap.gp.function.AddAndStore
The equals-method.
equals(Object) - Method in class org.jgap.gp.function.ADF
The equals-method.
Equals - Class in org.jgap.gp.function
The equals operation.
Equals(GPConfiguration, Class) - Constructor for class org.jgap.gp.function.Equals
 
equals(Object) - Method in class org.jgap.gp.function.ForLoop
The equals-method.
equals(Object) - Method in class org.jgap.gp.function.ForXLoop
The equals-method.
equals(Object) - Method in class org.jgap.gp.function.Increment
The equals-method.
equals(Object) - Method in class org.jgap.gp.function.Loop
The equals-method.
equals(Object) - Method in class org.jgap.gp.function.Push
The equals-method.
equals(Object) - Method in class org.jgap.gp.function.ReadTerminal
The equals-method.
equals(Object) - Method in class org.jgap.gp.function.StoreTerminal
The equals-method.
equals(Object) - Method in class org.jgap.gp.function.SubProgram
The equals-method.
equals(Object) - Method in class org.jgap.gp.function.TransferMemory
The equals-method.
equals(Object) - Method in class org.jgap.gp.GPProgramBase
Compares this entity against the specified object.
equals(Object) - Method in class org.jgap.gp.impl.BranchTypingCross
The equals-method.
equals(Object) - Method in class org.jgap.gp.impl.GPGenotype
Compares this entity against the specified object.
equals(Object) - Method in class org.jgap.gp.impl.GPPopulation
The equals-method.
equals(Object) - Method in class org.jgap.gp.impl.ProgramChromosome
Compares this chromosome against the specified object.
equals(Object) - Method in class org.jgap.impl.AveragingCrossoverOperator
Compares this GeneticOperator against the specified object.
equals(Object) - Method in class org.jgap.impl.ChainOfSelectors
 
equals(Object) - Method in class org.jgap.impl.MutationOperator
Compares this GeneticOperator against the specified object.
equals(Object) - Method in class org.jgap.impl.TwoWayMutationOperator
Compares this GeneticOperator against the specified object.
equals(Object) - Method in class org.jgap.Population
The equals-method.
equals(Object) - Method in class org.jgap.supergenes.AbstractSupergene
Calls equals() for each pair of genes.
error(String, Exception) - Method in class examples.grid.JGAPClient.RenderingFeedback
 
error(String, Exception) - Method in interface examples.grid.MyClientFeedback
 
evaluate(IChromosome) - Method in class examples.audit.CoinsExampleFitnessFunction
Determine the fitness of the given Chromosome instance.
evaluate(IChromosome) - Method in class examples.chromInit.MaxFunction
See examples.simpleBoolean.MaxFunction for description.
evaluate(IChromosome) - Method in class examples.config.MaximizingFunctionFitnessFunction
Determine the fitness of the given Chromosome instance.
evaluate(IChromosome) - Method in class examples.distinctGenes.SampleFitnessFunction
Calculate the fitness value of a Chromosome.
evaluate(IChromosome) - Method in class examples.dynamicMutation.DynamicMutationFitnessFunction
Determine the fitness of the given Chromosome instance.
evaluate(IChromosome) - Method in class examples.energy.CoinsEnergyFitnessFunction
Determine the fitness of the given Chromosome instance.
evaluate(IGPProgram) - Method in class examples.gp.Fibonacci.FormulaFitnessFunction
 
evaluate(IGPProgram) - Method in class examples.gp.Fibonacci.FormulaFitnessFunction
 
evaluate(IGPProgram) - Method in class examples.gp.MathProblem.FormulaFitnessFunction
 
evaluate(IGPProgram) - Method in class examples.gp.MathProblem.FormulaFitnessFunction
 
evaluate(IChromosome) - Method in class examples.grid.SampleFitnessFunction
 
evaluate(IChromosome) - Method in class examples.knapsack.KnapsackFitnessFunction
Determine the fitness of the given Chromosome instance.
evaluate(IChromosome) - Method in class examples.MinimizingMakeChangeFitnessFunction
Determine the fitness of the given Chromosome instance.
evaluate(Population) - Method in class examples.multiobjective.MultiObjectiveFitnessFunction
Determine the fitness of the given Chromosome instance.
evaluate(IChromosome) - Method in class examples.simpleBoolean.MaxFunction
This example implementation calculates the fitness value of Chromosomes using BooleanAllele implementations.
evaluate(IChromosome) - Method in class examples.supergene.AbstractChangeFitnessFunction
Determine the fitness of the given Chromosome instance.
evaluate(Population) - Method in class org.jgap.BulkFitnessFunction
Calculates and sets the fitness values on each of the given Chromosomes via their setFitnessValue() method.
evaluate(IChromosome) - Method in class org.jgap.FitnessFunction
Determine the fitness of the given Chromosome instance.
evaluate(IGPProgram) - Method in class org.jgap.gp.GPFitnessFunction
Determine the fitness of the given GPProgram instance.
evaluate(Population) - Method in class org.jgap.impl.BulkFitnessOffsetRemover
 
evaluate(IChromosome) - Method in class org.jgap.impl.fitness.TruthTableFitnessFunction
Implementation of the evaluate method from class FitnessFunction.
evaluate(IChromosome) - Method in class org.jgap.impl.salesman.SalesmanFitnessFunction
Computes the distance by calling salesman Salesman.distance(org.jgap.Gene, org.jgap.Gene)
Evaluator - Class in org.jgap.audit
Gathers statistical data and returns them on request.
Evaluator(PermutingConfiguration) - Constructor for class org.jgap.audit.Evaluator
 
Evaluator.ChromosomeData - Class in org.jgap.audit
 
Evaluator.ChromosomeData() - Constructor for class org.jgap.audit.Evaluator.ChromosomeData
 
Evaluator.GenotypeData - Class in org.jgap.audit
Genotype data for one single run
Evaluator.GenotypeData() - Constructor for class org.jgap.audit.Evaluator.GenotypeData
 
Evaluator.GenotypeDataAvg - Class in org.jgap.audit
Averaged genotype data (computed over all runs of a permutation)
Evaluator.GenotypeDataAvg() - Constructor for class org.jgap.audit.Evaluator.GenotypeDataAvg
 
EventManager - Class in org.jgap.event
Manages event notification in the system.
EventManager() - Constructor for class org.jgap.event.EventManager
 
evolve() - Method in class org.jgap.Genotype
Evolves the population of Chromosomes within this Genotype.
evolve(int) - Method in class org.jgap.Genotype
Evolves this Genotype the specified number of times.
evolve(int) - Method in class org.jgap.gp.impl.GPGenotype
Evolves the population n times.
evolve() - Method in class org.jgap.gp.impl.GPGenotype
Evolve the population by one generation.
examples - package examples
Examples showing how to use JGAP to solve problems
examples.audit - package examples.audit
Demontrates how to use JGAP's audit capabilities
examples.chromInit - package examples.chromInit
Demonstrates how to initialize chromosomes with different numbers of Gene's
examples.config - package examples.config
Showing how to use the configuration features of JGAP
examples.distinctGenes - package examples.distinctGenes
Example showing how to use 40 CompositeGene's with 4 genes and 1 CompositeGene with 3 genes in the same Chromosome
examples.dynamicMutation - package examples.dynamicMutation
Experiment of how to mutate genes differently
examples.energy - package examples.energy
Showing how to use the Gene's energy attribute
examples.gp - package examples.gp
Demonstrates how to find a formula for a given X-Y-table using Genetic Programming
examples.gp - package examples.gp
Demonstrates how to find a formula for a given X-Y-table using Genetic Programming
examples.grid - package examples.grid
Distributed Computing using JCGrid.
examples.knapsack - package examples.knapsack
Implementation of the knapsack problem
examples.multiobjective - package examples.multiobjective
Demonstrates how to evolve a population towards multi-objectives (this functionality is preliminary)
examples.salesman - package examples.salesman
Implementation of the traveling salesperson problem (TSP)
examples.simpleBoolean - package examples.simpleBoolean
Very basic example showing the principle usage of JGAP
examples.supergene - package examples.supergene
Demonstrates the usage of the supergene concept
execute() - Method in class examples.multiobjective.MultiObjectiveExample
Executes the genetic algorithm.
execute(Object) - Method in class org.jgap.distr.WorkerCommand
 
execute(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.CommandGene
Executes this node without knowing its return type.
execute(Object[]) - Method in class org.jgap.gp.impl.ProgramChromosome
Executes this node without knowing its return type.
execute(int, int, Object[]) - Method in class org.jgap.gp.impl.ProgramChromosome
 
execute(Object) - Method in interface org.jgap.util.ICommand
Executes the command and returns the result of the operation
execute_add(Object) - Method in interface org.jgap.gp.function.Add.Compatible
 
execute_add3(Object) - Method in interface org.jgap.gp.function.Add3.Compatible
 
execute_boolean(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.CommandGene
Executes this node as a boolean.
execute_boolean(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.And
 
execute_boolean(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Equals
 
execute_boolean(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.If
 
execute_boolean(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Not
 
execute_boolean(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Or
 
execute_boolean(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Xor
 
execute_boolean(Object[]) - Method in class org.jgap.gp.impl.ProgramChromosome
Executes this node as a boolean.
execute_boolean(int, int, Object[]) - Method in class org.jgap.gp.impl.ProgramChromosome
Executes this node as a boolean.
execute_boolean(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.False
 
execute_boolean(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.True
 
execute_boolean(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Variable
 
execute_cosine() - Method in interface org.jgap.gp.function.Cosine.Compatible
 
execute_divide(Object) - Method in interface org.jgap.gp.function.Divide.Compatible
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.CommandGene
Executes this node as a double.
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Add
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Add3
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.ADF
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Cosine
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Divide
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Exp
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.If
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.IfElse
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Increment
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Modulo
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Multiply
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Multiply3
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Pop
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Pow
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Push
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.ReadTerminal
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Sine
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.StoreTerminal
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.SubProgram
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Subtract
 
execute_double(int, Object[]) - Method in interface org.jgap.gp.IGPProgram
Executes the given chromosome as a double function.
execute_double(int, Object[]) - Method in class org.jgap.gp.impl.GPProgram
Executes the given chromosome as a double function.
execute_double(Object[]) - Method in class org.jgap.gp.impl.ProgramChromosome
Executes this node as a double.
execute_double(int, int, Object[]) - Method in class org.jgap.gp.impl.ProgramChromosome
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Argument
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Constant
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Terminal
 
execute_double(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Variable
 
execute_exp() - Method in interface org.jgap.gp.function.Exp.Compatible
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.CommandGene
Executes this node as a float.
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Add
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Add3
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.ADF
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Cosine
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Divide
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Exp
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.If
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.IfElse
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Increment
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Modulo
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Multiply
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Multiply3
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Pop
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Pow
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Push
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.ReadTerminal
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Sine
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.StoreTerminal
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.SubProgram
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Subtract
 
execute_float(int, Object[]) - Method in interface org.jgap.gp.IGPProgram
Executes the given chromosome as a float function.
execute_float(int, Object[]) - Method in class org.jgap.gp.impl.GPProgram
Executes the given chromosome as a float function.
execute_float(Object[]) - Method in class org.jgap.gp.impl.ProgramChromosome
Executes this node as a float.
execute_float(int, int, Object[]) - Method in class org.jgap.gp.impl.ProgramChromosome
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Argument
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Constant
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Terminal
 
execute_float(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Variable
 
execute_increment() - Method in interface org.jgap.gp.function.Increment.Compatible
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.CommandGene
Executes this node as an integer.
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Add
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Add3
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.ADF
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Divide
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Exp
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.If
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.IfElse
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Increment
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Modulo
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Multiply
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Multiply3
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Pop
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Pow
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Push
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.ReadTerminal
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.StoreTerminal
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.SubProgram
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Subtract
 
execute_int(int, Object[]) - Method in interface org.jgap.gp.IGPProgram
Executes the given chromosome as an integer function.
execute_int(int, Object[]) - Method in class org.jgap.gp.impl.GPProgram
Executes the given chromosome as an integer function.
execute_int(Object[]) - Method in class org.jgap.gp.impl.ProgramChromosome
Executes this node as an integer.
execute_int(int, int, Object[]) - Method in class org.jgap.gp.impl.ProgramChromosome
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Argument
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Constant
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Terminal
 
execute_int(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Variable
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.CommandGene
Executes this node as a long.
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Add
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Add3
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Divide
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.If
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.IfElse
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Increment
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Modulo
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Multiply
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Multiply3
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Pop
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Push
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.ReadTerminal
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.StoreTerminal
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.SubProgram
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Subtract
 
execute_long(Object[]) - Method in class org.jgap.gp.impl.ProgramChromosome
Executes this node as a long.
execute_long(int, int, Object[]) - Method in class org.jgap.gp.impl.ProgramChromosome
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Argument
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Constant
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Terminal
 
execute_long(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Variable
 
execute_mod(Object) - Method in interface org.jgap.gp.function.Modulo.Compatible
 
execute_multiply(Object) - Method in interface org.jgap.gp.function.Multiply.Compatible
 
execute_multiply3(Object) - Method in interface org.jgap.gp.function.Multiply3.Compatible
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.CommandGene
Executes this node as an object.
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Add
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Add3
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.ADF
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Cosine
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Divide
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Exp
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Increment
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Modulo
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Multiply
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Multiply3
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Pop
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Pow
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Push
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.ReadTerminal
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Sine
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.StoreTerminal
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.SubProgram
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Subtract
 
execute_object(int, Object[]) - Method in interface org.jgap.gp.IGPProgram
Executes the given chromosome as an object function.
execute_object(int, Object[]) - Method in class org.jgap.gp.impl.GPProgram
Executes the given chromosome as an object function.
execute_object(Object[]) - Method in class org.jgap.gp.impl.ProgramChromosome
Executes this node as an object.
execute_object(int, int, Object[]) - Method in class org.jgap.gp.impl.ProgramChromosome
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Argument
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Constant
 
execute_object(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.Variable
 
execute_pow(Object) - Method in interface org.jgap.gp.function.Pow.Compatible
 
execute_sine() - Method in interface org.jgap.gp.function.Sine.Compatible
 
execute_subtract(Object) - Method in interface org.jgap.gp.function.Subtract.Compatible
 
execute_void(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.CommandGene
Executes this node, returning nothing.
execute_void(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.AddAndStore
 
execute_void(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.ForLoop
 
execute_void(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.ForXLoop
 
execute_void(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.If
 
execute_void(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Loop
 
execute_void(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.Push
 
execute_void(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.StoreTerminal
 
execute_void(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.SubProgram
 
execute_void(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.function.TransferMemory
 
execute_void(int, Object[]) - Method in interface org.jgap.gp.IGPProgram
Executes the given chromosome as an object function.
execute_void(int, Object[]) - Method in class org.jgap.gp.impl.GPProgram
Executes the given chromosome as an object function.
execute_void(Object[]) - Method in class org.jgap.gp.impl.ProgramChromosome
Executes this node, returning nothing.
execute_void(int, int, Object[]) - Method in class org.jgap.gp.impl.ProgramChromosome
 
execute_void(ProgramChromosome, int, Object[]) - Method in class org.jgap.gp.terminal.NOP
 
EXISTING_SOLUTIONS_ONLY - Static variable in class examples.supergene.AbstractSupergeneTest
If set to true (required for strict tests), only tasks with existing solutions will be submitted as a test tasks.
Exp - Class in org.jgap.gp.function
The exponential operation.
Exp(GPConfiguration, Class) - Constructor for class org.jgap.gp.function.Exp
 
Exp.Compatible - Interface in org.jgap.gp.function
 
extendsClass(Class, Class) - Static method in class org.jgap.util.ClassKit
 

F

False - Class in org.jgap.gp.terminal
The boolean value false.
False(GPConfiguration) - Constructor for class org.jgap.gp.terminal.False
 
FALSE_BOOLEAN - Static variable in class org.jgap.impl.BooleanGene
Shared constant representing the "false" boolean value.
Fibonacci - Class in examples.gp
Example demonstrating Genetic Programming (GP) capabilities of JGAP.
Fibonacci - Class in examples.gp
Example demonstrating Genetic Programming (GP) capabilities of JGAP.
Fibonacci(GPConfiguration) - Constructor for class examples.gp.Fibonacci
 
Fibonacci(GPConfiguration) - Constructor for class examples.gp.Fibonacci
 
Fibonacci.FormulaFitnessFunction - Class in examples.gp
 
Fibonacci.FormulaFitnessFunction - Class in examples.gp
 
Fibonacci.FormulaFitnessFunction() - Constructor for class examples.gp.Fibonacci.FormulaFitnessFunction
 
Fibonacci.FormulaFitnessFunction() - Constructor for class examples.gp.Fibonacci.FormulaFitnessFunction
 
FibonacciNodeValidator - Class in examples.gp
Validates evolved nodes for the Fibonacci problem.
FibonacciNodeValidator - Class in examples.gp
Validates evolved nodes for the Fibonacci problem.
FibonacciNodeValidator() - Constructor for class examples.gp.FibonacciNodeValidator
 
FibonacciNodeValidator() - Constructor for class examples.gp.FibonacciNodeValidator
 
find(String) - Static method in class org.jgap.util.ClassKit
Display all the classes inheriting or implementing a given class in the currently loaded packages.
find(String, String) - Static method in class org.jgap.util.ClassKit
Display all the classes inheriting or implementing a given class in a given package.
find(String, Class) - Static method in class org.jgap.util.ClassKit
Display all the classes inheriting or implementing a given class in a given package.
find(URL, String, Class) - Static method in class org.jgap.util.ClassKit
 
findHandlerFor(Object, Class, List, IHandler, String) - Method in class org.jgap.impl.JGAPFactory
Helper: Finds a handler for a given Object or Class, returns the default handler, if one is provided.
findImplementingClasses(String) - Method in class org.jgap.util.PluginDiscoverer
Finds all classes implementing the given interface
findImplementingClasses(Class) - Method in class org.jgap.util.PluginDiscoverer
Finds all classes implementing the given interface
findInJar(List, URL, Class) - Static method in class org.jgap.util.ClassKit
 
findItemsForVolume(double) - Static method in class examples.knapsack.KnapsackMain
Executes the genetic algorithm to determine the minimum number of items necessary to make up the given target volume.
findNext(Gene[], Gene) - Method in class org.jgap.impl.GreedyCrossover
 
findOptimalPath(Object) - Method in class org.jgap.impl.salesman.Salesman
Executes the genetic algorithm to determine the optimal path between the cities.
fireGeneticEvent(GeneticEvent) - Method in class org.jgap.event.EventManager
Fires a genetic event.
fireGeneticEvent(GeneticEvent) - Method in interface org.jgap.event.IEventManager
Fires a genetic event.
FitnessEvaluator - Interface in org.jgap
Interface for a fitness evaluator used in a Genotype to determine how to interpret the fitness value.
FitnessFunction - Class in org.jgap
Fitness functions are used to determine how optimal a particular solution is relative to other solutions.
FitnessFunction() - Constructor for class org.jgap.FitnessFunction
 
FitnessProportionateSelection - Class in org.jgap.gp.impl
Selects individuals proportionally according to their adjusted fitness.
FitnessProportionateSelection() - Constructor for class org.jgap.gp.impl.FitnessProportionateSelection
 
fitnessValue - Variable in class org.jgap.audit.Evaluator.ChromosomeData
 
FittestPopulationMerger - Class in org.jgap.impl
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 in org.jgap.impl
A Gene implementation that supports two possible values (alleles, 1 and 0) with a fixed length of alleles.
FixedBinaryGene(Configuration, int) - Constructor for class org.jgap.impl.FixedBinaryGene
 
FixedBinaryGene(Configuration, FixedBinaryGene) - Constructor for class org.jgap.impl.FixedBinaryGene
 
flip(int) - Method in class org.jgap.impl.FixedBinaryGene
 
FloatClass - Static variable in class org.jgap.gp.CommandGene
 
Force - Class in examples.supergene
Solve the change problem using force method.
ForLoop - Class in org.jgap.gp.function
The for-loop.
ForLoop(GPConfiguration, Class, int) - Constructor for class org.jgap.gp.function.ForLoop
Constructor.
ForLoop(GPConfiguration, Class, int, int) - Constructor for class org.jgap.gp.function.ForLoop
Constructor allowing to preset the starting index of the loop.
ForXLoop - Class in org.jgap.gp.function
The for-loop loop from 0 to X-1.
ForXLoop(GPConfiguration, Class) - Constructor for class org.jgap.gp.function.ForXLoop
 

G

GaussianMutationOperator - Class in org.jgap.impl
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(Configuration) - Constructor for class org.jgap.impl.GaussianMutationOperator
Constructs a GaussianMutationOperator with a default deviation of 0.05.
GaussianMutationOperator(Configuration, double) - Constructor for class org.jgap.impl.GaussianMutationOperator
Constructs a GaussianMutationOperator with the given deviation.
GaussianRandomGenerator - Class in org.jgap.impl
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 in org.jgap
Genes represent the discrete components of a potential solution (the Chromosome).
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.
geneAt(int) - Method in interface org.jgap.ICompositeGene
 
geneAt(int) - Method in class org.jgap.impl.CompositeGene
 
geneAt(int) - Method in class org.jgap.supergenes.AbstractSupergene
Returns the Gene at the given index (locus) within the Chromosome.
geneAt(int) - Method in interface org.jgap.supergenes.Supergene
Returns the Gene at the given index (locus) within the Supergene.
GeneCreationException - Exception in org.jgap.xml
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 exception org.jgap.xml.GeneCreationException
Constructs a new GeneCreationException instance with the given error message.
GeneCreationException(Class, Throwable) - Constructor for exception org.jgap.xml.GeneCreationException
Constructs a new GeneCreationException instance with the given error message.
generation - Variable in class org.jgap.audit.Evaluator.GenotypeData
 
generation - Variable in class org.jgap.audit.Evaluator.GenotypeDataAvg
 
GeneticEvent - Class in org.jgap.event
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.
GeneticEvent(String, Object, Object) - Constructor for class org.jgap.event.GeneticEvent
Constructs a new GeneticEvent of the given name.
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.
GeneticEventListener - Interface in org.jgap.event
Represents objects that process genetic events.
GeneticOperator - Interface in org.jgap
A GeneticOperator represents an operation that takes place on a population of Chromosomes during the evolution process.
Genotype - Class in org.jgap
Genotypes are fixed-length populations of chromosomes.
Genotype(Configuration, IChromosome[]) - 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.
Genotype(Configuration) - Constructor for class org.jgap.Genotype
Don't use this constructor, it's only for internal use.
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.
get(int) - Method in class org.jgap.distr.Culture
Retrieves the memory cell at the given index.
get(String) - Method in class org.jgap.distr.Culture
Retrieves the memory cell at the given index.
get(int) - Method in class org.jgap.impl.ChainOfSelectors
Returns a Selector with specific index in the list
getAbsoluteFitness(IChromosome) - Method in class org.jgap.impl.BulkFitnessOffsetRemover
Using this instance to remove the fitness offset in the populations brings the advantage of getting a selection more sensitive to the differences of fitness of the chromosomes.
getAcceptableCost() - Method in class org.jgap.impl.salesman.Salesman
The solution process breaks after the total path length drops below this limit.
getAgeMillis() - Method in class org.jgap.distr.WorkerCommand
 
getAllele() - Method in class org.jgap.BaseGene
Retrieves the allele value represented by this Gene.
getAllele() - Method in interface org.jgap.Gene
Retrieves the value represented by this Gene.
getAllele() - Method in class org.jgap.gp.CommandGene
 
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.supergenes.AbstractSupergene
Retrieves the allele value represented by this Supergene.
getAlleles() - Method in class org.jgap.impl.MapGene
 
getAllowsChildren() - Method in class org.jgap.gp.impl.JGAPTreeNode
 
getAllTimeBest() - Method in class org.jgap.gp.impl.GPGenotype
 
getAlphabet() - Method in class org.jgap.impl.StringGene
 
getApplicationData() - Method in class org.jgap.BaseGene
Retrieves the application-specific data that is attached to this Gene.
getApplicationData() - Method in class org.jgap.Chromosome
Retrieves the application-specific data that is attached to this Chromosome.
getApplicationData() - Method in interface org.jgap.Gene
Retrieves the application-specific data that is attached to this Gene.
getApplicationData() - Method in class org.jgap.gp.CommandGene
Retrieves the application-specific data that is attached to this Gene.
getApplicationData() - Method in class org.jgap.gp.GPProgramBase
 
getApplicationData() - Method in interface org.jgap.gp.IGPProgram
 
getApplicationData() - Method in class org.jgap.gp.impl.ProgramChromosome
Retrieves the application-specific data that is attached to this Chromosome.
getApplicationData() - Method in interface org.jgap.IChromosome
Retrieves the application-specific data that is attached to this Chromosome.
getArgType(int) - Method in class org.jgap.gp.GPProgramBase
 
getArgTypes() - Method in class org.jgap.gp.GPProgramBase
 
getArgTypes() - Method in interface org.jgap.gp.IGPProgram
 
getArgTypes() - Method in class org.jgap.gp.impl.ProgramChromosome
 
getArity(IGPProgram) - Method in class org.jgap.gp.CommandGene
Arity of the command.
getArity(IGPProgram) - Method in class org.jgap.gp.function.ADF
 
getArity() - Method in class org.jgap.gp.impl.ProgramChromosome
 
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
 
getAvgValue(int, Comparable, Comparable) - Method in class org.jgap.audit.Evaluator
 
getBit(int) - Method in class org.jgap.impl.FixedBinaryGene
 
getBranchColor(Object, int) - Method in class org.jgap.gp.impl.JGAPTreeBranchRenderer
 
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
 
getChild(int, int) - Method in interface org.jgap.gp.IGPChromosome
Gets the a_child'th child of the a_index'th node in this chromosome.
getChild(int, int) - Method in class org.jgap.gp.impl.ProgramChromosome
Gets the a_child'th child of the a_index'th node in this chromosome.
getChildAt(int) - Method in class org.jgap.gp.impl.JGAPTreeNode
 
getChildCount() - Method in class org.jgap.gp.impl.JGAPTreeNode
 
getChildNodes() - Method in class org.jgap.data.DataElement
 
getChildNodes() - Method in interface org.jgap.data.IDataElement
 
getChildType(IGPProgram, int) - Method in class org.jgap.gp.CommandGene
Gets the type of node allowed form the given child number.
getChildType(IGPProgram, int) - Method in class org.jgap.gp.function.AddAndStore
 
getChildType(IGPProgram, int) - Method in class org.jgap.gp.function.ADF
 
getChildType(IGPProgram, int) - Method in class org.jgap.gp.function.Equals
 
getChildType(IGPProgram, int) - Method in class org.jgap.gp.function.ForLoop
 
getChildType(IGPProgram, int) - Method in class org.jgap.gp.function.ForXLoop
 
getChildType(IGPProgram, int) - Method in class org.jgap.gp.function.Loop
 
getChildType(IGPProgram, int) - Method in class org.jgap.gp.function.Push
 
getChildType(IGPProgram, int) - Method in class org.jgap.gp.function.StoreTerminal
 
getChildType(IGPProgram, int) - Method in class org.jgap.gp.function.SubProgram
 
getChildType(IGPProgram, int) - Method in class org.jgap.gp.function.TransferMemory
 
getChildType(IGPProgram, int) - Method in class org.jgap.gp.terminal.Argument
 
getChildType(IGPProgram, int) - Method in class org.jgap.gp.terminal.False
 
getChildType(IGPProgram, int) - Method in class org.jgap.gp.terminal.Terminal
 
getChildType(IGPProgram, int) - Method in class org.jgap.gp.terminal.True
 
getChildType(IGPProgram, int) - Method in class org.jgap.gp.terminal.Variable
 
getChromosome(int) - Method in interface org.jgap.gp.IGPProgram
 
getChromosome(int) - Method in class org.jgap.gp.impl.GPProgram
 
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.
getChromosomeNum() - Method in class org.jgap.gp.function.ADF
 
getChromosomePool() - Method in class org.jgap.Configuration
Retrieves the ChromosomePool instance, if any, that is associated with this configuration.
getChromosomes() - Method in class org.jgap.distr.Problem
 
getChromosomes() - Method in class org.jgap.Genotype
Deprecated. uses getPopulation() instead
getChromosomes() - Method in class org.jgap.Population
 
getChromosomeSize() - Method in class org.jgap.Configuration
Retrieves the chromosome size being used by this genetic algorithm.
getCloneHandlerFor(Object, Class) - Method in interface org.jgap.IJGAPFactory
Retrieves a clone handler capable of clone the given class.
getCloneHandlerFor(Object, Class) - Method in class org.jgap.impl.JGAPFactory
Retrieves a clone handler capable of clone the given class.
getColumnCount() - Method in class org.jgap.audit.KeyedValues2D
 
getColumnKey(int) - Method in class org.jgap.audit.KeyedValues2D
 
getColumnKeys() - Method in class org.jgap.audit.KeyedValues2D
 
getCommandOfClass(int, Class) - Method in class org.jgap.gp.BaseGPChromosome
Helper: Find GP command with given class and return index of it
getCommandOfClass(int, Class) - Method in interface org.jgap.gp.IGPProgram
Searches for a chromosome that has the given class and returns its index.
getCommandOfClass(int, Class) - Method in class org.jgap.gp.impl.GPProgram
Searches for a chromosome that has the given class and returns its index.
getCompareToHandlerFor(Object, Class) - Method in interface org.jgap.IJGAPFactory
Retrieves a handler capable of comparing two instances of the given class.
getCompareToHandlerFor(Object, Class) - Method in class org.jgap.impl.JGAPFactory
Retrieves a handler capable of comparing two instances of the given class.
getConfigData() - Method in interface org.jgap.data.config.IConfigInfo
 
getConfigData() - Method in class org.jgap.gui.ConfigFrame
Getter for the Configuration Information on this frame.
getConfigProperties() - Method in interface org.jgap.data.config.ConfigurationHandler
Return the information to generate the GUI for configuring this class.
getConfigProperties() - Method in class org.jgap.data.config.RootConfigurationHandler
Return the information to generate the GUI for configuring this class.
getConfigProperty(String) - Method in class org.jgap.data.config.MetaConfig
Read the meta-config file and load it in memory.
getConfiguration() - Method in class examples.grid.MyRequest
 
getConfiguration() - Method in class org.jgap.BaseChromosome
 
getConfiguration() - Method in class org.jgap.BaseGene
 
getConfiguration() - Method in class org.jgap.BaseGeneticOperator
 
getConfiguration() - Method in class org.jgap.BaseRateCalculator
 
getConfiguration() - Method in interface org.jgap.Gene
 
getConfiguration() - Method in class org.jgap.Genotype
 
getConfiguration() - Method in class org.jgap.gp.CrossMethod
 
getConfiguration() - Method in interface org.jgap.IChromosome
 
getConfiguration() - Method in class org.jgap.impl.fitness.TruthTableFitnessFunction
 
getConfiguration() - Method in class org.jgap.impl.salesman.Salesman
 
getConfiguration() - Method in class org.jgap.NaturalSelector
 
getConfiguration() - Method in class org.jgap.Population
 
getConfiguration() - Method in class org.jgap.supergenes.Validator
 
getConfigurationHandler() - Method in class org.jgap.Configuration
Implementation of the Configurable interface.
getConstraintChecker() - Method in class org.jgap.BaseGene
 
getConstraintChecker() - Method in class org.jgap.Chromosome
 
getCrossMethod() - Method in class org.jgap.gp.impl.GPConfiguration
 
getCrossoverProb() - Method in class org.jgap.gp.impl.GPConfiguration
 
getCurrentValue() - Method in class org.jgap.distr.CultureMemoryCell
 
getCurrentValueAsDouble() - Method in class org.jgap.distr.CultureMemoryCell
Convenience method to retrieve a primitive double value from memory easily.
getData() - Method in class org.jgap.audit.Evaluator
 
getDepth(int) - Method in class org.jgap.gp.impl.ProgramChromosome
Gets the depth of the branch starting at the a_index'th node.
getDimesGene(Configuration) - Method in class examples.supergene.AbstractSupergeneTest
 
getDispatcher() - Method in class org.jgap.distr.Master
 
getDisplayName() - Method in interface org.jgap.distr.IWorker
 
getDisplayName() - Method in class org.jgap.distr.Worker
 
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
 
getEnergy() - Method in class org.jgap.BaseGene
 
getEnergy() - Method in interface org.jgap.Gene
 
getEnergy() - Method in class org.jgap.gp.CommandGene
 
getEventManager() - Method in class org.jgap.Configuration
Retrieves the event manager 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.
getFileName() - Method in interface org.jgap.data.config.IConfigInfo
Get the config file to write to.
getFileName() - Method in class org.jgap.gui.ConfigFrame
Get the config file to write to.
getFitnessEvaluator() - Method in class org.jgap.Configuration
 
getFitnessFunction() - Method in class org.jgap.Configuration
Retrieves the fitness function previously setup in this Configuration object.
getFitnessFunction() - Method in class org.jgap.distr.Problem
 
getFitnessRank(int) - Method in class org.jgap.gp.impl.GPPopulation
 
getFitnessRanks() - Method in class org.jgap.gp.impl.GPPopulation
 
getFitnessValue() - Method in class org.jgap.Chromosome
Retrieves the fitness value of this Chromosome, as determined by the active fitness function.
getFitnessValue(IChromosome) - Method in class org.jgap.FitnessFunction
Retrieves the fitness value of the given Chromosome.
getFitnessValue(IGPProgram) - Method in class org.jgap.gp.GPFitnessFunction
Retrieves the fitness value of the given GPProgram.
getFitnessValue() - Method in class org.jgap.gp.GPProgramBase
 
getFitnessValue() - Method in interface org.jgap.gp.IGPProgram
 
getFitnessValue() - Method in interface org.jgap.IChromosome
Retrieves the fitness value of this Chromosome, as determined by the active fitness function.
getFitnessValueDirectly() - Method in class org.jgap.Chromosome
 
getFitnessValueDirectly() - Method in interface org.jgap.IChromosome
 
getFittest() - Method in class examples.grid.MyResult
 
getFittestChromosome() - Method in class org.jgap.Genotype
Retrieves the Chromosome in the population with the highest fitness value.
getFittestChromosome(int, int) - Method in class org.jgap.Genotype
Retrieves the Chromosome in the population with the highest fitness value within the given indices.
getFittestChromosomes(int) - Method in class org.jgap.Genotype
Retrieves the top n Chromsomes in the population (the ones with the best fitness values).
getFittestProgram() - Method in class org.jgap.gp.impl.GPGenotype
Retrieves the GPProgram in the population with the highest fitness value.
getFreeMemoryMB() - Static method in class org.jgap.gp.impl.GPGenotype
 
getFunction(int) - Method in class org.jgap.gp.BaseGPChromosome
Gets the a_index'th function in this chromosome.
getFunction(int, Class) - Method in class org.jgap.gp.BaseGPChromosome
Gets the i'th function of the given type in this chromosome.
getFunction(int) - Method in interface org.jgap.gp.IGPChromosome
Gets the a_index'th function in this chromosome.
getFunction(int, Class) - Method in interface org.jgap.gp.IGPChromosome
Gets the i'th function of the given type in this chromosome.
getFunctions() - Method in interface org.jgap.gp.IGPChromosome
 
getFunctions() - Method in class org.jgap.gp.impl.ProgramChromosome
 
getFunctionSet() - Method in class org.jgap.gp.impl.ProgramChromosome
 
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 class org.jgap.gp.impl.ProgramChromosome
Returns the Gene at the given index (locus) within the Chromosome.
getGene(int) - Method in interface org.jgap.IChromosome
Returns the Gene at the given index (locus) within the Chromosome.
getGenerationNr() - Method in class org.jgap.Configuration
 
getGenes() - Method in class org.jgap.Chromosome
Retrieves the set of genes that make up this Chromosome.
getGenes() - Method in interface org.jgap.IChromosome
Retrieves the set of genes that make up this Chromosome.
getGenes() - Method in class org.jgap.supergenes.AbstractSupergene
 
getGenes() - Method in interface org.jgap.supergenes.Supergene
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.
getGeneticOperatorConstraint() - Method in interface org.jgap.IJGAPFactory
 
getGeneticOperatorConstraint() - Method in class org.jgap.impl.JGAPFactory
 
getGeneticOperators() - Method in class org.jgap.Configuration
Retrieves the genetic operators setup in this Configuration instance.
getGeneTypeAllowed() - Method in class org.jgap.impl.CompositeGene
 
getGenome(boolean) - Method in class org.jgap.Population
Returns the genotype of the population, i.e. the list of genes in the population.
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.
getGPConfiguration() - Method in class org.jgap.gp.BaseGPChromosome
 
getGPConfiguration() - Method in class org.jgap.gp.CommandGene
 
getGPConfiguration() - Method in class org.jgap.gp.GPProblem
 
getGPConfiguration() - Method in class org.jgap.gp.GPProgramBase
 
getGPConfiguration() - Method in interface org.jgap.gp.IGPChromosome
 
getGPConfiguration() - Method in interface org.jgap.gp.IGPProgram
 
getGPConfiguration() - Static method in class org.jgap.gp.impl.GPGenotype
 
getGPConfiguration() - Method in class org.jgap.gp.impl.GPPopulation
 
getGPFitnessEvaluator() - Method in class org.jgap.gp.impl.GPConfiguration
 
getGPFitnessFunction() - Method in class org.jgap.gp.impl.GPConfiguration
 
getGPPopulation() - Method in class org.jgap.gp.impl.GPGenotype
 
getGPProgram(int) - Method in class org.jgap.gp.impl.GPPopulation
 
getGPPrograms() - Method in class org.jgap.gp.impl.GPPopulation
 
getHistory() - Method in class org.jgap.distr.CultureMemoryCell
 
getHistorySize() - Method in class org.jgap.distr.CultureMemoryCell
 
getID() - Method in class org.jgap.distr.Problem
 
getIndex(Comparable) - Method in class org.jgap.audit.KeyedValues
 
getIndex(TreeNode) - Method in class org.jgap.gp.impl.JGAPTreeNode
 
getIndividual() - Method in class org.jgap.gp.BaseGPChromosome
 
getIndividual() - Method in interface org.jgap.gp.IGPChromosome
 
getInitializerFor(Object, Class) - Method in interface org.jgap.IJGAPFactory
Retrieves an initializer capable of initializing the Object of the given class.
getInitializerFor(Object, Class) - Method in class org.jgap.impl.JGAPFactory
Retrieves an initializer capable of initializing the Object of the given class.
getInstance() - Static method in class org.jgap.data.config.ConfigWriter
Method to create and access the Singleton ConfigWriter instance.
getInstance() - Static method in class org.jgap.data.config.MetaConfig
 
getInstance() - Static method in class org.jgap.data.DataTreeBuilder
 
getInstance() - Static method in class org.jgap.gui.GUIManager
 
getInternalValue() - Method in class org.jgap.BaseGene
Each Gene implementation holds its own m_value object keeping the allele value.
getInternalValue() - Method in class org.jgap.gp.CommandGene
 
getInternalValue() - Method in class org.jgap.impl.BooleanGene
 
getInternalValue() - Method in class org.jgap.impl.CompositeGene
This method is not called internally because BaseGene.getAllele() is overridden here!
getInternalValue() - Method in class org.jgap.impl.FixedBinaryGene
Not called as getAllele() is overridden.
getInternalValue() - Method in class org.jgap.impl.MapGene
 
getInternalValue() - Method in class org.jgap.impl.NumberGene
 
getInternalValue() - Method in class org.jgap.impl.SetGene
 
getInternalValue() - Method in class org.jgap.impl.StringGene
 
getInternalValue() - Method in class org.jgap.supergenes.AbstractSupergene
 
getIntValues() - Method in class org.jgap.impl.FixedBinaryGene
 
getJGAPFactory() - Method in class org.jgap.Configuration
 
getKey() - Method in class org.jgap.audit.KeyedValue
 
getKey(int) - Method in class org.jgap.audit.KeyedValues
 
getKeys() - Method in class org.jgap.audit.KeyedValues
Returns the keys for the values in the collection
getLabel() - Method in class org.jgap.data.config.ConfigProperty
 
getLastComputedFitnessValue() - Method in class org.jgap.FitnessFunction
 
getLastComputedFitnessValue() - Method in class org.jgap.gp.GPFitnessFunction
 
getLButton() - Method in class org.jgap.gui.ConfigFrame.ListGroup
 
getLength() - Method in class org.jgap.data.DataElementList
 
getLength() - Method in interface org.jgap.data.IDataElementList
 
getLength() - Method in class org.jgap.impl.FixedBinaryGene
 
getList() - Method in class org.jgap.gui.ConfigFrame.ListGroup
 
getListModel() - Method in class org.jgap.gui.ConfigFrame.ListGroup
 
getListNameAt(int) - Method in class org.jgap.data.config.ConfigData
Get the name of the list at the specified index.
getListScroller() - Method in class org.jgap.gui.ConfigFrame.ListGroup
 
getListValuesAt(int) - Method in class org.jgap.data.config.ConfigData
Get the contents of the list at the specified index.
getLocalHostName() - Static method in class org.jgap.util.NetworkKit
 
getLocalIPAddress() - Static method in class org.jgap.util.NetworkKit
 
getLocus(RandomGenerator, int, int) - Method in class org.jgap.impl.AveragingCrossoverOperator
Returns the crossover location for a given index.
getLowerBound() - Method in class org.jgap.impl.DoubleGene
 
getLowerBounds() - Method in class org.jgap.impl.IntegerGene
 
getMasterInfo() - Method in class org.jgap.distr.Master
 
getMaxCrossoverDepth() - Method in class org.jgap.gp.impl.GPConfiguration
 
getMaxDepths() - Method in class org.jgap.gp.GPProgramBase
 
getMaxDepths() - Method in interface org.jgap.gp.IGPProgram
 
getMaxEvolution() - Method in class org.jgap.impl.salesman.Salesman
 
getMaxInitDepth() - Method in class org.jgap.gp.impl.GPConfiguration
 
getMaxLength() - Method in class org.jgap.impl.StringGene
 
getMaxNodes() - Method in class org.jgap.gp.GPProgramBase
 
getMaxNodes() - Method in interface org.jgap.gp.IGPProgram
 
getMemoryNames() - Method in class org.jgap.distr.Culture
 
getMinDepths() - Method in class org.jgap.gp.GPProgramBase
 
getMinDepths() - Method in interface org.jgap.gp.IGPProgram
 
getMinimumPopSizePercent() - Method in class org.jgap.Configuration
 
getMinLength() - Method in class org.jgap.impl.StringGene
 
getMultiObjectives() - Method in class org.jgap.Chromosome
 
getMutationRate() - Method in class org.jgap.impl.MutationOperator
 
getMutationRate() - Method in class org.jgap.impl.TwoWayMutationOperator
 
getMutationRateCalc() - Method in class org.jgap.impl.MutationOperator
 
getMutationRateCalc() - Method in class org.jgap.impl.TwoWayMutationOperator
 
getName() - Method in class org.jgap.Configuration
 
getName() - Method in class org.jgap.data.config.ConfigProperty
 
getName() - Method in interface org.jgap.data.config.ConfigurationHandler
Return the name of this Configuration Object to be used in the properties file.
getName() - Method in class org.jgap.data.config.RootConfigurationHandler
 
getName() - Method in class org.jgap.distr.CultureMemoryCell
 
getName() - Method in class org.jgap.distr.WorkerCommand
 
getName() - Method in class org.jgap.gp.CommandGene
 
getName() - Method in class org.jgap.gp.impl.JGAPTreeNode
 
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
Only use for read-only access!
getNaturalSelectorsSize(boolean) - Method in class org.jgap.Configuration
 
getNewChromsPercent() - Method in class org.jgap.gp.impl.GPConfiguration
 
getNewInstance(Object, int, String) - Method in class org.jgap.distr.CultureMemoryCell
Creates a new instance of CultureMemoryCell preset with the given parameters.
getNickelsGene(Configuration) - Method in class examples.supergene.AbstractSupergeneTest
 
getNode(int) - Method in class org.jgap.gp.BaseGPChromosome
Gets the a_index'th node in this chromosome.
getNode(int) - Method in interface org.jgap.gp.IGPChromosome
Gets the a_index'th node in this chromosome.
getNodeColor(Object, int) - Method in class org.jgap.gp.impl.JGAPTreeNodeRenderer
 
getNodeSet(int) - Method in class org.jgap.gp.GPProgramBase
 
getNodeSets() - Method in class org.jgap.gp.GPProgramBase
 
getNodeSets() - Method in interface org.jgap.gp.IGPProgram
 
getNodeType() - Method in class org.jgap.data.DataElement
 
getNodeValidator() - Method in class org.jgap.gp.impl.GPConfiguration
 
getNodeValue() - Method in class org.jgap.data.DataElement
 
getNS() - Method in class org.jgap.data.config.ConfigData
Get the namespace of the Configurable for which this ConfigData is being used.
getNS() - Method in interface org.jgap.data.config.ConfigurationHandler
Get the namespace to be used in the config file for the Configurable this ConfigurationHandler belongs to.
getNS() - Method in class org.jgap.data.config.RootConfigurationHandler
Get the namespace to be used in the config file for the Configurable this ConfigurationHandler belongs to.
getNumberOfCoinsAtGene(IChromosome, int) - Static method in class examples.audit.CoinsExampleFitnessFunction
Retrieves the number of coins represented by the given potential solution at the given gene position.
getNumberOfCoinsAtGene(IChromosome, int) - Static method in class examples.dynamicMutation.DynamicMutationFitnessFunction
Retrieves the number of coins represented by the given potential solution at the given gene position.
getNumberOfCoinsAtGene(IChromosome, int) - Static method in class examples.energy.CoinsEnergyFitnessFunction
Retrieves the number of coins represented by the given potential solution at the given gene position.
getNumberOfCoinsAtGene(IChromosome, int) - Static method in class examples.MinimizingMakeChangeFitnessFunction
Retrieves the number of coins represented by the given potential solution at the given gene position.
getNumberOfCoinsAtGene(IChromosome, int) - Method in class examples.supergene.AbstractChangeFitnessFunction
Retrieves the number of coins represented by the given potential solution at the given gene position.
getNumberOfItemsAtGene(IChromosome, int) - Static method in class examples.knapsack.KnapsackFitnessFunction
Retrieves the number of items represented by the given potential solution at the given gene position.
getNumberOfRuns(int) - Method in class org.jgap.audit.Evaluator
 
getNumLists() - Method in class org.jgap.data.config.ConfigData
 
getNumTexts() - Method in class org.jgap.data.config.ConfigData
 
getOriginalRate() - Method in class org.jgap.impl.BestChromosomesSelector
 
getOutList() - Method in class org.jgap.gui.ConfigFrame.ListGroup
 
getOutListModel() - Method in class org.jgap.gui.ConfigFrame.ListGroup
Getter for the output list's associated model.
getOutListScroller() - Method in class org.jgap.gui.ConfigFrame.ListGroup
 
getParameters() - Method in class org.jgap.impl.JGAPFactory
 
getParent() - Method in class org.jgap.gp.impl.JGAPTreeNode
 
getParentNode(int) - Method in class org.jgap.gp.impl.ProgramChromosome
Gets the node which is the parent of the given node in this chromosome.
getPenniesGene(Configuration) - Method in class examples.supergene.AbstractSupergeneTest
 
getPersistent() - Method in class org.jgap.supergenes.AbstractSupergene
The default implementation returns an empty string.
getPersistent() - Method in interface org.jgap.supergenes.SupergeneValidator
 
getPersistent() - Method in class org.jgap.supergenes.Validator
The default implementation returns an empty string.
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.gp.CommandGene
 
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.MapGene
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.SetGene
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
 
getPlugins(String) - Static method in class org.jgap.util.ClassKit
 
getPopSize() - Method in class org.jgap.gp.impl.GPPopulation
 
getPopulation(int) - Method in class org.jgap.eval.PopulationHistory
 
getPopulation() - Method in class org.jgap.Genotype
 
getPopulations() - Method in class org.jgap.eval.PopulationHistory
 
getPopulationSize() - Method in class org.jgap.Configuration
Retrieves the population size setup in this Configuration instance.
getPopulationSize() - Method in class org.jgap.distr.Problem
 
getPopulationSize() - Method in class org.jgap.impl.salesman.Salesman
 
getPrivateField(Object, String) - Static method in class org.jgap.data.config.RootConfigurationHandler
Helper method: Read a private field.
getProbability() - Method in class org.jgap.impl.TournamentSelector
 
getProgramCreationMaxtries() - Method in class org.jgap.gp.impl.GPConfiguration
 
getProp() - Method in class org.jgap.gui.ConfigFrame.ListGroup
Getter for the ConfigProperty object associated with this ListGroup.
getQuartersGene(Configuration) - Method in class examples.supergene.AbstractSupergeneTest
 
getRandomGenerator() - Method in class org.jgap.Configuration
Retrieves the random generator setup in this Configuration instance.
getRButton() - Method in class org.jgap.gui.ConfigFrame.ListGroup
Return right button for this ListGroup
getReadAccessed() - Method in class org.jgap.distr.CultureMemoryCell
 
getReadAccessedCurrentVersion() - Method in class org.jgap.distr.CultureMemoryCell
 
getReader(String) - Method in class org.jgap.data.config.MetaConfig
Returns a reader to a file
getReproductionProb() - Method in class org.jgap.gp.impl.GPConfiguration
 
getResponsibleGene(IChromosome, int) - Method in class examples.supergene.AbstractChangeFitnessFunction
Get the gene, responsible for the number of coins, corresponding this code.
getResponsibleGene(IChromosome, int) - Method in class examples.supergene.SupergeneChangeFitnessFunction
Dimes and nickels are taken from the chromosome, and quarters and pennies are taken from the supergene (gene number 2).
getReturnType() - Method in class org.jgap.gp.CommandGene
 
getReturnType() - Method in class org.jgap.gp.function.ForXLoop
 
getRowCount() - Method in class org.jgap.audit.KeyedValues2D
 
getRowIndex(Comparable) - Method in class org.jgap.audit.KeyedValues2D
 
getRowKey(int) - Method in class org.jgap.audit.KeyedValues2D
 
getRowKeys() - Method in class org.jgap.audit.KeyedValues2D
 
getSampleChromosome() - Method in class org.jgap.Configuration
Retrieves the sample Chromosome that contains the desired Gene setup for each respective gene position (locus).
getSelectionMethod() - Method in class org.jgap.gp.impl.GPConfiguration
 
getSize(int) - Method in class org.jgap.gp.impl.ProgramChromosome
Gets the number of nodes in the branch starting at the a_index'th node.
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.salesman.Salesman
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.
getStaticConfiguration() - Static method in class org.jgap.Genotype
 
getStatus() - Method in interface org.jgap.distr.IWorker
 
getStatus() - Method in class org.jgap.distr.Worker
 
getTagName() - Method in class org.jgap.data.DataElement
 
getTagName() - Method in interface org.jgap.data.IDataElement
 
getTerminal(int) - Method in class org.jgap.gp.BaseGPChromosome
Gets the i'th terminal in this chromosome.
getTerminal(int, Class) - Method in class org.jgap.gp.BaseGPChromosome
Gets the a_index'th terminal of the given type in this chromosome.
getTerminal(int) - Method in interface org.jgap.gp.IGPChromosome
Gets the i'th terminal in this chromosome.
getTerminal(int, Class) - Method in interface org.jgap.gp.IGPChromosome
Gets the a_index'th terminal of the given type in this chromosome.
getTextNameAt(int) - Method in class org.jgap.data.config.ConfigData
Get the name of the text at the specified index.
getTextValueAt(int) - Method in class org.jgap.data.config.ConfigData
Get the value of the text at the specified index.
getThreadKey(Thread, String) - Static method in class org.jgap.Configuration
Builds a string considering the current thread and the given id
getTotalFitness() - Method in class org.jgap.gp.impl.GPGenotype
 
getTotalMemoryMB() - Static method in class org.jgap.gp.impl.GPGenotype
 
getTotalNumberOfCoins(IChromosome) - Static method in class examples.audit.CoinsExampleFitnessFunction
Returns the total number of coins represented by all of the genes in the given potential solution.
getTotalNumberOfCoins(IChromosome) - Static method in class examples.dynamicMutation.DynamicMutationFitnessFunction
Returns the total number of coins represented by all of the genes in the given potential solution.
getTotalNumberOfCoins(IChromosome) - Static method in class examples.energy.CoinsEnergyFitnessFunction
Returns the total number of coins represented by all of the genes in the given potential solution.
getTotalNumberOfCoins(IChromosome) - Static method in class examples.MinimizingMakeChangeFitnessFunction
Returns the total number of coins represented by all of the genes in the given potential solution.
getTotalNumberOfCoins(IChromosome) - Method in class examples.supergene.AbstractChangeFitnessFunction
Returns the total number of coins represented by all of the genes in the given potential solution.
getTotalNumberOfItems(IChromosome) - Static method in class examples.knapsack.KnapsackFitnessFunction
Returns the total number of items represented by all of the genes in the given potential solution.
getTotalVolume(IChromosome) - Static method in class examples.knapsack.KnapsackFitnessFunction
Calculates the total amount of change (in cents) represented by the given potential solution and returns that amount.
getTotalWeight(IChromosome) - Static method in class examples.energy.CoinsEnergyFitnessFunction
Returns the total weight of all coins.
getTournamentSize() - Method in class org.jgap.impl.TournamentSelector
 
getTree() - Method in class org.jgap.data.DataElementsDocument
 
getTree() - Method in interface org.jgap.data.IDataCreators
 
getTruthTable() - Method in class org.jgap.impl.fitness.TruthTableFitnessFunction
 
getType(int) - Method in class org.jgap.gp.GPProgramBase
 
getTypes() - Method in class org.jgap.gp.GPProgramBase
 
getTypes() - Method in interface org.jgap.gp.IGPProgram
 
getUnchecked(int) - Method in class org.jgap.impl.FixedBinaryGene
 
getUnitDone() - Method in class examples.grid.MyResult
 
getUpperBound() - Method in class org.jgap.impl.DoubleGene
 
getUpperBounds() - Method in class org.jgap.impl.IntegerGene
 
getValidator() - Method in class org.jgap.supergenes.AbstractSupergene
Gets an object, responsible for deciding if the Supergene allele combination is valid.
getValidator() - Method in interface org.jgap.supergenes.Supergene
Gets an object, responsible for deciding if the Supergene allele combination is valid.
getValue(String[], int) - Static method in class examples.energy.CoinsEnergy
 
getValue(Comparable, Comparable) - Method in class org.jgap.audit.Evaluator
 
getValue(int, int, Comparable, Comparable) - Method in class org.jgap.audit.Evaluator
 
getValue() - Method in class org.jgap.audit.KeyedValue
 
getValue(int) - Method in class org.jgap.audit.KeyedValues
 
getValue(Comparable) - Method in class org.jgap.audit.KeyedValues
Returns the value for a given key.
getValue(int, int) - Method in class org.jgap.audit.KeyedValues2D
Returns the value for a given row and column
getValue(Comparable, Comparable) - Method in class org.jgap.audit.KeyedValues2D
 
getValue(String) - Method in class org.jgap.data.config.ConfigFileReader
Retrieve the value for the property with the name as in param name.
getValue() - Method in class org.jgap.event.GeneticEvent
 
getValue() - Method in class org.jgap.gp.terminal.Variable
 
getValue() - Method in class org.jgap.impl.FixedBinaryGene
 
getValues(String) - Method in class org.jgap.data.config.ConfigFileReader
Retrieve the values for the property with the name as in param name.
getValuesIter() - Method in class org.jgap.data.config.ConfigProperty
 
getVariable(String) - Static method in class org.jgap.gp.terminal.Variable
Gets the one instance of a named variable.
getVariableWithReturnType(int, Class) - Method in class org.jgap.gp.BaseGPChromosome
Helper: Find GP Variable with given return type and return index of it
getVector(IChromosome) - Static method in class examples.multiobjective.MultiObjectiveFitnessFunction
 
getVersion() - Method in class org.jgap.distr.CultureMemoryCell
 
getVersionTimeMilliseconds() - Method in class org.jgap.distr.CultureMemoryCell
 
getWidget() - Method in class org.jgap.data.config.ConfigProperty
 
getWorkerListener() - Method in class org.jgap.distr.Master
 
GPConfiguration - Class in org.jgap.gp.impl
Configuration for a GP.
GPConfiguration() - Constructor for class org.jgap.gp.impl.GPConfiguration
Constructor.
GPFitnessFunction - Class in org.jgap.gp
Fitness function for GP-Programs.
GPFitnessFunction() - Constructor for class org.jgap.gp.GPFitnessFunction
 
GPGenotype - Class in org.jgap.gp.impl
Genotype for GP Programs.
GPGenotype() - Constructor for class org.jgap.gp.impl.GPGenotype
Default constructor.
GPGenotype(GPConfiguration, GPPopulation, Class[], Class[][], CommandGene[][], int[], int[], int) - Constructor for class org.jgap.gp.impl.GPGenotype
Preferred constructor to use, if not randomInitialGenotype.
GPGENOTYPE_EVOLVED_EVENT - Static variable in class org.jgap.event.GeneticEvent
 
GPGENOTYPE_NEW_BEST_SOLUTION - Static variable in class org.jgap.event.GeneticEvent
 
GPPopulation - Class in org.jgap.gp.impl
Population for GP programs.
GPPopulation(GPConfiguration, int) - Constructor for class org.jgap.gp.impl.GPPopulation
 
GPPopulation(GPPopulation) - Constructor for class org.jgap.gp.impl.GPPopulation
 
GPProblem - Class in org.jgap.gp
Abstract base class for all GP problems.
GPProblem(GPConfiguration) - Constructor for class org.jgap.gp.GPProblem
 
GPProgram - Class in org.jgap.gp.impl
A GP program contains 1..n ProgramChromosome's.
GPProgram(GPConfiguration, Class[], Class[][], CommandGene[][], int[], int[], int) - Constructor for class org.jgap.gp.impl.GPProgram
Constructor.
GPProgram(IGPProgram) - Constructor for class org.jgap.gp.impl.GPProgram
Constructor to initialize a GPProgram with values of another GPProgram.
GPProgram(GPConfiguration, int) - Constructor for class org.jgap.gp.impl.GPProgram
Sort of minimalistic constructor.
GPProgramBase - Class in org.jgap.gp
Base class for GPProgram's.
GPProgramBase(GPConfiguration) - Constructor for class org.jgap.gp.GPProgramBase
 
GPProgramBase(IGPProgram) - Constructor for class org.jgap.gp.GPProgramBase
 
GPProgramFitnessComparator - Class in org.jgap.gp.impl
Simple comparator to allow the sorting of GPProgram lists with the highest fitness value in first place of the list.
GPProgramFitnessComparator() - Constructor for class org.jgap.gp.impl.GPProgramFitnessComparator
Constructs the comparator using the DefaultFitnessEvaluator
GPProgramFitnessComparator(IGPFitnessEvaluator) - Constructor for class org.jgap.gp.impl.GPProgramFitnessComparator
 
GreedyCrossover - Class in org.jgap.impl
The Greedy Crossover is a specific type of crossover.
GreedyCrossover() - Constructor for class org.jgap.impl.GreedyCrossover
Default constructor for dynamic instantiation.
GreedyCrossover(Configuration) - Constructor for class org.jgap.impl.GreedyCrossover
Using the given configuration.
growOrFull(int, boolean, int, boolean[]) - Method in class org.jgap.gp.impl.GPProgram
 
growOrFull(int, int, Class, Class[], CommandGene[], boolean) - Method in class org.jgap.gp.impl.ProgramChromosome
Initialize this chromosome using the grow or the full method.
growOrFullNode(int, int, Class, CommandGene[], CommandGene, int, boolean) - Method in class org.jgap.gp.impl.ProgramChromosome
Create a tree of nodes using the grow method.
GUIManager - Class in org.jgap.gui
Singleton GUIManager for the JGAP Configurator.

H

hashCode - Variable in class org.jgap.audit.Evaluator.GenotypeData
 
hashCode() - Method in class org.jgap.audit.KeyedValue
 
hashCode() - Method in class org.jgap.audit.KeyedValues
 
hashCode() - Method in class org.jgap.audit.KeyedValues2D
 
hashCode() - Method in class org.jgap.BaseGene
Retrieves the hash code value for a Gene.
hashCode() - Method in class org.jgap.Chromosome
Retrieve a hash code for this Chromosome.
hashCode() - Method in class org.jgap.event.EventManager
 
hashCode() - Method in class org.jgap.Genotype
Hashcode function for the genotype, tries to create a unique hashcode for the chromosomes within the population.
hashCode() - Method in class org.jgap.gp.CommandGene
Retrieves the hash code value for a CommandGene.
hashCode() - Method in class org.jgap.gp.impl.GPGenotype
Hashcode function for the genotype, tries to create a unique hashcode for the chromosomes within the population.
hashCode() - Method in class org.jgap.impl.BooleanGene
Modified hashCode() function to return different hashcodes for differently ordered genes in a chromosome
hashCode() - Method in class org.jgap.impl.ChainOfSelectors
 
hashCode() - Method in class org.jgap.impl.CompositeGene
Retrieves the hash code value for this Gene.
hashCode() - Method in class org.jgap.impl.DoubleGene
Modified hashCode() function to return different hashcodes for differently ordered genes in a chromosome.
hashCode() - Method in class org.jgap.impl.FixedBinaryGene
Modified hashCode() function to return different hashcodes for differently ordered genes in a chromosome --> does not work as internal value always initialized!
hashCode() - Method in class org.jgap.impl.IntegerGene
Modified hashCode() function to return different hashcodes for differently ordered genes in a chromosome.
hashCode() - Method in class org.jgap.impl.MapGene
Modified hashCode() function to return different hashcodes for differently ordered genes in a chromosome
hashCode() - Method in class org.jgap.impl.SetGene
Modified hashCode() function to return different hashcodes for differently ordered genes in a chromosome
hashCode() - Method in class org.jgap.supergenes.AbstractSupergene
Returns sum of hashCode() of the genes-components.
hasNext() - Method in class org.jgap.audit.Evaluator
 
hasNext() - Method in class org.jgap.audit.PermutingConfiguration
 

I

IApplicationData - Interface in org.jgap
The Chromosome class allows to attach a custom object that is ignored by the genetic operations.
IChromosome - Interface in org.jgap
Interface for chromosomes.
IChromosomePool - Interface in org.jgap
Interface for chromosome pools (e.g., see class ChromosomePool).
ICloneHandler - Interface in org.jgap
Interface for handlers capable of cloning specific classes.
ICommand - Interface in org.jgap.util
Interface for commands (part of the Command pattern)
ICompareToHandler - Interface in org.jgap
Interface for handlers capable of comparing instances of specific classes.
ICompositeGene - Interface in org.jgap
Interface for Genes being composed by other genes.
IConfigInfo - Interface in org.jgap.data.config
Interface a ConfigWriter uses to get the information from a ConfigFrame.
IDataCreators - Interface in org.jgap.data
The IDataCreators interface represents an entity comparable to org.w3c.dom.Document
IDataElement - Interface in org.jgap.data
The IDataElement interface represents an entity comparable to org.w3c.dom.Element
IDataElementList - Interface in org.jgap.data
IDataElementList is an interface describing a list of IDataElement elements
IEventManager - Interface in org.jgap.event
Interface for event managers (e.g., see class EventManager).
If - Class in org.jgap.gp.function
The if-then construct.
If(GPConfiguration, Class) - Constructor for class org.jgap.gp.function.If
 
IfElse - Class in org.jgap.gp.function
The if-then-else construct.
IfElse(GPConfiguration, Class) - Constructor for class org.jgap.gp.function.IfElse
 
IGeneConstraintChecker - Interface in org.jgap
Interface for checking whether a given allele value is valid to be set for a given gene instance.
IGeneticOperatorConstraint - Interface in org.jgap
Interface for a constraint checker that determines whether a genetic operation should be executed for a given list of chromosomes. it is possible considering the caller.
IGPChromosome - Interface in org.jgap.gp
Interface for GP chromosomes.
IGPFitnessEvaluator - Interface in org.jgap.gp
Interface for a fitness evaluator used in a Genotype to determine how to interpret the fitness value.
IGPGeneticOperator - Interface in org.jgap.gp
Interface for genetic operators suitable for GP.
IGPProgram - Interface in org.jgap.gp
Interface for GP programs.
IHandler - Interface in org.jgap
Interface for handlers capable of doing somethign specific.
IInitializer - Interface in org.jgap
Interface for handlers capable of initializing specific classes.
IJGAPFactory - Interface in org.jgap
Interface for central factory, see JGAPFactory.
implementsInterface(Class, Class) - Static method in class org.jgap.util.ClassKit
 
ImproperXMLException - Exception in org.jgap.xml
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 exception org.jgap.xml.ImproperXMLException
Constructs a new ImproperXMLException instance with the given error message.
IMutateable - Interface in org.jgap.gp
Interface for GP commands that are mutateable.
INaturalGPSelector - Interface in org.jgap.gp
Interface for algorithms selecting individuals for evolutionary operations.
INaturalSelector - Interface in org.jgap
Natural selectors are responsible for actually selecting a specified number of Chromosome specimens from a population, using the fitness values as a guide.
Increment - Class in org.jgap.gp.function
The increment operation.
Increment(GPConfiguration, Class) - Constructor for class org.jgap.gp.function.Increment
Constructor for using an increment of 1.
Increment(GPConfiguration, Class, int) - Constructor for class org.jgap.gp.function.Increment
Constructor to freely choose increment.
Increment.Compatible - Interface in org.jgap.gp.function
 
incrementGenerationNr() - Method in class org.jgap.Configuration
 
incrementVersion() - Method in class org.jgap.distr.CultureMemoryCell
Increment version number and keep track of current time.
index - Variable in class org.jgap.audit.Evaluator.ChromosomeData
 
informParent() - Method in class org.jgap.distr.Breeder
 
init() - Method in class org.jgap.audit.PermutingConfiguration
 
init() - Method in class org.jgap.data.config.MetaConfig
Read the meta-config file and load it in memory.
init() - Method in class org.jgap.gp.CommandGene
Initializations, called from each Constructor.
initFromGene(Gene) - Method in class org.jgap.Chromosome
 
INodeValidator - Interface in org.jgap.gp
A node validator checks whether a certain node is valid for a given evolution.
instance() - Static method in class org.jgap.data.config.ConfigFileReader
Method to create and access the Singleton ConfigFileReader instance.
INTEGER_RANGE - Static variable in class org.jgap.impl.IntegerGene
Represents the constant range of values supported by integers.
IntegerClass - Static variable in class org.jgap.gp.CommandGene
 
IntegerGene - Class in org.jgap.impl
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(Configuration) - Constructor for class org.jgap.impl.IntegerGene
Constructs a new IntegerGene with default settings.
IntegerGene(Configuration, 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.
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.
InvalidConfigurationException - Exception in org.jgap
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 exception org.jgap.InvalidConfigurationException
Constructs a new InvalidConfigurationException instance with the given error message.
InversionOperator - Class in org.jgap.impl
The inversion operator randomly selects one chromosomes from the population and inverses it by randomly picking a splitting locus on which to swap the first part with the last part of the chromosome.
InversionOperator() - Constructor for class org.jgap.impl.InversionOperator
Default constructor.
InversionOperator(Configuration) - Constructor for class org.jgap.impl.InversionOperator
Constructs a new instance of this operator.
IPopulationMerger - Interface in org.jgap.distr
Interface for implementations allowing to merge two or more independent Population's to be merged together into one Population.
isAffectGlobalState() - Method in class org.jgap.gp.CommandGene
 
isAffectGlobalState() - Method in class org.jgap.gp.function.Push
 
isAffectGlobalState() - Method in class org.jgap.gp.function.StoreTerminal
 
isAffectGlobalState() - Method in class org.jgap.gp.function.TransferMemory
 
isChanged() - Method in class org.jgap.gp.impl.GPPopulation
 
isChanged() - Method in class org.jgap.Population
 
isCompareApplicationData() - Method in class org.jgap.BaseGene
 
isCompareApplicationData() - Method in class org.jgap.Chromosome
 
isCompareApplicationData() - Method in interface org.jgap.Gene
 
isCompareApplicationData() - Method in class org.jgap.gp.CommandGene
 
isCompareApplicationData() - Method in class org.jgap.gp.impl.ProgramChromosome
 
isEmpty() - Method in class org.jgap.impl.ChainOfSelectors
 
isEmpty() - Method in class org.jgap.impl.CompositeGene
 
isFitter(double, double) - Method in class examples.multiobjective.MOFitnessEvaluator
Not to be called in multi-objectives context!
isFitter(IChromosome, IChromosome) - Method in class examples.multiobjective.MOFitnessEvaluator
 
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(IChromosome, IChromosome) - Method in class org.jgap.DefaultFitnessEvaluator
 
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(IChromosome, IChromosome) - Method in class org.jgap.DeltaFitnessEvaluator
 
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.
isFitter(IChromosome, IChromosome) - Method in interface org.jgap.FitnessEvaluator
 
isFitter(double, double) - Method in interface org.jgap.gp.IGPFitnessEvaluator
Compares the first given fitness value with the second and returns true if the first one is greater than the second one.
isFitter(IGPProgram, IGPProgram) - Method in interface org.jgap.gp.IGPFitnessEvaluator
 
isFitter(double, double) - Method in class org.jgap.gp.impl.DefaultGPFitnessEvaluator
Compares the first given fitness value with the second and returns true if the first one is greater than the second one.
isFitter(IGPProgram, IGPProgram) - Method in class org.jgap.gp.impl.DefaultGPFitnessEvaluator
 
isFloatType() - Method in class org.jgap.gp.CommandGene
 
isHandlerFor(Object, Class) - Method in class examples.distinctGenes.MyChromosome
 
isHandlerFor(Object, Class) - Method in class org.jgap.Chromosome
Determines whether the handler is suitable for the given object instance or class.
isHandlerFor(Object, Class) - Method in interface org.jgap.IHandler
Determines whether the handler is suitable for the given object instance or class.
isHandlerFor(Object, Class) - Method in class org.jgap.impl.DefaultCloneHandler
Handles all implementations of IApplicationData as well as all of java.lang.Cloneable (for which the clone-method is accessible via reflection.
isHandlerFor(Object, Class) - Method in class org.jgap.impl.DefaultCompareToHandler
 
isHandlerFor(Object, Class) - Method in class org.jgap.impl.DefaultInitializer
 
isIntegerType() - Method in class org.jgap.gp.CommandGene
 
isKeepPopulationSizeConstant() - Method in class org.jgap.Configuration
See setKeepPopulationSizeConstant for description.
isLeaf() - Method in class org.jgap.gp.impl.JGAPTreeNode
 
isLocked() - Method in class org.jgap.Configuration
Retrieves the lock status of this object.
isPossible(Class, CommandGene[], boolean, boolean) - Method in class org.jgap.gp.impl.ProgramChromosome
Determines whether there exists a function or terminal in the given node set with the given type.
isPreserveFittestIndividual() - Method in class org.jgap.Configuration
 
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.
isSelectedForNextGeneration() - Method in interface org.jgap.IChromosome
Retrieves whether this Chromosome has been selected by the natural selector to continue to the next generation.
isSorted() - Method in class org.jgap.Population
 
isStrictProgramCreation() - Method in class org.jgap.gp.impl.GPConfiguration
 
isUseCaching() - Method in class org.jgap.impl.JGAPFactory
 
isValid(Gene[], Supergene) - Method in class examples.supergene.NickelsPenniesSupergene
 
isValid(ProgramChromosome) - Method in class org.jgap.gp.CommandGene
Subclasses capable of validating programs should overwrite this method.
isValid(ProgramChromosome, int) - Method in class org.jgap.gp.CommandGene
 
isValid(ProgramChromosome) - Method in class org.jgap.gp.function.ADF
 
isValid(ProgramChromosome) - Method in class org.jgap.gp.function.ForLoop
 
isValid(ProgramChromosome) - Method in class org.jgap.gp.function.ForXLoop
 
isValid(ProgramChromosome) - Method in class org.jgap.gp.function.Loop
 
isValid(ProgramChromosome) - Method in class org.jgap.gp.function.Pop
 
isValid(ProgramChromosome) - Method in class org.jgap.gp.function.Push
 
isValid(ProgramChromosome) - Method in class org.jgap.gp.function.ReadTerminal
 
isValid(ProgramChromosome) - Method in class org.jgap.gp.function.StoreTerminal
 
isValid(ProgramChromosome) - Method in class org.jgap.gp.function.SubProgram
 
isValid(ProgramChromosome) - Method in class org.jgap.gp.function.TransferMemory
 
isValid(Population, List, GeneticOperator) - Method in interface org.jgap.IGeneticOperatorConstraint
 
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() - Method in interface org.jgap.supergenes.Supergene
Test the allele combination of this supergene for validity.
isValid(Gene[], Supergene) - Method in interface org.jgap.supergenes.SupergeneValidator
Return true if this gene combination is valid for the given supergene
isValid(Gene[], Supergene) - Method in class org.jgap.supergenes.Validator
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
 
itemNames - Static variable in class examples.knapsack.KnapsackMain
Names of arbitrary items, only for outputting something imaginable
itemVolumes - Static variable in class examples.knapsack.KnapsackMain
Volumes of arbitrary items in ccm
iterator() - Method in class org.jgap.impl.ChainOfSelectors
 
iterator() - Method in class org.jgap.Population
 
IUniversalRateCalculator - Interface in org.jgap
Interface for a calculator that determines a dynamic rate.
IWorker - Interface in org.jgap.distr
Interface for workers processing requests from an IMaster instance.

J

JGAPAdmin - Class in examples.grid
 
JGAPAdmin() - Constructor for class examples.grid.JGAPAdmin
 
JGAPClient - Class in examples.grid
 
JGAPClient(GridNodeClientConfig) - Constructor for class examples.grid.JGAPClient
 
JGAPClient.RenderingFeedback - Class in examples.grid
 
JGAPClient.RenderingFeedback() - Constructor for class examples.grid.JGAPClient.RenderingFeedback
 
JGAPFactory - Class in org.jgap.impl
Central factory for creating default objects to use, e.g. random generators.
JGAPFactory(boolean) - Constructor for class org.jgap.impl.JGAPFactory
 
JGAPServer - Class in examples.grid
 
JGAPServer(String[]) - Constructor for class examples.grid.JGAPServer
 
JGAPTreeBranchRenderer - Class in org.jgap.gp.impl
Renders the branches' colors of a tree to display.
JGAPTreeBranchRenderer() - Constructor for class org.jgap.gp.impl.JGAPTreeBranchRenderer
 
JGAPTreeNode - Class in org.jgap.gp.impl
A CommandGene represented as a tree node.
JGAPTreeNode(ProgramChromosome, int) - Constructor for class org.jgap.gp.impl.JGAPTreeNode
 
JGAPTreeNodeRenderer - Class in org.jgap.gp.impl
Renders the nodes' colors of a tree to display.
JGAPTreeNodeRenderer() - Constructor for class org.jgap.gp.impl.JGAPTreeNodeRenderer
 
JGAPWorker - Class in examples.grid
 
JGAPWorker(GridNodeWorkerConfig) - Constructor for class examples.grid.JGAPWorker
 

K

keepHistory(Object, int, String) - Method in class org.jgap.distr.CultureMemoryCell
Puts an entry into history.
keepPopSizeConstant(Population, int) - Method in class org.jgap.Genotype
Cares that the population size does not exceed the given maximum size.
KeyedValue - Class in org.jgap.audit
A (key, value) tupel.
KeyedValue(Comparable, Number) - Constructor for class org.jgap.audit.KeyedValue
Creates a new (key, value) tupel.
KeyedValues - Class in org.jgap.audit
A collection of (key, value) tupels
KeyedValues() - Constructor for class org.jgap.audit.KeyedValues
Creates a new collection (initially empty).
KeyedValues2D - Class in org.jgap.audit
A collection of (row, column) tupels
KeyedValues2D() - Constructor for class org.jgap.audit.KeyedValues2D
Constructor setting behavior: non-sorted keys
KeyedValues2D(boolean) - Constructor for class org.jgap.audit.KeyedValues2D
Constructor.
KnapsackFitnessFunction - Class in examples.knapsack
Fitness function for the knapsack example.
KnapsackFitnessFunction(double) - Constructor for class examples.knapsack.KnapsackFitnessFunction
 
KnapsackMain - Class in examples.knapsack
This class provides an implementation of the classic knapsack problem using a genetic algorithm.
KnapsackMain() - Constructor for class examples.knapsack.KnapsackMain
 

L

leftButtonPressed() - Method in class org.jgap.gui.ConfigFrame.ListGroup
Move selected items from the output list back to the list.
listen() - Method in class org.jgap.distr.WorkerListener
Listens to a request.
lockSettings() - Method in class org.jgap.Configuration
Locks all of the settings in this configuration object.
LongClass - Static variable in class org.jgap.gp.CommandGene
 
Loop - Class in org.jgap.gp.function
A loop.
Loop(GPConfiguration, Class, int) - Constructor for class org.jgap.gp.function.Loop
Constructor.
LRUCache - Class in org.jgap.util
 
LRUCache(int) - Constructor for class org.jgap.util.LRUCache
 

M

m_fitnessValue - Variable in class org.jgap.Chromosome
Stores the fitness value of this Chromosome as determined by the active fitness function.
m_IPAddress - Variable in class org.jgap.distr.MasterInfo
 
m_name - Variable in class org.jgap.distr.MasterInfo
 
m_validator - Variable in class org.jgap.supergenes.AbstractSupergene
A validator (initially set to this
main(String[]) - Static method in class examples.audit.CoinsExample
 
main(String[]) - Static method in class examples.chromInit.ChromosomeInit
 
main(String[]) - Static method in class examples.config.MaximizingFunction
Starting the example
Main - Class in examples.distinctGenes
Simple class that demonstrates how to configure JGAP to use differently composed genes.
Main() - Constructor for class examples.distinctGenes.Main
 
main(String[]) - Static method in class examples.distinctGenes.Main
Starts the example
main(String[]) - Static method in class examples.dynamicMutation.DynamicMutationExample
Main method.
main(String[]) - Static method in class examples.energy.CoinsEnergy
Main method.
main(String[]) - Static method in class examples.gp.Fibonacci
Starts the example.
main(String[]) - Static method in class examples.gp.Fibonacci
Starts the example.
main(String[]) - Static method in class examples.gp.MathProblem
Starts the example.
main(String[]) - Static method in class examples.gp.MathProblem
Starts the example.
main(String[]) - Static method in class examples.grid.JGAPAdmin
 
main(String[]) - Static method in class examples.grid.JGAPClient
 
main(String[]) - Static method in class examples.grid.JGAPServer
 
main(String[]) - Static method in class examples.grid.JGAPWorker
 
main(String[]) - Static method in class examples.grid.ServerAndWorker
Convenience (demo) start of both the server and a worker
main(String[]) - Static method in class examples.knapsack.KnapsackMain
Main method.
main(String[]) - Static method in class examples.MinimizingMakeChange
Main method.
main(String[]) - Static method in class examples.multiobjective.MultiObjectiveExample
Main method to run the example.
main(String[]) - Static method in class examples.salesman.TravellingSalesman
Solve a sample task with the number of cities, defined in a CITIES constant.
main(String[]) - Static method in class examples.simpleBoolean.SimpleExample
Starts the example.
main(String[]) - Static method in class examples.supergene.Force
Test the Force method itself.
main(String[]) - Static method in class examples.supergene.SupergeneSample
 
main(String[]) - Static method in class examples.supergene.SupergenesPerformanceTest
Starts the performance test
main(String[]) - Static method in class org.jgap.gui.GUIManager
Main method for the GUI
main(String[]) - Static method in class org.jgap.util.ClassKit
 
main(String[]) - Static method in class org.jgap.util.PluginDiscoverer
For testing purpose
makeChangeForAmount(int) - Static method in class examples.audit.CoinsExample
Executes the genetic algorithm to determine the minimum number of coins necessary to make up the given target amount of change.
makeChangeForAmount(int) - Static method in class examples.dynamicMutation.DynamicMutationExample
Executes the genetic algorithm to determine the minimum number of coins necessary to make up the given target amount of change.
makeChangeForAmount(int, double) - Static method in class examples.energy.CoinsEnergy
Executes the genetic algorithm to determine the minimum number of coins necessary to make up the given target amount of change.
makeChangeForAmount(int) - Static method in class examples.MinimizingMakeChange
Executes the genetic algorithm to determine the minimum number of coins necessary to make up the given target amount of change.
makeChangeForAmount(int) - Method in class examples.supergene.AbstractSupergeneTest
Executes the genetic algorithm to determine the minimum number of coins necessary to make up the given target amount of change.
makeChangeForAmount(int) - Method in class examples.supergene.SupergeneSample
Executes the genetic algorithm to determine the minimum number of coins necessary to make up the given target amount of change.
makeKey(Object) - Method in class org.jgap.Configuration
 
MapGene - Class in org.jgap.impl
ATTENTION: This class is preliminary and subject of future adaptations!
MapGene() - Constructor for class org.jgap.impl.MapGene
Default constructor.
MapGene(Configuration) - Constructor for class org.jgap.impl.MapGene
 
MapGene(Configuration, Map) - Constructor for class org.jgap.impl.MapGene
Constructor setting up valid alleles directly.
mapValueToWithinBounds() - Method in class org.jgap.impl.DoubleGene
Maps the value of this DoubleGene to within the bounds specified by the m_upperBounds and m_lowerBounds instance variables.
mapValueToWithinBounds() - Method in class org.jgap.impl.IntegerGene
Maps the value of this IntegerGene to within the bounds specified by the m_upperBounds and m_lowerBounds instance variables.
mapValueToWithinBounds() - Method in class org.jgap.impl.NumberGene
Maps the value of this NumberGene to within the bounds specified by the m_upperBounds and m_lowerBounds instance variables.
Master - Class in org.jgap.distr
Represents an IMaster instance.
Master(RequestDispatcher, WorkerListener) - Constructor for class org.jgap.distr.Master
Constructor.
MasterInfo - Class in org.jgap.distr
Holds information about an IMaster instance and allows to communicate with it.
MasterInfo() - Constructor for class org.jgap.distr.MasterInfo
 
MasterListener - Class in org.jgap.distr
Represents a listener for requests from the master to his workers
MasterListener() - Constructor for class org.jgap.distr.MasterListener
 
MathCommand - Class in org.jgap.gp
Abstract base class for GP-commands related to mathematical calculation.
MathCommand(GPConfiguration, int, Class) - Constructor for class org.jgap.gp.MathCommand
 
MathProblem - Class in examples.gp
Example demonstrating Genetic Programming (GP) capabilities of JGAP.
MathProblem - Class in examples.gp
Example demonstrating Genetic Programming (GP) capabilities of JGAP.
MathProblem(GPConfiguration) - Constructor for class examples.gp.MathProblem
 
MathProblem(GPConfiguration) - Constructor for class examples.gp.MathProblem
 
MathProblem.FormulaFitnessFunction - Class in examples.gp
 
MathProblem.FormulaFitnessFunction - Class in examples.gp
 
MathProblem.FormulaFitnessFunction() - Constructor for class examples.gp.MathProblem.FormulaFitnessFunction
 
MathProblem.FormulaFitnessFunction() - Constructor for class examples.gp.MathProblem.FormulaFitnessFunction
 
MAX_ALLOWED_EVOLUTIONS - Static variable in class examples.supergene.AbstractSupergeneTest
The total number of times we'll let the population evolve.
MAX_BOUND - Static variable in class examples.audit.CoinsExampleFitnessFunction
 
MAX_BOUND - Static variable in class examples.dynamicMutation.DynamicMutationFitnessFunction
 
MAX_BOUND - Static variable in class examples.energy.CoinsEnergyFitnessFunction
 
MAX_BOUND - Static variable in class examples.knapsack.KnapsackFitnessFunction
 
MAX_BOUND - Static variable in class examples.MinimizingMakeChangeFitnessFunction
 
MAX_BOUND - Static variable in class examples.multiobjective.MultiObjectiveFitnessFunction
 
MAX_FITNESS - Static variable in class org.jgap.impl.fitness.TruthTableFitnessFunction
 
MAX_FITNESS_VALUE - Static variable in class org.jgap.gp.GPFitnessFunction
 
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.
MAX_WEIGHT - Static variable in class examples.energy.CoinsEnergyFitnessFunction
 
MAX_X - Static variable in class examples.multiobjective.MultiObjectiveFitnessFunction
 
MaxFunction - Class in examples.chromInit
Fitness function for our example.
MaxFunction() - Constructor for class examples.chromInit.MaxFunction
 
MaxFunction - Class in examples.simpleBoolean
Fitness function for our example.
MaxFunction() - Constructor for class examples.simpleBoolean.MaxFunction
 
MaximizingFunction - Class in examples.config
This class is to test the working of JGAP with a config file provided for configuring JGAP.
MaximizingFunction() - Constructor for class examples.config.MaximizingFunction
Default Constructor
MaximizingFunctionFitnessFunction - Class in examples.config
Sample Fitness function for the MaximizingFunction problem.
MaximizingFunctionFitnessFunction() - Constructor for class examples.config.MaximizingFunctionFitnessFunction
 
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
 
MetaConfig - Class in org.jgap.data.config
This class provides an interface to the configuration information to create a JGAP Configuration GUI.
MetaConfigException - Exception in org.jgap.data.config
Exception throw when there is an error reading or loading the config file describing the GUI for JGAP configuration.
MetaConfigException(String) - Constructor for exception org.jgap.data.config.MetaConfigException
Constructs a new MetaConfigException instance with the given error message.
MIN_X - Static variable in class examples.multiobjective.MultiObjectiveFitnessFunction
 
MinimizingMakeChange - Class in examples
This class provides an implementation of the classic "Make change" problem using a genetic algorithm.
MinimizingMakeChange() - Constructor for class examples.MinimizingMakeChange
 
MinimizingMakeChangeFitnessFunction - Class in examples
Sample fitness function for the MakeChange example.
MinimizingMakeChangeFitnessFunction(int) - Constructor for class examples.MinimizingMakeChangeFitnessFunction
 
Modulo - Class in org.jgap.gp.function
The modulo operation.
Modulo(GPConfiguration, Class) - Constructor for class org.jgap.gp.function.Modulo
 
Modulo.Compatible - Interface in org.jgap.gp.function
 
MOFitnessEvaluator - Class in examples.multiobjective
Fitness evaluator for multi objectives examples.
MOFitnessEvaluator() - Constructor for class examples.multiobjective.MOFitnessEvaluator
 
MultiObjectiveExample - Class in examples.multiobjective
Example for a multiobjective problem.
MultiObjectiveExample() - Constructor for class examples.multiobjective.MultiObjectiveExample
 
MultiObjectiveExample.MOFitnessComparator - Class in examples.multiobjective
 
MultiObjectiveExample.MOFitnessComparator() - Constructor for class examples.multiobjective.MultiObjectiveExample.MOFitnessComparator
 
MultiObjectiveFitnessFunction - Class in examples.multiobjective
Sample fitness function for the multiobjective problem.
MultiObjectiveFitnessFunction() - Constructor for class examples.multiobjective.MultiObjectiveFitnessFunction
 
Multiply - Class in org.jgap.gp.function
The multiply operation.
Multiply(GPConfiguration, Class) - Constructor for class org.jgap.gp.function.Multiply
 
Multiply.Compatible - Interface in org.jgap.gp.function
 
Multiply3 - Class in org.jgap.gp.function
The multiply operation with three argument (X * Y * Z).
Multiply3(GPConfiguration, Class) - Constructor for class org.jgap.gp.function.Multiply3
 
Multiply3.Compatible - Interface in org.jgap.gp.function
 
MutationOperator - Class in org.jgap.impl
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(Configuration) - Constructor for class org.jgap.impl.MutationOperator
 
MutationOperator(Configuration, 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(Configuration, int) - Constructor for class org.jgap.impl.MutationOperator
Constructs a new instance of this MutationOperator with the given mutation rate.
MyChromosome - Class in examples.distinctGenes
Sample class: Descendent of Chromosome that creates Chromosomes with n CompositeGenes.
MyChromosome() - Constructor for class examples.distinctGenes.MyChromosome
 
MyChromosome(Configuration) - Constructor for class examples.distinctGenes.MyChromosome
 
MyChromosome(Configuration, int) - Constructor for class examples.distinctGenes.MyChromosome
 
MyChromosome(Configuration, Gene, int) - Constructor for class examples.distinctGenes.MyChromosome
 
MyChromosome(Configuration, Gene, int, IGeneConstraintChecker) - Constructor for class examples.distinctGenes.MyChromosome
 
MyClientFeedback - Interface in examples.grid
 
MyGAClient - Class in examples.grid
 
MyGAClient(GridNodeClientConfig, MyClientFeedback, MyRequest) - Constructor for class examples.grid.MyGAClient
 
MyGAWorker - Class in examples.grid
 
MyGAWorker() - Constructor for class examples.grid.MyGAWorker
 
MyRequest - Class in examples.grid
 
MyRequest(String, int, Configuration) - Constructor for class examples.grid.MyRequest
 
MyResult - Class in examples.grid
 
MyResult(String, int, IChromosome, long) - Constructor for class examples.grid.MyResult
 
MyWorkerFeedback - Class in examples.grid
 
MyWorkerFeedback() - Constructor for class examples.grid.MyWorkerFeedback
 

N

NaturalSelector - Class in org.jgap
Abstract base implementation of interface INaturalSelector.
NaturalSelector(Configuration) - Constructor for class org.jgap.NaturalSelector
 
NaturalSelector.FitnessValueComparator - Class in org.jgap
Comparator regarding only the fitness value.
NaturalSelector.FitnessValueComparator() - Constructor for class org.jgap.NaturalSelector.FitnessValueComparator
 
NetworkKit - Class in org.jgap.util
Houses network-related functionality.
newDocument() - Method in class org.jgap.data.DataElementsDocument
 
newDocument() - Method in interface org.jgap.data.IDataCreators
Constructs a new instance of the entity implementing IDataCreators
newGene() - Method in class org.jgap.BaseGene
Provides implementation-independent means for creating new Gene instances.
newGene() - Method in interface org.jgap.Gene
Provides an implementation-independent means for creating new Gene instances.
newGeneInternal() - Method in class org.jgap.BaseGene
 
newGeneInternal() - Method in class org.jgap.impl.BooleanGene
Provides an implementation-independent means for creating new Gene instances.
newGeneInternal() - Method in class org.jgap.impl.CompositeGene
Provides an implementation-independent means for creating new Gene instances.
newGeneInternal() - Method in class org.jgap.impl.DoubleGene
Provides an implementation-independent means for creating new Gene instances.
newGeneInternal() - Method in class org.jgap.impl.FixedBinaryGene
 
newGeneInternal() - Method in class org.jgap.impl.IntegerGene
Provides implementation-independent means for creating new Gene instances.
newGeneInternal() - Method in class org.jgap.impl.MapGene
 
newGeneInternal() - Method in class org.jgap.impl.SetGene
 
newGeneInternal() - Method in class org.jgap.impl.StringGene
Provides an implementation-independent means for creating new Gene instances.
newGeneInternal() - 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.
next() - Method in class org.jgap.audit.Evaluator
 
next() - Method in class org.jgap.audit.PermutingConfiguration
 
nextBit() - Method in class org.jgap.util.randomX
 
nextBoolean() - Method in class org.jgap.impl.CauchyRandomGenerator
 
nextBoolean() - Method in class org.jgap.impl.GaussianRandomGenerator
 
nextBoolean() - Method in interface org.jgap.RandomGenerator
Returns the next pseudorandom, uniformly distributed boolean value from this random number generator's sequence.
nextByte() - Method in class org.jgap.util.randomHotBits
Get next byte from generator.
nextByte() - Method in class org.jgap.util.randomJava
Get next byte from generator.
nextByte() - Method in class org.jgap.util.randomLCG
Get next byte from generator.
nextByte() - Method in class org.jgap.util.randomLEcuyer
Get next byte from generator.
nextByte() - Method in class org.jgap.util.randomMCG
Get next byte from generator.
nextByte() - Method in class org.jgap.util.randomX
Return next [pseudo]random byte from low level generator.
nextByte(byte[], int) - Method in class org.jgap.util.randomX
Fill a portion of an array of bytes with random data.
nextByte(byte[]) - Method in class org.jgap.util.randomX
Fill an array of bytes with random data.
nextCauchy() - Method in class org.jgap.impl.CauchyRandomGenerator
Calculate Cumulative Cauchy distribution function.
nextDouble() - Method in class org.jgap.impl.CauchyRandomGenerator
 
nextDouble() - Method in class org.jgap.impl.GaussianRandomGenerator
 
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.util.randomX
 
nextFloat() - Method in class org.jgap.impl.CauchyRandomGenerator
 
nextFloat() - 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.util.randomX
 
nextGaussian() - Method in class org.jgap.util.randomX
 
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
 
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.util.randomX
 
nextLong() - Method in class org.jgap.impl.CauchyRandomGenerator
 
nextLong() - 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.util.randomX
 
nextShort() - Method in class org.jgap.util.randomX
 
NICKELS - Static variable in class examples.supergene.AbstractSupergeneTest
Gene index for the nickels gene Only used in the alternative presentation
NickelsPenniesSupergene - Class in examples.supergene
Supergene to hold pennies and nickels.
NickelsPenniesSupergene() - Constructor for class examples.supergene.NickelsPenniesSupergene
Default constructor for dynamic instantiation
NickelsPenniesSupergene(Configuration) - Constructor for class examples.supergene.NickelsPenniesSupergene
 
NickelsPenniesSupergene(Configuration, Gene[]) - Constructor for class examples.supergene.NickelsPenniesSupergene
 
NO_FITNESS_VALUE - Static variable in class org.jgap.FitnessFunction
 
NO_FITNESS_VALUE - Static variable in class org.jgap.gp.GPFitnessFunction
 
NOP - Class in org.jgap.gp.terminal
NO Operation.
NOP(GPConfiguration) - Constructor for class org.jgap.gp.terminal.NOP
 
Not - Class in org.jgap.gp.function
The boolean not operation.
Not(GPConfiguration) - Constructor for class org.jgap.gp.function.Not
 
NumberGene - Class in org.jgap.impl
Base class for all Genes based on numbers.
NumberGene(Configuration) - Constructor for class org.jgap.impl.NumberGene
 
numFunctions() - Method in class org.jgap.gp.BaseGPChromosome
 
numFunctions(Class) - Method in class org.jgap.gp.BaseGPChromosome
Counts the number of functions of the given type in this chromosome.
numFunctions() - Method in interface org.jgap.gp.IGPChromosome
 
numFunctions(Class) - Method in interface org.jgap.gp.IGPChromosome
Counts the number of functions of the given type in this chromosome.
numTerminals() - Method in class org.jgap.gp.BaseGPChromosome
 
numTerminals(Class) - Method in class org.jgap.gp.BaseGPChromosome
Counts the number of terminals of the given type in this chromosome.
numTerminals() - Method in interface org.jgap.gp.IGPChromosome
 
numTerminals(Class) - Method in interface org.jgap.gp.IGPChromosome
Counts the number of terminals of the given type in this chromosome.

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(IGPProgram, IGPProgram) - Method in class org.jgap.gp.CrossMethod
 
operate(IGPProgram, IGPProgram) - Method in class org.jgap.gp.impl.BranchTypingCross
Crosses two individuals.
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
 
operate(Population, List) - Method in class org.jgap.impl.GaussianMutationOperator
Executes the operation.
operate(Population, List) - Method in class org.jgap.impl.GreedyCrossover
 
operate(IChromosome, IChromosome) - Method in class org.jgap.impl.GreedyCrossover
Performs a greedy crossover for the two given chromosoms.
operate(Gene[], Gene[]) - Method in class org.jgap.impl.GreedyCrossover
 
operate(Population, List) - Method in class org.jgap.impl.InversionOperator
 
operate(Population, List) - Method in class org.jgap.impl.MutationOperator
 
operate(Population, List) - Method in class org.jgap.impl.SwappingMutationOperator
 
operate(IChromosome, int, RandomGenerator) - Method in class org.jgap.impl.SwappingMutationOperator
Operate on the given chromosome with the given mutation rate.
operate(RandomGenerator, int, Gene[]) - Method in class org.jgap.impl.SwappingMutationOperator
Operate on the given array of genes.
operate(Population, List) - Method in class org.jgap.impl.TwoWayMutationOperator
 
Or - Class in org.jgap.gp.function
The boolean or operation.
Or(GPConfiguration) - Constructor for class org.jgap.gp.function.Or
 
org.jgap - package org.jgap
Houses the interfaces and classes that make up the core of JGAP.
org.jgap.audit - package org.jgap.audit
Functions related to evaluating the behaviour of JGAP JGAP.
org.jgap.data - package org.jgap.data
Related to persisting the state of JGAP objects (Genotype, Chromosome etc.)
org.jgap.data.config - package org.jgap.data.config
Related to configuring JGAP
org.jgap.distr - package org.jgap.distr
Distributed Computing of populations of a Genetic Algorithm
org.jgap.eval - package org.jgap.eval
Auditing performance of JGAP with different configurations
org.jgap.event - package org.jgap.event
Contains classes and interfaces related to the generation and handling of JGAP events.
org.jgap.gp - package org.jgap.gp
Genetic Programming functionality (abstract classes and interfaces)
org.jgap.gp.function - package org.jgap.gp.function
Functions to use with Genetic Programming.
org.jgap.gp.impl - package org.jgap.gp.impl
Genetic Programming classes, non-abstract, no interfaces
org.jgap.gp.terminal - package org.jgap.gp.terminal
Terminals to use with Genetic Programming.
org.jgap.gui - package org.jgap.gui
Graphical user interface for JGAP
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.impl.fitness - package org.jgap.impl.fitness
Functionality related to fitness value computation
org.jgap.impl.salesman - package org.jgap.impl.salesman
Handling of Traveling Salesman Person (TSP) related problems
org.jgap.supergenes - package org.jgap.supergenes
Supergene represents several loci, which control closely related aspects of the phenotype.
org.jgap.util - package org.jgap.util
Houses common-sense utility classes used within JGAP.
org.jgap.xml - package org.jgap.xml
Writing/Reading JGAP object states (Genotype, Chromosome etc.) to/from XML documents
outputSolution(IGPProgram) - Method in class org.jgap.gp.impl.GPGenotype
Outputs the best solution currently found.

P

pause() - Method in interface org.jgap.distr.IWorker
Forces the worker to pause its work (can be resumed)
pause() - Method in class org.jgap.distr.Worker
Forces the worker to pause its work (can be resumed)
peekStack() - Method in class org.jgap.gp.impl.GPConfiguration
 
PENNIES - Static variable in class examples.supergene.AbstractSupergeneTest
Gene index for the pennies gene.
perform(Object, Class, Object) - Method in class examples.distinctGenes.MyChromosome
Performs a task for the given object or class. For some handlers, additional parameters are necessary, which could be provided.
perform(Object, Class, Object) - Method in class org.jgap.Chromosome
Performs a task for the given object or class.
perform(Object, Class, Object) - Method in interface org.jgap.IHandler
Performs a task for the given object or class.
perform(Object, Class, Object) - Method in class org.jgap.impl.DefaultCloneHandler
 
perform(Object, Class, Object) - Method in class org.jgap.impl.DefaultCompareToHandler
 
perform(Object, Class, Object) - Method in class org.jgap.impl.DefaultInitializer
 
permutation - Variable in class org.jgap.audit.Evaluator.GenotypeDataAvg
 
PermutingConfiguration - Class in org.jgap.audit
Configuration that allows for permutating several components of it for evaluation/auditing purposes.
PermutingConfiguration() - Constructor for class org.jgap.audit.PermutingConfiguration
 
PermutingConfiguration(Configuration) - Constructor for class org.jgap.audit.PermutingConfiguration
Initializes the configuration by preselecting important parameters from the input configuration object
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.
PluginDiscoverer - Class in org.jgap.util
This class will (slightly inefficiently) look for all classes that implement a particular interface.
PluginDiscoverer() - Constructor for class org.jgap.util.PluginDiscoverer
Reads the list of jars and classpath folders into instance variables for later (cached) access.
PluginDiscoverer.ClassFilter - Class in org.jgap.util
Filter that only matches class files
PluginDiscoverer.ClassFilter() - Constructor for class org.jgap.util.PluginDiscoverer.ClassFilter
 
PluginDiscoverer.DirectoryFilter - Class in org.jgap.util
Filter that only matches subdirectories
PluginDiscoverer.DirectoryFilter() - Constructor for class org.jgap.util.PluginDiscoverer.DirectoryFilter
 
Pool - Class in org.jgap.impl
A simple, generic pool class that can be used to pool any kind of object.
Pool() - Constructor for class org.jgap.impl.Pool
Constructor.
Pop - Class in org.jgap.gp.function
Pops a value from the stack after it has been pushed onto it (PushCommand)
Pop(GPConfiguration, Class) - Constructor for class org.jgap.gp.function.Pop
 
popFromStack() - Method in class org.jgap.gp.impl.GPConfiguration
 
Population - Class in org.jgap
List of chromosomes held in the Genotype (or possibly later in the Configuration object).
Population(Configuration) - Constructor for class org.jgap.Population
 
Population(Configuration, IChromosome[]) - Constructor for class org.jgap.Population
 
Population(Configuration, int) - Constructor for class org.jgap.Population
 
Population() - Constructor for class org.jgap.Population
 
POPULATION_SIZE - Static variable in class examples.supergene.AbstractSupergeneTest
Chromosome size.
PopulationHistory - Class in org.jgap.eval
Container for holding a given number of populations.
PopulationHistory(int) - Constructor for class org.jgap.eval.PopulationHistory
Constructor.
Pow - Class in org.jgap.gp.function
The power operation.
Pow(GPConfiguration, Class) - Constructor for class org.jgap.gp.function.Pow
 
Pow.Compatible - Interface in org.jgap.gp.function
 
Problem - Class in org.jgap.distr
A problem to be solved by a worker.
Problem() - Constructor for class org.jgap.distr.Problem
 
Problem(FitnessFunction, int, Chromosome[]) - Constructor for class org.jgap.distr.Problem
 
ProgramChromosome - Class in org.jgap.gp.impl
Chromosome representing a single GP Program.
ProgramChromosome(GPConfiguration, int, IGPProgram) - Constructor for class org.jgap.gp.impl.ProgramChromosome
 
ProgramChromosome(GPConfiguration, int, CommandGene[], Class[], IGPProgram) - Constructor for class org.jgap.gp.impl.ProgramChromosome
 
ProgramChromosome(GPConfiguration, CommandGene[]) - Constructor for class org.jgap.gp.impl.ProgramChromosome
 
ProgramChromosome(GPConfiguration) - Constructor for class org.jgap.gp.impl.ProgramChromosome
 
ProgramChromosome() - Constructor for class org.jgap.gp.impl.ProgramChromosome
Default constructor.
PROPERTY_BFITFNC_INST - Static variable in class org.jgap.Configuration
 
PROPERTY_EVENT_MGR_INST - Static variable in class org.jgap.Configuration
 
PROPERTY_FITEVAL_INST - Static variable in class org.jgap.Configuration
 
PROPERTY_FITFUNC_INST - Static variable in class org.jgap.Configuration
 
PROPERTY_JGAPFACTORY_CLASS - Static variable in class org.jgap.Configuration
Constant for class name of JGAP Factory to use.
PROPERTY_SAMPLE_CHROM_INST - Static variable in class org.jgap.Configuration
 
Push - Class in org.jgap.gp.function
Pushes a value onto the stack.
Push(GPConfiguration, Class) - Constructor for class org.jgap.gp.function.Push
 
pushIt(Object) - Method in class org.jgap.gp.function.Push
Helper method.
pushToStack(Object) - Method in class org.jgap.gp.impl.GPConfiguration
 

Q

QUARTERS - Static variable in class examples.supergene.AbstractSupergeneTest
Gene index for the quarters gene.

R

RandomGenerator - Interface in org.jgap
The RandomGenerator interface provides an abstraction for the random number implementation so that more rigorous or alternative implementations can be provided as desired.
randomHotBits - Class in org.jgap.util
Implementation of a randomX-compliant class which obtains genuine random data from John Walker's HotBits radioactive decay random sequence generator.
randomHotBits() - Constructor for class org.jgap.util.randomHotBits
Creates a new pseudorandom sequence generator.
randomInitialChromosome(Configuration) - 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.
randomInitialGenotype(GPConfiguration, Class[], Class[][], CommandGene[][], int, boolean) - Static method in class org.jgap.gp.impl.GPGenotype
Creates a genotype with initial population for the world set.
randomInitialGenotype(GPConfiguration, Class[], Class[][], CommandGene[][], int[], int[], int, boolean) - Static method in class org.jgap.gp.impl.GPGenotype
Creates a genotype with initial population for the world set.
randomInitialGenotype(GPConfiguration, Class[], Class[][], CommandGene[][], int[], int[], int, boolean[], boolean) - Static method in class org.jgap.gp.impl.GPGenotype
Creates a genotype with initial population for the world set.
randomInitialMyChromosome(Configuration) - Static method in class examples.distinctGenes.MyChromosome
 
randomJava - Class in org.jgap.util
Implementation of a randomX-compliant class based upon the built-in Java.util.Random generator.
randomJava() - Constructor for class org.jgap.util.randomJava
Creates a new pseudorandom number generator, seeded from the current time.
randomJava(long) - Constructor for class org.jgap.util.randomJava
Creates a new pseudorandom number generator with a specified seed.
randomLCG - Class in org.jgap.util
Implementation of a randomX-compliant class using the simple (and not very good) rand() linear congruential generator given as an example in the ANSI C specification.
randomLCG() - Constructor for class org.jgap.util.randomLCG
Creates a new pseudorandom number generator, seeded from the current time.
randomLCG(long) - Constructor for class org.jgap.util.randomLCG
Creates a new pseudorandom number generator with a specified seed.
randomLEcuyer - Class in org.jgap.util
Implementation of a randomX-compliant class using L'Ecuyer's two-sequence generator with a Bays-Durham shuffle, as described on page 282 of Press et al., Numerical Recipes in C, 2nd edition.
randomLEcuyer() - Constructor for class org.jgap.util.randomLEcuyer
Creates a new pseudorandom number generator, seeded from the current time.
randomLEcuyer(long) - Constructor for class org.jgap.util.randomLEcuyer
Creates a new pseudorandom number generator with a specified nonzero seed.
randomMCG - Class in org.jgap.util
Implementation of a randomX-compliant class using the "Minimal Standard" multiplicative congruential generator of Park and Miller.
randomMCG() - Constructor for class org.jgap.util.randomMCG
Creates a new pseudorandom number generator, seeded from the current time.
randomMCG(long) - Constructor for class org.jgap.util.randomMCG
Creates a new pseudorandom number generator with a specified nonzero seed.
randomX - Class in org.jgap.util
Abstract superclass for emulations of java.util.Random with various underlying generators.
randomX() - Constructor for class org.jgap.util.randomX
 
readConfig() - Method in interface org.jgap.data.config.ConfigurationHandler
Method that will populate a Configurable with the properties in the config file.
readConfig() - Method in class org.jgap.data.config.RootConfigurationHandler
Method that will populate an Configurable with the properties in the config file.
readFile(File) - Static method in class org.jgap.xml.XMLManager
Reads in an XML file and returns a Document object
readFromMemory(String) - Method in class org.jgap.gp.impl.GPConfiguration
Reads a value from the internal memory.
ReadTerminal - Class in org.jgap.gp.function
Reads a value from the internal memory.
ReadTerminal(GPConfiguration, Class, String) - Constructor for class org.jgap.gp.function.ReadTerminal
 
receivedFragmentResult(MyRequest, MyResult, int) - Method in class examples.grid.JGAPClient.RenderingFeedback
 
receivedFragmentResult(MyRequest, MyResult, int) - Method in interface examples.grid.MyClientFeedback
 
redepth() - Method in interface org.jgap.gp.IGPChromosome
Recalculate the depths of each node.
redepth() - Method in class org.jgap.gp.impl.ProgramChromosome
Recalculate the depths of each node.
redepth(int) - Method in class org.jgap.gp.impl.ProgramChromosome
Calculate the depth of the next node and the indices of the children of the current node.
registerCloneHandler(ICloneHandler) - Method in interface org.jgap.IJGAPFactory
Registers a clone handler that could be retrieved by getCloneHandlerFor(Class).
registerCloneHandler(ICloneHandler) - Method in class org.jgap.impl.JGAPFactory
Registers a clone handler that could be retrieved by getCloneHandlerFor(Class).
registerCompareToHandler(ICompareToHandler) - Method in interface org.jgap.IJGAPFactory
Registers a compareTo-handler that could be retrieved by getCompareToHandlerFor(Class).
registerCompareToHandler(ICompareToHandler) - Method in class org.jgap.impl.JGAPFactory
Registers a compareTo-handler that could be retrieved by getCompareToHandlerFor(Class).
registerInitializer(IInitializer) - Method in interface org.jgap.IJGAPFactory
Registers an initializer that could be retrieved by getInitializerFor(Class).
registerInitializer(IInitializer) - Method in class org.jgap.impl.JGAPFactory
Registers an initializer that could be retrieved by getInitializerFor(Class).
releaseAllObjects(Collection) - Method in class org.jgap.impl.Pool
Releases a Collection of objects to the pool.
releaseChromosome(IChromosome) - Method in interface org.jgap.IChromosomePool
Releases a Chromosome to the pool.
releaseChromosome(IChromosome) - 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.
removeAlleles(Object) - Method in class org.jgap.impl.MapGene
Removes a potential allele or set of alleles from the collection.
removeAlleles(Object) - Method in class org.jgap.impl.SetGene
Removes a potential allele or set of alleles from the collection.
removeAllPopulations() - Method in class org.jgap.eval.PopulationHistory
 
removeCloneHandler(int) - Method in class org.jgap.impl.JGAPFactory
Removes a clone handler at a given index (which is obtained from registerCloneHandler).
removeCompareToHandler(int) - Method in class org.jgap.impl.JGAPFactory
Removes a compareTo-handler at a given index (which is obtained from registerCompareToHandler).
removeEldestEntry(Map.Entry) - Method in class org.jgap.util.LRUCache
 
removeEventListener(String, GeneticEventListener) - Method in class org.jgap.event.EventManager
Removes the given listener from subscription of the indicated event.
removeEventListener(String, GeneticEventListener) - Method in interface org.jgap.event.IEventManager
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.
removeInitializer(int) - Method in class org.jgap.impl.JGAPFactory
Removes an initializer at a given index (which is obtained from registerInitializer).
removeNaturalSelectors(boolean) - Method in class org.jgap.Configuration
Removes all natural selectors (either pre or post ones)
report(SupergeneChangeFitnessFunction, Genotype) - Method in class examples.supergene.AbstractSupergeneTest
Write report on eveluation to the given stream.
REPORT_ENABLED - Static variable in class examples.supergene.AbstractSupergeneTest
 
REPORT_ENABLED - Static variable in class examples.supergene.Force
 
representChromosomeAsDocument(IChromosome) - Method in class org.jgap.data.DataTreeBuilder
Represent a Chromosome as a generic data type document, including its contained Gene instances.
representChromosomeAsDocument(IChromosome) - Static method in class org.jgap.xml.XMLManager
Deprecated. use XMLDocumentBuilder instead
representChromosomeAsElement(IChromosome) - Method in class org.jgap.data.DataTreeBuilder
Represent a Chromosome as a generic data element, including its contained Gene instances.
representChromosomeAsElement(IChromosome, 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
RequestDispatcher - Class in org.jgap.distr
 
RequestDispatcher() - Constructor for class org.jgap.distr.RequestDispatcher
 
reset() - Static method in class org.jgap.Configuration
SHOULD NOT BE NECESSARY TO CALL UNDER NORMAL CIRCUMSTANCES (may be useful for unit tests).
reset(String) - Static method in class org.jgap.Configuration
 
reset() - Static method in class org.jgap.supergenes.AbstractSupergene
Discards all internal caches, ensuring correct repetetive tests of performance.
resetProperty(String) - Static method in class org.jgap.Configuration
See Configuration.reset().
resetProperty(String, String) - Static method in class org.jgap.Configuration
 
resume() - Method in interface org.jgap.distr.IWorker
Forces the worker to resume a paused work
resume() - Method in class org.jgap.distr.Worker
Forces the worker to resume a paused work
retrieveGenotype(int, int) - Method in class org.jgap.audit.Evaluator
 
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
 
returnsUniqueChromosomes() - Method in interface org.jgap.INaturalSelector
 
rightButtonPressed() - Method in class org.jgap.gui.ConfigFrame.ListGroup
Move selected items from list to the output list.
RootConfigurationHandler - Class in org.jgap.data.config
The ConfigurationHandler for the Configuration class itself.
RootConfigurationHandler() - Constructor for class org.jgap.data.config.RootConfigurationHandler
 
run() - Method in class examples.grid.MyGAClient
 
run() - Method in class org.jgap.distr.Breeder
Runs the evolution.
run() - Method in class org.jgap.Genotype
If used with a Thread: runs the evolution forever.
run() - Method in class org.jgap.gp.impl.GPGenotype
Default implementation of method to run GPGenotype as a thread.

S

S_ALLELES - Static variable in interface org.jgap.IChromosome
 
S_APPLICATION_DATA - Static variable in class org.jgap.BaseGene
Constants for toString()
S_APPLICATION_DATA - Static variable in interface org.jgap.IChromosome
 
S_CHROMOSOME_SIZE - Static variable in class org.jgap.Configuration
 
S_CONFIGURATION - Static variable in class org.jgap.Configuration
Constants for toString()
S_CONFIGURATION_HANDLER - Static variable in class org.jgap.Configuration
 
S_CONFIGURATION_NAME - Static variable in class org.jgap.Configuration
 
S_EVENT_MANAGER - Static variable in class org.jgap.Configuration
 
S_FITNESS_EVALUATOR - Static variable in class org.jgap.Configuration
 
S_FITNESS_FUNCTION - Static variable in class org.jgap.Configuration
 
S_FITNESS_VALUE - Static variable in interface org.jgap.IChromosome
Constants for toString()
S_GENETIC_OPERATORS - Static variable in class org.jgap.Configuration
 
S_MINPOPSIZE - Static variable in class org.jgap.Configuration
 
S_NATURAL_SELECTORS - Static variable in class org.jgap.Configuration
 
S_NONE - Static variable in class org.jgap.Configuration
 
S_POPULATION_SIZE - Static variable in class org.jgap.Configuration
 
S_POST - Static variable in class org.jgap.Configuration
 
S_PRE - Static variable in class org.jgap.Configuration
 
S_RANDOM_GENERATOR - Static variable in class org.jgap.Configuration
 
S_SAMPLE_CHROM - Static variable in class org.jgap.Configuration
 
S_SIZE - Static variable in class org.jgap.Configuration
 
S_SIZE - Static variable in interface org.jgap.IChromosome
 
S_TOSTRING - Static variable in class org.jgap.Configuration
 
Salesman - Class in org.jgap.impl.salesman
The class solves the travelling salesman problem.
Salesman() - Constructor for class org.jgap.impl.salesman.Salesman
 
SalesmanFitnessFunction - Class in org.jgap.impl.salesman
The fitness function to solve the Travelling Salesman problem.
SalesmanFitnessFunction(Salesman) - Constructor for class org.jgap.impl.salesman.SalesmanFitnessFunction
 
SampleFitnessFunction - Class in examples.distinctGenes
Fitness function for our example.
SampleFitnessFunction() - Constructor for class examples.distinctGenes.SampleFitnessFunction
 
SampleFitnessFunction - Class in examples.grid
Fitness function for our example.
SampleFitnessFunction() - Constructor for class examples.grid.SampleFitnessFunction
 
select(GPGenotype) - Method in class org.jgap.gp.impl.FitnessProportionateSelection
 
select(GPGenotype) - Method in interface org.jgap.gp.INaturalGPSelector
Select an individual based on some algorithm.
select(int, Population, Population) - Method in class org.jgap.impl.BestChromosomesSelector
Selects 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.
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.
selectNode(Class, CommandGene[], boolean, boolean) - Method in class org.jgap.gp.impl.ProgramChromosome
Randomly chooses a valid node from the functions set.
sendCommand(WorkerCommand) - Method in interface org.jgap.distr.IWorker
Lets a server send a command to process to the worker
sendCommand(WorkerCommand) - Method in class org.jgap.distr.Worker
Lets a server send a command to process to the worker
sendingFragmentRequest(MyRequest) - Method in class examples.grid.JGAPClient.RenderingFeedback
 
sendingFragmentRequest(MyRequest) - Method in interface examples.grid.MyClientFeedback
 
sendToWorker(IWorker, WorkerCommand) - Method in class org.jgap.distr.Master
Sends a command to a worker.
ServerAndWorker - Class in examples.grid
Convenience call to start both the server and a worker at once.
ServerAndWorker() - Constructor for class examples.grid.ServerAndWorker
 
set(int, double, int, String) - Method in class org.jgap.distr.Culture
Sets a memory cell with a given value.
set(int, Object, int, String) - Method in class org.jgap.distr.Culture
Sets a memory cell with a given value.
set(String, Object, int) - Method in class org.jgap.distr.Culture
Sets a memory cell with a given value.
set(Object) - Method in class org.jgap.gp.terminal.Variable
Sets the value of this named variable.
setAcceptableCost(int) - Method in class org.jgap.impl.salesman.Salesman
 
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.gp.CommandGene
 
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.FixedBinaryGene
 
setAllele(Object) - Method in class org.jgap.impl.MapGene
Sets the value (allele) of this Gene to the new given value.
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.SetGene
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.BaseGene
This sets the application-specific data that is attached to this Gene.
setApplicationData(Object) - Method in class org.jgap.Chromosome
This sets the application-specific data that is attached to this Chromosome.
setApplicationData(Object) - Method in interface org.jgap.Gene
This sets the application-specific data that is attached to this Gene.
setApplicationData(Object) - Method in class org.jgap.gp.CommandGene
This sets the application-specific data that is attached to this Gene.
setApplicationData(Object) - Method in class org.jgap.gp.GPProgramBase
Sets the application data object.
setApplicationData(Object) - Method in interface org.jgap.gp.IGPProgram
Sets the application data object.
setApplicationData(Object) - Method in interface org.jgap.IChromosome
This sets the application-specific data that is attached to this Chromosome.
setArgTypes(Class[][]) - Method in class org.jgap.gp.GPProgramBase
 
setArgTypes(Class[][]) - Method in interface org.jgap.gp.IGPProgram
 
setArgTypes(Class[]) - Method in class org.jgap.gp.impl.ProgramChromosome
 
setAttribute(String, String) - Method in class org.jgap.data.DataElement
 
setAttribute(Object, String, String) - Method in class org.jgap.data.DocumentBuilderBase
Sets an attribute for a given Element.
setAttribute(String, String) - Method in interface org.jgap.data.IDataElement
 
setAttribute(Object, String, String) - Method in class org.jgap.xml.XMLDocumentBuilder
 
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.
setChanged(boolean) - Method in class org.jgap.gp.impl.GPPopulation
Mark that for the population the fittest program may have changed.
setChanged(boolean) - Method in class org.jgap.Population
Mark that for the population the fittest chromosome may have changed.
setChromosome(int, ProgramChromosome) - Method in interface org.jgap.gp.IGPProgram
Sets the given chromosome at the given index.
setChromosome(int, ProgramChromosome) - Method in class org.jgap.gp.impl.GPProgram
Sets the given chromosome at the given index.
setChromosome(int, IChromosome) - Method in class org.jgap.Population
Sets in the given Chromosome on the given index in the list of chromosomes.
setChromosomePool(IChromosomePool) - 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
Replaces all chromosomes in the population with the give list of chromosomes.
setCompareApplicationData(boolean) - Method in class org.jgap.BaseGene
Should we also consider the application data when comparing?
setCompareApplicationData(boolean) - Method in class org.jgap.Chromosome
Should we also consider the application data when comparing?
setCompareApplicationData(boolean) - Method in interface org.jgap.Gene
Should we also consider the application data when comparing?
setCompareApplicationData(boolean) - Method in class org.jgap.gp.CommandGene
Should we also consider the application data when comparing?
setCompareApplicationData(boolean) - Method in class org.jgap.gp.impl.ProgramChromosome
Should we also consider the application data when comparing?
setConfigProperty(Object, String, String) - Method in class org.jgap.data.config.RootConfigurationHandler
Sets the property of a configurable to a given value.
setConfigurable(Configurable) - Method in interface org.jgap.data.config.ConfigurationHandler
Set the Configurable to which this ConfigurationHandler belongs.
setConfigurable(Configurable) - Method in class org.jgap.data.config.RootConfigurationHandler
Set the Configurable to which this ConfigurationHandler belongs.
setConstraintChecker(IGeneConstraintChecker) - Method in class org.jgap.BaseGene
Sets the constraint checker to be used for this gene whenever method setAllele(Object) is called.
setConstraintChecker(IGeneConstraintChecker) - Method in class org.jgap.Chromosome
Sets the constraint checker to be used for this gene whenever method setAllele(Object) is called.
setConstraintChecker(IGeneConstraintChecker) - Method in interface org.jgap.Gene
Sets the constraint checker to be used for this gene whenever method setAllele(Object) is called.
setConstraintChecker(IGeneConstraintChecker) - Method in interface org.jgap.IChromosome
Sets the constraint checker to be used for this gene whenever method setAllele(Object) is called.
setCrossoverProb(float) - Method in class org.jgap.gp.impl.GPConfiguration
 
setCrossoverRate(int) - Method in class org.jgap.impl.AveragingCrossoverOperator
 
setDouble(double) - Method in class org.jgap.distr.CultureMemoryCell
Convenience method to store a primitive double easily.
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.
setEnergy(double) - Method in class org.jgap.BaseGene
Sets the energy of the gene
setEnergy(double) - Method in interface org.jgap.Gene
Sets the energy of the gene
setEnergy(double) - Method in class org.jgap.gp.CommandGene
Sets the energy of the gene
setEventManager(IEventManager) - Method in class org.jgap.Configuration
Sets the event manager that is to be associated with this configuration.
setFileName(String) - Method in class org.jgap.data.config.ConfigFileReader
Set the config file to load from.
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.
setFitnessFunction(GPFitnessFunction) - Method in class org.jgap.gp.impl.GPConfiguration
Sets the fitness function to be used for this genetic algorithm.
setFitnessValue(double) - Method in class org.jgap.Chromosome
Sets the fitness value of this Chromosome.
setFitnessValue(double) - Method in class org.jgap.gp.GPProgramBase
 
setFitnessValue(double) - Method in interface org.jgap.gp.IGPProgram
 
setFitnessValue(double) - Method in interface org.jgap.IChromosome
Sets the fitness value of this Chromosome.
setFitnessValueDirectly(double) - Method in class org.jgap.Chromosome
Sets the fitness value of this Chromosome directly without any constraint checks, conversions or checks.
setFitnessValueDirectly(double) - Method in interface org.jgap.IChromosome
Sets the fitness value of this Chromosome directly without any constraint checks, conversions or checks.
setFromPersistent(String) - Method in class org.jgap.supergenes.AbstractSupergene
Set a persistend string representation (if needed) for this validator. The default implementation does nothing.
setFromPersistent(String) - Method in interface org.jgap.supergenes.SupergeneValidator
Set a persistend string representation (if needed) for this validator.
setFromPersistent(String) - Method in class org.jgap.supergenes.Validator
Set a persistend string representation (if needed) for this validator. The default implementation does nothing.
setFunctions(CommandGene[]) - Method in class org.jgap.gp.impl.ProgramChromosome
 
setFunctionSet(CommandGene[]) - Method in class org.jgap.gp.impl.ProgramChromosome
 
setGaussianStdDeviation(double) - Method in class org.jgap.impl.GaussianRandomGenerator
 
setGene(int, CommandGene) - Method in class org.jgap.gp.impl.ProgramChromosome
 
SetGene - Class in org.jgap.impl
ATTENTION: This class is preliminary and subject of future adaptations!
SetGene() - Constructor for class org.jgap.impl.SetGene
Default constructor.
SetGene(Configuration) - Constructor for class org.jgap.impl.SetGene
 
setGenes(Gene[]) - Method in class org.jgap.Chromosome
Sets the genes for the chromosome.
setGenes(Gene[]) - Method in interface org.jgap.IChromosome
Sets the genes for the chromosome.
setGeneticOperatorConstraint(IGeneticOperatorConstraint) - Method in interface org.jgap.IJGAPFactory
 
setGeneticOperatorConstraint(IGeneticOperatorConstraint) - Method in class org.jgap.impl.JGAPFactory
 
setGPConfiguration(GPConfiguration) - Static method in class org.jgap.gp.impl.GPGenotype
Sets the configuration to use with the Genetic Algorithm.
setGPPopulation(GPPopulation) - Method in class org.jgap.gp.impl.GPGenotype
 
setGPProgram(int, IGPProgram) - Method in class org.jgap.gp.impl.GPPopulation
Sets the given GPProgram at the given index in the list of GPProgram's.
setHistorySize(int) - Method in class org.jgap.distr.CultureMemoryCell
Sets the size of the history and scales down the history log it is larger than the given size.
setID(Object) - Method in class org.jgap.distr.Problem
 
setIndividual(IGPProgram) - Method in class org.jgap.gp.BaseGPChromosome
Sets the individual the chromosome belongs to.
setIndividual(IGPProgram) - Method in interface org.jgap.gp.IGPChromosome
Sets the individual the chromosome belongs to.
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).
setIsSelectedForNextGeneration(boolean) - Method in interface org.jgap.IChromosome
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).
setJGAPFactory(IJGAPFactory) - Method in class org.jgap.Configuration
 
setKeepPopulationSizeConstant(boolean) - Method in class org.jgap.Configuration
Allows to keep the population size constant after one evolution, even if there is no appropriate instance of NaturalSelector (such as WeightedRouletteSelector) registered with the Configuration.
setLabel(String) - Method in class org.jgap.data.config.ConfigProperty
Sets the label.
setMaxCrossoverDepth(int) - Method in class org.jgap.gp.impl.GPConfiguration
 
setMaxDepths(int[]) - Method in class org.jgap.gp.GPProgramBase
 
setMaxDepths(int[]) - Method in interface org.jgap.gp.IGPProgram
 
setMaxEvolution(int) - Method in class org.jgap.impl.salesman.Salesman
Set the maximal number of iterations for population to evolve (default 512).
setMaxInitDepth(int) - Method in class org.jgap.gp.impl.GPConfiguration
 
setMaxLength(int) - Method in class org.jgap.impl.StringGene
 
setMaxNodes(int) - Method in class org.jgap.gp.GPProgramBase
 
setMaxNodes(int) - Method in interface org.jgap.gp.IGPProgram
 
setMinDepths(int[]) - Method in class org.jgap.gp.GPProgramBase
 
setMinDepths(int[]) - Method in interface org.jgap.gp.IGPProgram
 
setMinimumPopSizePercent(int) - Method in class org.jgap.Configuration
Minimum size guaranteed for population.
setMinLength(int) - Method in class org.jgap.impl.StringGene
 
setMultiObjectives(List) - Method in class org.jgap.Chromosome
 
setMutationRateCalc(IUniversalRateCalculator) - Method in class org.jgap.impl.MutationOperator
Sets the MutationRateCalculator to be used for determining the strength of mutation.
setMutationRateCalc(IUniversalRateCalculator) - Method in class org.jgap.impl.TwoWayMutationOperator
Sets the MutationRateCalculator to be used for determining the strength of mutation.
setName(String) - Method in class org.jgap.Configuration
 
setName(String) - Method in class org.jgap.data.config.ConfigProperty
Setter for the name of this property.
setName(String) - Method in class org.jgap.distr.CultureMemoryCell
Sets the informative name of the memory cell.
setNaturalSelector(NaturalSelector) - Method in class org.jgap.Configuration
Deprecated. use addNaturalSelector(false) instead
setNewChromsPercent(double) - Method in class org.jgap.gp.impl.GPConfiguration
 
setNodeSets(CommandGene[][]) - Method in class org.jgap.gp.GPProgramBase
 
setNodeSets(CommandGene[][]) - Method in interface org.jgap.gp.IGPProgram
 
setNodeValidator(INodeValidator) - Method in class org.jgap.gp.impl.GPConfiguration
Sets the node validator.
setNoValidation(boolean) - Method in class org.jgap.gp.CommandGene
 
setNS(String) - Method in class org.jgap.data.config.ConfigData
Set the namespace of the Configurable for which this ConfigData is being used.
setNS(String) - Method in class org.jgap.data.config.ConfigFileReader
Set the namespace for the properties that are being read from the config file at this point.
setOriginalRate(double) - Method in class org.jgap.impl.BestChromosomesSelector
Setting this parameter controls how many chromosomes of the original population will be considered for selection to the next population.
setParameters(Collection) - Method in interface org.jgap.IJGAPFactory
 
setParameters(Collection) - Method in class org.jgap.impl.JGAPFactory
Allows setting (generic because unknown) parameters for creating objects.
setPopulation(Population) - Method in class org.jgap.Genotype
 
setPopulations(List) - Method in class org.jgap.eval.PopulationHistory
Sets the list of populations to the list provided.
setPopulationSize(int) - Method in class org.jgap.Configuration
Sets the population size to be used for this genetic algorithm.
setPopulationSize(int) - Method in class org.jgap.impl.salesman.Salesman
Set an population size for this solution (default 512)
setPreservFittestIndividual(boolean) - Method in class org.jgap.Configuration
Determines whether to save (keep) the fittest individual.
setProbability(double) - Method in class org.jgap.impl.TournamentSelector
 
setProgramCreationMaxTries(int) - Method in class org.jgap.gp.impl.GPConfiguration
 
setProgressMaximum(int) - Method in class examples.grid.JGAPClient.RenderingFeedback
 
setProgressMaximum(int) - Method in interface examples.grid.MyClientFeedback
 
setProgressMinimum(int) - Method in class examples.grid.JGAPClient.RenderingFeedback
 
setProgressMinimum(int) - Method in interface examples.grid.MyClientFeedback
 
setProgressValue(int) - Method in class examples.grid.JGAPClient.RenderingFeedback
 
setProgressValue(int) - Method in interface examples.grid.MyClientFeedback
 
setProp(ConfigProperty) - Method in class org.jgap.gui.ConfigFrame.ListGroup
Setter for the ConfigProperty object associated with this ListGroup.
setRandomGenerator(RandomGenerator) - Method in class org.jgap.Configuration
Sets the random generator to be used for this genetic algorithm.
setRandomValue(int) - Method in class org.jgap.gp.terminal.Terminal
 
setRandomValue(long) - Method in class org.jgap.gp.terminal.Terminal
 
setRandomValue(double) - Method in class org.jgap.gp.terminal.Terminal
 
setRandomValue(float) - Method in class org.jgap.gp.terminal.Terminal
 
setRandomValue() - Method in class org.jgap.gp.terminal.Terminal
 
setRenderingTime(MyRequest, long) - Method in class examples.grid.JGAPClient.RenderingFeedback
 
setReproductionProb(float) - Method in class org.jgap.gp.impl.GPConfiguration
 
setReturnType(Class) - Method in class org.jgap.gp.CommandGene
Sets the return type of this node.
setSampleChromosome(IChromosome) - Method in class org.jgap.Configuration
Sets the sample Chromosome that is to be used as a guide for the construction of other Chromosomes.
setSeed(long) - Method in class org.jgap.util.randomJava
Set seed for generator.
setSeed(long) - Method in class org.jgap.util.randomLCG
Set seed for generator.
setSeed(long) - Method in class org.jgap.util.randomLEcuyer
Set seed for generator.
setSeed(long) - Method in class org.jgap.util.randomMCG
Set seed for generator.
setSeed() - Method in class org.jgap.util.randomX
Reset when seed changes.
setSorted(boolean) - Method in class org.jgap.gp.impl.GPPopulation
Mark the population as sorted.
setSorted(boolean) - Method in class org.jgap.Population
Mark the population as sorted.
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.salesman.Salesman
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.
setStaticConfiguration(Configuration) - Static method in class org.jgap.Genotype
Sets the configuration to use with the Genetic Algorithm.
setStrictProgramCreation(boolean) - Method in class org.jgap.gp.impl.GPConfiguration
 
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.gp.CommandGene
 
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.MapGene
Sets the allele value to be a random value using a defined random number generator.
setToRandomValue(RandomGenerator) - Method in class org.jgap.impl.SetGene
Sets the allele value to be a random value using a defined random number generator.
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.
setTournamentSize(int) - Method in class org.jgap.impl.TournamentSelector
 
setTree(IDataElementList) - Method in class org.jgap.data.DataElementsDocument
 
setTree(IDataElementList) - Method in interface org.jgap.data.IDataCreators
 
setTruthTable(Map) - Method in class org.jgap.impl.fitness.TruthTableFitnessFunction
 
setTypes(Class[]) - Method in class org.jgap.gp.GPProgramBase
 
setTypes(Class[]) - Method in interface org.jgap.gp.IGPProgram
 
setUnchecked(int, boolean) - Method in class org.jgap.impl.FixedBinaryGene
 
setValidator(SupergeneValidator) - Method in class org.jgap.supergenes.AbstractSupergene
Sets an object, responsible for deciding if the Supergene allele combination is valid.
setValidator(SupergeneValidator) - Method in interface org.jgap.supergenes.Supergene
Sets an object, responsible for deciding if the Supergene allele combination is valid.
setValue(double, Comparable, Comparable) - Method in class org.jgap.audit.Evaluator
 
setValue(int, int, double, Comparable, Comparable) - Method in class org.jgap.audit.Evaluator
 
setValue(Number) - Method in class org.jgap.audit.KeyedValue
Sets the value for the key
setValue(Comparable, Number) - Method in class org.jgap.audit.KeyedValues
Updates an existing value, or adds a new value to the collection
setValue(Number, Comparable, Comparable) - Method in class org.jgap.audit.KeyedValues2D
Sets a value
setValue(Object) - Method in class org.jgap.distr.CultureMemoryCell
Sets a new memory value.
setValue(double) - Method in class org.jgap.gp.terminal.Terminal
 
setValue(float) - Method in class org.jgap.gp.terminal.Terminal
 
setValue(int) - Method in class org.jgap.gp.terminal.Terminal
 
setValue(long) - Method in class org.jgap.gp.terminal.Terminal
 
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.gp.CommandGene
 
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.MapGene
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.SetGene
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.
setVerboseOutput(boolean) - Method in class org.jgap.gp.impl.GPGenotype
 
setWidget(String) - Method in class org.jgap.data.config.ConfigProperty
Sets the widget.
showFrame(ConfigFrame, Configurable) - Method in class org.jgap.gui.GUIManager
Create and show a new frame for a Configurable.
showTree(IGPProgram, String) - Method in class org.jgap.gp.GPProblem
Creates a tree out of a given GP program and saves it to a file.
showTree(IGPProgram, String, TreeBranchRenderer, TreeNodeRenderer) - Method in class org.jgap.gp.GPProblem
Creates a tree out of a given GP program and saves it to a file.
shuffle(Gene[]) - Method in class org.jgap.impl.salesman.Salesman
 
SimpleExample - Class in examples.simpleBoolean
Simple class that demonstrates the basic usage of JGAP.
SimpleExample() - Constructor for class examples.simpleBoolean.SimpleExample
 
Sine - Class in org.jgap.gp.function
The sine operation.
Sine(GPConfiguration, Class) - Constructor for class org.jgap.gp.function.Sine
 
Sine.Compatible - Interface in org.jgap.gp.function
 
size - Variable in class org.jgap.audit.Evaluator.ChromosomeData
 
size - Variable in class org.jgap.audit.Evaluator.GenotypeData
 
size() - Method in class org.jgap.audit.KeyedValues
 
size() - Method in class org.jgap.BaseGene
 
size() - Method in class org.jgap.Chromosome
Returns the size of this Chromosome (the number of genes it contains).
size() - Method in class org.jgap.distr.Culture
 
size() - Method in class org.jgap.eval.PopulationHistory
 
size() - Method in interface org.jgap.Gene
 
size() - Method in class org.jgap.gp.CommandGene
 
size() - Method in interface org.jgap.gp.IGPProgram
 
size() - Method in class org.jgap.gp.impl.GPPopulation
 
size() - Method in class org.jgap.gp.impl.GPProgram
 
size() - Method in class org.jgap.gp.impl.ProgramChromosome
 
size() - Method in interface org.jgap.IChromosome
Returns the size of this Chromosome (the number of genes it contains).
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.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.Population
 
size() - Method in class org.jgap.supergenes.AbstractSupergene
Returns the number of the genes-components of this supergene.
sizeAvg - Variable in class org.jgap.audit.Evaluator.GenotypeDataAvg
 
solve(Configuration, int, SupergeneChangeFitnessFunction, Gene[]) - Method in class examples.supergene.AbstractSupergeneTest
Find and print the solution, return the solution error.
solve(int) - Static method in class examples.supergene.Force
Check the existence of soulution.
sort(Comparator) - Method in class org.jgap.gp.impl.GPPopulation
Sorts the population into "ascending" order using some criterion for "ascending".
sort(Comparator) - Method in class org.jgap.Population
Sorts the chromosomes within the population utilzing the given comparator.
sortByFitness() - Method in class org.jgap.gp.impl.GPPopulation
Sorts the programs within the population according to their fitness value using GPProgramFitnessComparator.
sortByFitness() - Method in class org.jgap.Population
Sorts the chromosomes within the population according to their fitness value using ChromosomFitnessComparator.
split() - Method in class examples.grid.MyRequest
 
split(String) - Static method in class org.jgap.impl.CompositeGene
Splits the input a_string into individual gene representations.
split(String) - Static method in class org.jgap.supergenes.AbstractSupergene
Splits the string a_x into individual gene representations
stackSize() - Method in class org.jgap.gp.impl.GPConfiguration
 
start() - Method in class examples.grid.MyWorkerFeedback
 
start() - Method in class org.jgap.distr.Breeder
 
start() - Method in class org.jgap.distr.Master
Starts the master listener.
StockRandomGenerator - Class in org.jgap.impl
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
 
stop() - Method in class examples.grid.MyWorkerFeedback
 
stop() - Method in class org.jgap.distr.Breeder
 
stop() - Method in interface org.jgap.distr.IWorker
Forces the worker to stop its work (cannot be resumed)
stop() - Method in class org.jgap.distr.Master
Stops the master from being working.
stop() - Method in class org.jgap.distr.Worker
Forces the worker to stop its work (cannot be resumed)
stop() - Method in class org.jgap.distr.WorkerListener
Stops the listener.
storeGenotype(int, int, Genotype) - Method in class org.jgap.audit.Evaluator
Stores information contained in the given genotype.
storeInMemory(String, Object) - Method in class org.jgap.gp.impl.GPConfiguration
Stores a value in the internal memory.
StoreTerminal - Class in org.jgap.gp.function
Stores a value in the internal memory.
StoreTerminal(GPConfiguration, String, Class) - Constructor for class org.jgap.gp.function.StoreTerminal
 
StringGene - Class in org.jgap.impl
A Gene implementation that supports a string for its allele.
StringGene() - Constructor for class org.jgap.impl.StringGene
Default constructor, sets minimum and maximum length to arbitrary.
StringGene(Configuration) - Constructor for class org.jgap.impl.StringGene
Default constructor, sets minimum and maximum length to arbitrary.
StringGene(Configuration, int, int) - Constructor for class org.jgap.impl.StringGene
Constructor, allows to specify minimum and maximum lengths of the string held by this gene.
StringGene(Configuration, int, int, String) - Constructor for class org.jgap.impl.StringGene
Constructor, allows to specify minimum and maximum lengths of the string held by this gene, as well as the valid alphabet.
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.
SubProgram - Class in org.jgap.gp.function
A connector for indipendent subprograms (subtrees).
SubProgram(GPConfiguration, Class[]) - Constructor for class org.jgap.gp.function.SubProgram
 
substring(int, int) - Method in class org.jgap.impl.FixedBinaryGene
 
Subtract - Class in org.jgap.gp.function
The subtract operation.
Subtract(GPConfiguration, Class) - Constructor for class org.jgap.gp.function.Subtract
 
Subtract.Compatible - Interface in org.jgap.gp.function
 
suite() - Static method in class examples.supergene.SupergeneSampleApplicationTest
 
Supergene - Interface in org.jgap.supergenes
Supergene represents several genes, which usually control closely related aspects of the phenotype.
SupergeneChangeFitnessFunction - Class in examples.supergene
Fitness function for a version where Supergene is used.
SupergeneChangeFitnessFunction(int) - Constructor for class examples.supergene.SupergeneChangeFitnessFunction
 
SupergeneSample - Class in examples.supergene
To test the Supergene, we created the "make change" version with additional condition: the number of nickels and pennies must be both even or both odd.
SupergeneSample() - Constructor for class examples.supergene.SupergeneSample
 
SupergeneSampleApplicationTest - Class in examples.supergene
Test Supergene sample application, verifying the "make change" supergene and non-supergene versions.
SupergeneSampleApplicationTest() - Constructor for class examples.supergene.SupergeneSampleApplicationTest
 
SupergenesPerformanceTest - Class in examples.supergene
Tests the performance, comparing computing time and the sum of the computed change amount deviations from the required amount.
SupergenesPerformanceTest() - Constructor for class examples.supergene.SupergenesPerformanceTest
 
SupergeneValidator - Interface in org.jgap.supergenes
A class, deciding, if the supergene allele combination is valid.
SwappingMutationOperator - Class in org.jgap.impl
Swaps the genes instead of mutating them.
SwappingMutationOperator() - Constructor for class org.jgap.impl.SwappingMutationOperator
Constructs a new instance of this operator.
SwappingMutationOperator(Configuration) - Constructor for class org.jgap.impl.SwappingMutationOperator
 
SwappingMutationOperator(Configuration, IUniversalRateCalculator) - Constructor for class org.jgap.impl.SwappingMutationOperator
Constructs a new instance of this operator with a specified mutation rate calculator, which results in dynamic mutation being turned on.
SwappingMutationOperator(Configuration, int) - Constructor for class org.jgap.impl.SwappingMutationOperator
Constructs a new instance of this MutationOperator with the given mutation rate.

T

Terminal - Class in org.jgap.gp.terminal
A terminal is a static number that can be mutated.
Terminal() - Constructor for class org.jgap.gp.terminal.Terminal
 
Terminal(GPConfiguration, Class) - Constructor for class org.jgap.gp.terminal.Terminal
 
Terminal(GPConfiguration, Class, double, double) - Constructor for class org.jgap.gp.terminal.Terminal
 
test() - Method in class examples.supergene.AbstractSupergeneTest
Test the method, returns the sum of all differences between the required and obtained excange amount.
testSupergeneTotal() - Method in class examples.supergene.SupergeneSampleApplicationTest
 
testSupergeneTotal() - Method in class examples.supergene.TotalSupergeneTest
Test supported Supegene features, including performance tests.
ThresholdSelector - Class in org.jgap.impl
Implementation of a NaturalSelector that ensures a certain threshold of the best chromosomes are taken to the next generation.
ThresholdSelector() - Constructor for class org.jgap.impl.ThresholdSelector
Default constructor.
ThresholdSelector(Configuration, double) - Constructor for class org.jgap.impl.ThresholdSelector
 
toBePermutated(IChromosome, int) - Method in class examples.dynamicMutation.DynamicMutationExample.CoinsMutationRateCalc
 
toBePermutated(IChromosome, int) - Method in class org.jgap.impl.DefaultCrossoverRateCalculator
Determines whether crossover is to be carried out for a given population.
toBePermutated(IChromosome, int) - Method in class org.jgap.impl.DefaultMutationRateCalculator
Determines whether mutation is to be carried out.
toBePermutated(IChromosome, int) - Method in interface org.jgap.IUniversalRateCalculator
Calculates whether a mutation should be carried out.
toChromosomes() - Method in class org.jgap.Population
 
toString() - Method in class org.jgap.BaseGene
Retrieves a string representation of this Gene's value that may be useful for display purposes.
toString() - Method in class org.jgap.Chromosome
 
toString() - Method in class org.jgap.Configuration
 
toString() - Method in class org.jgap.distr.Culture
 
toString() - Method in class org.jgap.distr.CultureMemoryCell
 
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.gp.CommandGene
 
toString() - Method in class org.jgap.gp.function.Add
 
toString() - Method in class org.jgap.gp.function.Add3
 
toString() - Method in class org.jgap.gp.function.AddAndStore
 
toString() - Method in class org.jgap.gp.function.ADF
 
toString() - Method in class org.jgap.gp.function.And
 
toString() - Method in class org.jgap.gp.function.Cosine
 
toString() - Method in class org.jgap.gp.function.Divide
 
toString() - Method in class org.jgap.gp.function.Equals
 
toString() - Method in class org.jgap.gp.function.Exp
 
toString() - Method in class org.jgap.gp.function.ForLoop
 
toString() - Method in class org.jgap.gp.function.ForXLoop
 
toString() - Method in class org.jgap.gp.function.If
 
toString() - Method in class org.jgap.gp.function.IfElse
 
toString() - Method in class org.jgap.gp.function.Increment
 
toString() - Method in class org.jgap.gp.function.Loop
 
toString() - Method in class org.jgap.gp.function.Modulo
 
toString() - Method in class org.jgap.gp.function.Multiply
 
toString() - Method in class org.jgap.gp.function.Multiply3
 
toString() - Method in class org.jgap.gp.function.Not
 
toString() - Method in class org.jgap.gp.function.Or
 
toString() - Method in class org.jgap.gp.function.Pop
 
toString() - Method in class org.jgap.gp.function.Pow
 
toString() - Method in class org.jgap.gp.function.Push
 
toString() - Method in class org.jgap.gp.function.ReadTerminal
 
toString() - Method in class org.jgap.gp.function.Sine
 
toString() - Method in class org.jgap.gp.function.StoreTerminal
 
toString() - Method in class org.jgap.gp.function.SubProgram
 
toString() - Method in class org.jgap.gp.function.Subtract
 
toString() - Method in class org.jgap.gp.function.TransferMemory
 
toString() - Method in class org.jgap.gp.function.Xor
 
toString(int) - Method in class org.jgap.gp.impl.GPProgram
Builds a String that represents the output of the GPProgram in left-hand-notion.
toString(int) - Method in class org.jgap.gp.impl.ProgramChromosome
Output program in left-hand notion (e.g.: "+ X Y" for "X + Y")
toString() - Method in class org.jgap.gp.terminal.Argument
 
toString() - Method in class org.jgap.gp.terminal.Constant
 
toString() - Method in class org.jgap.gp.terminal.False
 
toString() - Method in class org.jgap.gp.terminal.NOP
 
toString() - Method in class org.jgap.gp.terminal.Terminal
 
toString() - Method in class org.jgap.gp.terminal.True
 
toString() - Method in class org.jgap.gp.terminal.Variable
 
toString() - Method in class org.jgap.impl.BooleanGene
 
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.DoubleGene
 
toString() - Method in class org.jgap.impl.FixedBinaryGene
 
toString() - Method in class org.jgap.impl.IntegerGene
 
toString() - Method in class org.jgap.impl.MapGene
Retrieves a string representation of this Gene'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
 
toStringNorm(int) - Method in interface org.jgap.gp.IGPChromosome
Output program in "natural" notion (e.g.: "X + Y" for "X + Y")
toStringNorm(int) - Method in interface org.jgap.gp.IGPProgram
Builds a String that represents the normalized output of the GPProgram.
toStringNorm(int) - Method in class org.jgap.gp.impl.GPProgram
Builds a String that represents the normalized output of the GPProgram.
toStringNorm(int) - Method in class org.jgap.gp.impl.ProgramChromosome
Output program in "natural" notion (e.g.: "X + Y" for "X + Y")
toStringRecursive(StringBuffer, int) - Method in class org.jgap.distr.CultureMemoryCell
Recursive part of toString().
TotalSupergeneTest - Class in examples.supergene
Total test of the supported Supergene classes.
TotalSupergeneTest() - Constructor for class examples.supergene.TotalSupergeneTest
 
TournamentSelector - Class in org.jgap.impl
Implementation of a NaturalSelector that plays tournaments to determine the chromosomes to be taken to the next generation.
TournamentSelector() - Constructor for class org.jgap.impl.TournamentSelector
Default constructor.
TournamentSelector(Configuration, int, double) - Constructor for class org.jgap.impl.TournamentSelector
 
TransferMemory - Class in org.jgap.gp.function
Transfers a memory value to another memory cell.
TransferMemory(GPConfiguration, String, String) - Constructor for class org.jgap.gp.function.TransferMemory
 
TravellingSalesman - Class in examples.salesman
Explains how to use JGAP extensions, needed to solve the task group, known as the Problem of the travelling salesman.
TravellingSalesman() - Constructor for class examples.salesman.TravellingSalesman
 
trimHistory(int) - Method in class org.jgap.distr.CultureMemoryCell
Trims the history to the given size.
True - Class in org.jgap.gp.terminal
The boolean value true.
True(GPConfiguration) - Constructor for class org.jgap.gp.terminal.True
 
TRUE_BOOLEAN - Static variable in class org.jgap.impl.BooleanGene
Shared constant representing the "true" boolean value.
TruthTableFitnessFunction - Class in org.jgap.impl.fitness
Fitness Function relying on a truth table.
TruthTableFitnessFunction() - Constructor for class org.jgap.impl.fitness.TruthTableFitnessFunction
Only use for dynamic instantiation as configuration retrieved from static setting.
TruthTableFitnessFunction(Configuration) - Constructor for class org.jgap.impl.fitness.TruthTableFitnessFunction
Constructor without registering a truth table.
TruthTableFitnessFunction(Configuration, Map) - Constructor for class org.jgap.impl.fitness.TruthTableFitnessFunction
Constructor for registering a truth table.
TwoWayMutationOperator - Class in org.jgap.impl
Considers two levels of mutation.
TwoWayMutationOperator() - Constructor for class org.jgap.impl.TwoWayMutationOperator
Constructs a new instance of this MutationOperator without a specified mutation rate, which results in dynamic mutation being turned on.
TwoWayMutationOperator(Configuration, IUniversalRateCalculator) - Constructor for class org.jgap.impl.TwoWayMutationOperator
Constructs a new instance of this MutationOperator with a specified mutation rate calculator, which results in dynamic mutation being turned on.
TwoWayMutationOperator(Configuration, int) - Constructor for class org.jgap.impl.TwoWayMutationOperator
Constructs a new instance of this MutationOperator with the given mutation rate.

U

UnsupportedRepresentationException - Exception in org.jgap
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 exception org.jgap.UnsupportedRepresentationException
Constructs a new UnsupportedRepresentationException instance with the given error message.

V

validate(ProgramChromosome, CommandGene, int, int, int, Class, CommandGene[], int, boolean) - Method in class examples.gp.FibonacciNodeValidator
Validates a_node in the context of a_chrom.
validate(ProgramChromosome, CommandGene, int, int, int, Class, CommandGene[], int, boolean) - Method in class examples.gp.FibonacciNodeValidator
Validates a_node in the context of a_chrom.
validate(ProgramChromosome, CommandGene, int, int, int, Class, CommandGene[], int, boolean) - Method in interface org.jgap.gp.INodeValidator
Validates a_node in the context of a_chrom.
validateNode(ProgramChromosome, CommandGene, int, int, int, Class, CommandGene[], int, boolean) - Method in class org.jgap.gp.impl.GPConfiguration
Validates a_node in the context of a_chrom.
Validator - Class in org.jgap.supergenes
The abstract supergeneValidator, hiding the getPersisten() and setFromPersistent() methods that are not always required.
Validator(Configuration) - Constructor for class org.jgap.supergenes.Validator
 
valueChanged(ListSelectionEvent) - Method in class org.jgap.gui.ConfigFrame.ConfigListSelectionListener
 
Variable - Class in org.jgap.gp.terminal
A terminal represented by a variable (x,y,z...).
Variable(GPConfiguration, String, Class) - Constructor for class org.jgap.gp.terminal.Variable
 
vars - Static variable in class org.jgap.gp.terminal.Variable
 
verify(Gene, Object, IChromosome, int) - Method in class examples.energy.CoinsEnergy.EnergyGeneConstraintChecker
Check if a given allele value is valid for the given gene instance.
verify(IGeneConstraintChecker) - Method in class org.jgap.Chromosome
Verifies the state of the chromosome.
verify(Gene, Object, IChromosome, int) - Method in interface org.jgap.IGeneConstraintChecker
Check if a given allele value is valid for the given gene instance.
verifyChangesAllowed() - Method in class org.jgap.Configuration
Makes sure that this Configuration object isn't locked.
verifyStateIsValid() - Method in class org.jgap.Configuration
Tests the state of this Configuration object to make sure it's valid.
verifyStateIsValid() - Method in class org.jgap.gp.impl.GPConfiguration
 
VoidClass - Static variable in class org.jgap.gp.CommandGene
 
volumeDifferenceBonus(double, double) - Method in class examples.knapsack.KnapsackFitnessFunction
Bonus calculation of fitness value.

W

WeightedRouletteSelector - Class in org.jgap.impl
A basic implementation of NaturalSelector that models a roulette wheel.
WeightedRouletteSelector() - Constructor for class org.jgap.impl.WeightedRouletteSelector
Default constructor.
WeightedRouletteSelector(Configuration) - Constructor for class org.jgap.impl.WeightedRouletteSelector
 
Worker - Class in org.jgap.distr
Worker implementation.
Worker(String, MasterInfo, MasterListener) - Constructor for class org.jgap.distr.Worker
Construct the worker and tell him who his master is.
WorkerCommand - Class in org.jgap.distr
Command sent by an IMaster instance to an IWorker instance.
WorkerCommand(String) - Constructor for class org.jgap.distr.WorkerCommand
 
WorkerListener - Class in org.jgap.distr
Represents a listener for requests from workers to the master.
WorkerListener() - Constructor for class org.jgap.distr.WorkerListener
 
WORST - Static variable in class org.jgap.impl.fitness.TruthTableFitnessFunction
 
write(IConfigInfo) - Method in class org.jgap.data.config.ConfigWriter
Persist the configuration information as selected by the user.
writeFile(Document, File) - Static method in class org.jgap.xml.XMLManager
Writes an XML file from a Document object

X

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

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