A C E F G I M N P R S T W

A

AbstractCell - class net.openai.ai.ga.cell.AbstractCell.
The AbstractCell class is an encapsulation of data that will be used to try to solve a problem (Environment).
AbstractCell() - Constructor for class net.openai.ai.ga.cell.AbstractCell
 
AbstractEnvironment - class net.openai.ai.ga.environment.AbstractEnvironment.
The AbstractEnvironment is the encapsulation of the problem that the population will try to solve.
AbstractEnvironment() - Constructor for class net.openai.ai.ga.environment.AbstractEnvironment
 
addCell(Cell) - Method in class net.openai.ai.ga.population.Population
Adds a Cell to this Population.
addCells(Population) - Method in class net.openai.ai.ga.population.Population
Adds all the Cells in the given Population.
addPopulation(Population) - Method in class net.openai.ai.ga.population.PopulationArray
Adds a Population to this PopulationArray.
addPopulations(PopulationArray) - Method in class net.openai.ai.ga.population.PopulationArray
Adds all the Populations in the given PopulationArray.
addWorld(World) - Method in class net.openai.ai.ga.GeneticAlgorithm
Adds a given World onto the end of all the worlds in this Genetic Algorithm.
ArraySelectionAlgorithm - interface net.openai.ai.ga.selection.ArraySelectionAlgorithm.
ArraySelectionAlgorithm is a method by which Population members are created and chosen from a Population.
ArraySelectTournament - class net.openai.ai.ga.selection.common.ArraySelectTournament.
ArraySelectTournament is a method by which Population members are created and chosen using a tournament on a Population.
ArraySelectTournament(SelectionAlgorithm[], int) - Constructor for class net.openai.ai.ga.selection.common.ArraySelectTournament
Creates a new ArraySelectTournament that creates the specified number of parent sets by choosing a random parent for each parent slot according to each specified selection algorithm.
ArraySelectTournament(SelectionAlgorithm[], int, Population) - Constructor for class net.openai.ai.ga.selection.common.ArraySelectTournament
Creates a new ArraySelectTournament that creates the specified number of parent sets by choosing a random parent for each parent slot according to each specified selection algorithm and adds these into the specified base population.
ArraySelectTournament(SelectionAlgorithm[], int, Population, PopulationArray) - Constructor for class net.openai.ai.ga.selection.common.ArraySelectTournament
Creates a new ArraySelectTournament that creates the specified number of parent sets by choosing a random parent for each parent slot according to each specified selection algorithm and adds these into the specified base population, which are in turn added into a clone of the base population array.
ArraySelectUnion - class net.openai.ai.ga.selection.common.ArraySelectUnion.
ArraySelectUnion is a ArraySelectionAlgorithm that will return the union of the results of two specified ArraySelectionAlgorithms.
ArraySelectUnion(ArraySelectionAlgorithm, ArraySelectionAlgorithm) - Constructor for class net.openai.ai.ga.selection.common.ArraySelectUnion
Creates a new ArraySelectUnion object for taking the union of the Populations returned by the two passed ArraySelectionAlgorithms.

C

Cell - interface net.openai.ai.ga.cell.Cell.
The Cell interface is an encapsulation of data that will be used to try to solve a problem (Environment).
cellFitness - Variable in class net.openai.ai.ga.cell.AbstractCell
The last evaluated fitness for the cell is stored here and is used for the getFitness calls.
cellMaturity - Variable in class net.openai.ai.ga.cell.AbstractCell
The maturity of the cell is stored here and is used for the getMaturity.
cells - Variable in class net.openai.ai.ga.population.Population
The collection of cells that are in this Population
cleanse() - Method in class net.openai.ai.ga.GeneticAlgorithm
Removes non-World objects from the Collection
cleanse() - Method in class net.openai.ai.ga.population.PopulationArray
Removes non-Population objects from the Collection
cleanse() - Method in class net.openai.ai.ga.population.Population
Removes non-Cell objects from the Collection
clearBit(int) - Method in class net.openai.ai.ga.cell.encoding.FixedBinaryString
Clears a given bit in the binary string
combine(Population) - Method in interface net.openai.ai.ga.cell.Cell
Tells the cell to create new offspring, which will be placed in the population.
combine(Population) - Method in class net.openai.ai.ga.cell.AbstractCell
Tells the cell to create new offspring, which will be placed in the population.
combine(PopulationArray) - Method in class net.openai.ai.ga.population.Population
Creates new Cells to add into the Population.
condemn() - Method in interface net.openai.ai.ga.cell.Cell
Tells the cell that it has been condemned to die.
condemn() - Method in class net.openai.ai.ga.cell.AbstractCell
Tells the cell that it has been condemned to die.
condemnPopulation(Population) - Static method in class net.openai.ai.ga.population.Population
Condemns all the Cells in the given Population .
cross(FixedBinaryString, FixedBinaryString) - Static method in class net.openai.ai.ga.cell.encoding.FixedBinaryString
Returns a new FixedBinaryString based on two other binary strings of the same length.
cross(StrictPermutation, StrictPermutation) - Static method in class net.openai.ai.ga.cell.encoding.StrictPermutation
Returns a new StrictPermutation based on two other permutations of the same length.

E

Environment - interface net.openai.ai.ga.environment.Environment.
The Environment is the encapsulation of the problem that the population will try to solve.
environmentGeneration - Variable in class net.openai.ai.ga.environment.AbstractEnvironment
 
evaluate(Environment) - Method in class net.openai.ai.ga.population.Population
Tells each Cell in this Population to evaluate its fitness based upon the Environment given to it.
evaluateFitness(Environment) - Method in interface net.openai.ai.ga.cell.Cell
Return the fitness of the Cell.
evaluateFitness(Environment) - Method in class net.openai.ai.ga.cell.AbstractCell
Return the fitness of the Cell.

F

FixedBinaryString - class net.openai.ai.ga.cell.encoding.FixedBinaryString.
The FixedBinaryString is an encoding method using a string of binary digits.
FixedBinaryString(FixedBinaryString) - Constructor for class net.openai.ai.ga.cell.encoding.FixedBinaryString
Creates and returns a clone of the given FixedBinaryString.
FixedBinaryString(String, int) - Constructor for class net.openai.ai.ga.cell.encoding.FixedBinaryString
Creates a new FixedBinaryString with the specified bit- length and given name.
FixedBinaryString(String, int, long) - Constructor for class net.openai.ai.ga.cell.encoding.FixedBinaryString
Creates a new FixedBinaryString with the specified bit-length and initial value and given name.

G

GeneticAlgorithm - class net.openai.ai.ga.GeneticAlgorithm.
GeneticAlgorithm is the top-level class for the Genetic Algorithm Java implementation of the Spinning Logic AI Toolkit.
GeneticAlgorithm() - Constructor for class net.openai.ai.ga.GeneticAlgorithm
Initializes the GeneticAlgorithm with an ArrayList
GeneticAlgorithm(Collection) - Constructor for class net.openai.ai.ga.GeneticAlgorithm
Initializes the GeneticAlgorithm with the specified Collection
getBit(int) - Method in class net.openai.ai.ga.cell.encoding.FixedBinaryString
Returns the bit-status of a certain bit in this binary string.
getCell(int) - Method in class net.openai.ai.ga.population.Population
Returns a Cell from this Population with the given index.
getCellArray() - Method in class net.openai.ai.ga.population.Population
Returns a Cell[] array representing all the Cell s in this population.
getCellIterator() - Method in class net.openai.ai.ga.population.Population
Returns an Iterator to be used to iterate through all the Cell in this Population.
getCells() - Method in class net.openai.ai.ga.population.Population
Returns the Collection used internally to represent the members of the population
getDebug() - Static method in class net.openai.ai.ga.GeneticAlgorithm
 
getElement(int) - Method in class net.openai.ai.ga.cell.encoding.StrictPermutation
Returns the value of a certain element in the permutation
getEnvironment() - Method in class net.openai.ai.ga.world.World
Returns the Environment assigned to this World.
getFitness() - Method in interface net.openai.ai.ga.cell.Cell
Return the fitness of the Cell.
getFitness() - Method in class net.openai.ai.ga.cell.AbstractCell
Return the fitness of the Cell.
getLength() - Method in class net.openai.ai.ga.cell.encoding.StrictPermutation
Returns the length of this permutation list
getList() - Method in class net.openai.ai.ga.cell.encoding.StrictPermutation
Returns this permutation as a int[].
getLong() - Method in class net.openai.ai.ga.cell.encoding.FixedBinaryString
Returns the value of this binary string as a long.
getMaturity() - Method in interface net.openai.ai.ga.cell.Cell
Returns the maturity of the Cell.
getMaturity() - Method in class net.openai.ai.ga.cell.AbstractCell
Returns the maturity of the Cell.
getMutationSelectionAlgorithm() - Method in class net.openai.ai.ga.world.World
Returns the current mutation selection algorithm.
getName() - Method in class net.openai.ai.ga.cell.encoding.StrictPermutation
Returns the name of this permutation list
getName() - Method in class net.openai.ai.ga.cell.encoding.FixedBinaryString
Gets the name of this binary string
getName() - Method in class net.openai.ai.ga.world.World
Returns the name of this World.
getNumberOfWorlds() - Method in class net.openai.ai.ga.GeneticAlgorithm
Returns the number of Worlds stored in this GeneticAlgorithm.
getParentSelectionAlgorithm() - Method in class net.openai.ai.ga.world.World
Returns the current parent selection algorithm.
getPopulation() - Method in class net.openai.ai.ga.world.World
Returns the Population assigned to this World.
getPopulationArray() - Method in class net.openai.ai.ga.population.PopulationArray
Returns a Population[] array representing all the Populations in this population array.
getPopulationIterator() - Method in class net.openai.ai.ga.population.PopulationArray
Returns an Iterator to be used to iterate through all the Populations in this PopulationArray.
getPopulations() - Method in class net.openai.ai.ga.population.PopulationArray
Returns a Collection representing the internal representation of the PopulationArray
getSize() - Method in class net.openai.ai.ga.cell.encoding.FixedBinaryString
Returns the length of this binary string in bits
getSize() - Method in class net.openai.ai.ga.population.PopulationArray
Returns the number of Populations in this PopulationArrays.
getSize() - Method in class net.openai.ai.ga.population.Population
Returns the number of Cells in this Population .
getSurvivalSelectionAlgorithm() - Method in class net.openai.ai.ga.world.World
Returns the current survival selection algorithm.
getWorld(String) - Method in class net.openai.ai.ga.GeneticAlgorithm
Retrieves a World from the list with a given name.
getWorldArray() - Method in class net.openai.ai.ga.GeneticAlgorithm
Retrieves a World[] copy of all the World's in this GeneticAlgorithm.
getWorldIterator() - Method in class net.openai.ai.ga.GeneticAlgorithm
Return an Iterator to use to go through all the Worlds in this GeneticAlgorithm.
getWorldNames() - Method in class net.openai.ai.ga.GeneticAlgorithm
Retrieves a World from the list with a given name.
getWorlds() - Method in class net.openai.ai.ga.GeneticAlgorithm
Retrieves the Collection that holds this collection's World objects

I

iterate() - Method in class net.openai.ai.ga.world.World
Iterates this World through one generation.
iterateAllWorlds() - Method in class net.openai.ai.ga.GeneticAlgorithm
Tells all World's in this GeneticAlgorithm to iterate through one generation.
iterateAllWorlds(int, boolean) - Method in class net.openai.ai.ga.GeneticAlgorithm
Tells all World's in this GeneticAlgorithm to iterate through multiple generations.
iterateWorld(String) - Method in class net.openai.ai.ga.GeneticAlgorithm
Tells a World with a given name to iterate through one generation.
iterateWorld(String, int) - Method in class net.openai.ai.ga.GeneticAlgorithm
Tells a World to iterate through multiple generations.
iterateWorld(World) - Method in class net.openai.ai.ga.GeneticAlgorithm
Tells a World to iterate through one generation.
iterateWorld(World, int) - Method in class net.openai.ai.ga.GeneticAlgorithm
Tells a World to iterate through multiple generations.

M

mature() - Method in interface net.openai.ai.ga.cell.Cell
Tells the cell to mature.
mature() - Method in class net.openai.ai.ga.cell.AbstractCell
Tells the cell to mature.
mature() - Method in class net.openai.ai.ga.population.Population
Matures the population.
mutate() - Method in interface net.openai.ai.ga.cell.Cell
Tells the cell that it has been chosen to mutate.
mutate() - Method in class net.openai.ai.ga.cell.AbstractCell
Tells the cell that it has been chosen to mutate.
mutate(int) - Method in class net.openai.ai.ga.cell.encoding.StrictPermutation
Mutates a given number of elements in the permutation.
mutate(int) - Method in class net.openai.ai.ga.cell.encoding.FixedBinaryString
Mutates a given number of bits in the binary string.
mutate(Population) - Static method in class net.openai.ai.ga.population.Population
Issues a mutate command to each cell in the passed Population .

N

net.openai.ai.ga - package net.openai.ai.ga
 
net.openai.ai.ga.cell - package net.openai.ai.ga.cell
 
net.openai.ai.ga.cell.encoding - package net.openai.ai.ga.cell.encoding
 
net.openai.ai.ga.environment - package net.openai.ai.ga.environment
 
net.openai.ai.ga.population - package net.openai.ai.ga.population
 
net.openai.ai.ga.selection - package net.openai.ai.ga.selection
 
net.openai.ai.ga.selection.common - package net.openai.ai.ga.selection.common
 
net.openai.ai.ga.world - package net.openai.ai.ga.world
 

P

pops - Variable in class net.openai.ai.ga.population.PopulationArray
The Collection that holds all the Populations
Population - class net.openai.ai.ga.population.Population.
The Population is the encapsulation of the individual solutions ( Cells that are used to solve the problem.
Population() - Constructor for class net.openai.ai.ga.population.Population
Creates a population using an ArrayList
Population(Collection) - Constructor for class net.openai.ai.ga.population.Population
Creates a population using a given Collection
Population(Population) - Constructor for class net.openai.ai.ga.population.Population
Creates a partial clone of this Population.
Population(Population, boolean) - Constructor for class net.openai.ai.ga.population.Population
Creates a partial clone of this Population.
PopulationArray - class net.openai.ai.ga.population.PopulationArray.
The PopulationArray is the equilivant of an array of Population elements.
PopulationArray() - Constructor for class net.openai.ai.ga.population.PopulationArray
Creates a PopulationArray using an ArrayList
PopulationArray(Collection) - Constructor for class net.openai.ai.ga.population.PopulationArray
Creates a PopulationArray with a given initial Collection
PopulationArray(PopulationArray) - Constructor for class net.openai.ai.ga.population.PopulationArray
Creates a shallow clone of the passed PopulationArray.

R

reactToPopulation(Population) - Method in interface net.openai.ai.ga.environment.Environment
Tells the Environment to react to the given Population.
reactToPopulation(Population) - Method in class net.openai.ai.ga.environment.AbstractEnvironment
Tells the AbstractEnvironment to react to the given Population.
removeAllCellsBut(Population) - Method in class net.openai.ai.ga.population.Population
Removes all the Cells from this Population except those specified in the passed Population.
removeAllSameAs(Cell) - Method in class net.openai.ai.ga.population.Population
Removes all instances of Cell from this Population.
removeAllSameAs(Population) - Method in class net.openai.ai.ga.population.PopulationArray
Removes all instances of Population from this PopulationArray.
removeAllWorlds(String) - Method in class net.openai.ai.ga.GeneticAlgorithm
Removes all World's with the given name out of this GeneticAlgorithm.
removeCell(Cell) - Method in class net.openai.ai.ga.population.Population
Removes a Cell from this Population.
removeCells(Population) - Method in class net.openai.ai.ga.population.Population
Removes a group of Cells from this Population .
removePopulation(Population) - Method in class net.openai.ai.ga.population.PopulationArray
Removes a Population from this PopulationArray .
removePopulations(PopulationArray) - Method in class net.openai.ai.ga.population.PopulationArray
Removes a group of Populations from this PopulationArray.
removeWorld(String) - Method in class net.openai.ai.ga.GeneticAlgorithm
Removes a World with the given name out of this GeneticAlgorithm.
removeWorld(World) - Method in class net.openai.ai.ga.GeneticAlgorithm
Removes a given World out of this GeneticAlgorithm.

S

SelectAll - class net.openai.ai.ga.selection.common.SelectAll.
SelectAll is a SelectionAlgorithm that will returns a clone of the passed Population.
SelectAll() - Constructor for class net.openai.ai.ga.selection.common.SelectAll
Creates a new SelectAll object.
SelectComplement - class net.openai.ai.ga.selection.common.SelectComplement.
SelectComplement is a SelectionAlgorithm that will return the complement of the results of two specified SelectionAlgorithms.
SelectComplement(SelectionAlgorithm) - Constructor for class net.openai.ai.ga.selection.common.SelectComplement
Creates a new SelectComplement object for taking the complement of the Populations returned by the two passed SelectionAlgorithms.
SelectCompose - class net.openai.ai.ga.selection.common.SelectCompose.
SelectAll is a SelectionAlgorithm that will returns the result of a SelectionAlgorithm on the Population returned from the second, i.e.
SelectCompose(SelectionAlgorithm, SelectionAlgorithm) - Constructor for class net.openai.ai.ga.selection.common.SelectCompose
Creates a new SelectAll object.
SelectDifference - class net.openai.ai.ga.selection.common.SelectDifference.
SelectDifference is a SelectionAlgorithm that will return the difference of the results of two specified SelectionAlgorithms.
SelectDifference(SelectionAlgorithm, SelectionAlgorithm) - Constructor for class net.openai.ai.ga.selection.common.SelectDifference
Creates a new SelectDifference object for taking the difference of the Populations returned by the two passed SelectionAlgorithms.
SelectFitnessRange - class net.openai.ai.ga.selection.common.SelectFitnessRange.
SelectFitnessRange is a SelectionAlgorithm that will return a portion of the passed Population that have a fitness in the given range.
SelectFitnessRange(double, boolean, double, boolean) - Constructor for class net.openai.ai.ga.selection.common.SelectFitnessRange
Creates a new SelectFitnessRange object for choosing the Cells out of the specified Population who have a fitness in the specified range, specified with whether each bound is treated inclusive or exclusive.
SelectFitnessRange(double, double) - Constructor for class net.openai.ai.ga.selection.common.SelectFitnessRange
Creates a new SelectFitnessRange object for choosing the Cells out of the specified Population who have a fitness in the specified range, inclusive.
selectFromPopulation(Population) - Method in interface net.openai.ai.ga.selection.SelectionAlgorithm
Creates a Population according to a given algorithm or rule.
selectFromPopulation(Population) - Method in interface net.openai.ai.ga.selection.ArraySelectionAlgorithm
Creates a PopulationArray according to a given algorithm or rule.
selectFromPopulation(Population) - Method in class net.openai.ai.ga.selection.SubsetSelectorAdaptor
Creates a Population according to a given algorithm or rule.
selectFromPopulation(Population) - Method in class net.openai.ai.ga.selection.common.SelectNone
Returns a Population that is a clone of the specified Population but has no members.
selectFromPopulation(Population) - Method in class net.openai.ai.ga.selection.common.SelectUnion
Returns a Population that represents the union (junction) of the two SelectionAlgorithms specified in the constructor.
selectFromPopulation(Population) - Method in class net.openai.ai.ga.selection.common.SelectMaturityRange
Chooses the Cells in the specified Population with maturity in a given range.
selectFromPopulation(Population) - Method in class net.openai.ai.ga.selection.common.ArraySelectTournament
Creates a PopulationArray according to a tournament.
selectFromPopulation(Population) - Method in class net.openai.ai.ga.selection.common.SelectComplement
Returns a Population that represents the complement (disjunction) of the SelectionAlgorithm specified in the constructor.
selectFromPopulation(Population) - Method in class net.openai.ai.ga.selection.common.SelectLeastMaturity
Chooses the Cells in the specified Population with the least maturity.
selectFromPopulation(Population) - Method in class net.openai.ai.ga.selection.common.SelectLeastFitness
Chooses the Cells in the specified Population with the least fitness.
selectFromPopulation(Population) - Method in class net.openai.ai.ga.selection.common.SelectIntersection
Returns a Population that represents the intersection (disjunction) of the two SelectionAlgorithms specified in the constructor.
selectFromPopulation(Population) - Method in class net.openai.ai.ga.selection.common.SelectSingleGreatestFitness
Chooses the Cell in the specified Population with the greatest fitness.
selectFromPopulation(Population) - Method in class net.openai.ai.ga.selection.common.SelectFitnessRange
Chooses the Cells in the specified Population with fitness in a given range.
selectFromPopulation(Population) - Method in class net.openai.ai.ga.selection.common.SelectGreatestFitness
Chooses the Cells in the specified Population with the greatest fitness.
selectFromPopulation(Population) - Method in class net.openai.ai.ga.selection.common.SelectGreatestMaturity
Chooses the Cells in the specified Population with the greatest maturity.
selectFromPopulation(Population) - Method in class net.openai.ai.ga.selection.common.ArraySelectUnion
Returns a Population that represents the union (junction) of the two ArraySelectionAlgorithms specified in the constructor.
selectFromPopulation(Population) - Method in class net.openai.ai.ga.selection.common.SelectAll
Returns a Population that is a clone of the specified Population.
selectFromPopulation(Population) - Method in class net.openai.ai.ga.selection.common.SelectDifference
Returns a Population that represents the difference (disjunction) of the two SelectionAlgorithms specified in the constructor.
selectFromPopulation(Population) - Method in class net.openai.ai.ga.selection.common.SelectCompose
Returns a Population that is a clone of the specified Population.
SelectGreatestFitness - class net.openai.ai.ga.selection.common.SelectGreatestFitness.
SelectGreatestFitness is a SelectionAlgorithm that will return a portion of the passed Population that have the greatest fitness.
SelectGreatestFitness(double) - Constructor for class net.openai.ai.ga.selection.common.SelectGreatestFitness
Creates a new SelectGreatestFitness object for choosing the specified percentage of Cells out of the specified Population who have the greatest fitness.
SelectGreatestFitness(int) - Constructor for class net.openai.ai.ga.selection.common.SelectGreatestFitness
Creates a new SelectGreatestFitness object for choosing the specified number of Cells out of the specified Population who have the greatest fitness.
SelectGreatestMaturity - class net.openai.ai.ga.selection.common.SelectGreatestMaturity.
SelectGreatestMaturity is a SelectionAlgorithm that will return a portion of the passed Population that have the greatest maturity.
SelectGreatestMaturity(double) - Constructor for class net.openai.ai.ga.selection.common.SelectGreatestMaturity
Creates a new SelectGreatestMaturity object for choosing the specified percentage of Cells out of the specified Population who have the greatest maturity.
SelectGreatestMaturity(int) - Constructor for class net.openai.ai.ga.selection.common.SelectGreatestMaturity
Creates a new SelectGreatestMaturity object for choosing the specified number of Cells out of the specified Population who have the greatest maturity.
SelectIntersection - class net.openai.ai.ga.selection.common.SelectIntersection.
SelectIntersection is a SelectionAlgorithm that will return the intersection of the results of two specified SelectionAlgorithms.
SelectIntersection(SelectionAlgorithm, SelectionAlgorithm) - Constructor for class net.openai.ai.ga.selection.common.SelectIntersection
Creates a new SelectIntersection object for taking the intersection of the Populations returned by the two passed SelectionAlgorithms.
SelectionAlgorithm - interface net.openai.ai.ga.selection.SelectionAlgorithm.
SelectionAlgorithm is a method by which Cell members are chosen from a Population for a given purpose (i.e.
SelectLeastFitness - class net.openai.ai.ga.selection.common.SelectLeastFitness.
SelectGreatestFitness is a SelectionAlgorithm that will return a portion of the passed Population that have the least fitness.
SelectLeastFitness(double) - Constructor for class net.openai.ai.ga.selection.common.SelectLeastFitness
Creates a new SelectGreatestFitness object for choosing the specified percentage of Cells out of the specified Population who have the least fitness.
SelectLeastFitness(int) - Constructor for class net.openai.ai.ga.selection.common.SelectLeastFitness
Creates a new SelectLeastFitness object for choosing the specified number of Cells out of the specified Population who have the least fitness.
SelectLeastMaturity - class net.openai.ai.ga.selection.common.SelectLeastMaturity.
SelectGreatestMaturity is a SelectionAlgorithm that will return a portion of the passed Population that have the least maturity.
SelectLeastMaturity(double) - Constructor for class net.openai.ai.ga.selection.common.SelectLeastMaturity
Creates a new SelectGreatestMaturity object for choosing the specified percentage of Cells out of the specified Population who have the least maturity.
SelectLeastMaturity(int) - Constructor for class net.openai.ai.ga.selection.common.SelectLeastMaturity
Creates a new SelectLeastMaturity object for choosing the specified number of Cells out of the specified Population who have the least maturity.
SelectMaturityRange - class net.openai.ai.ga.selection.common.SelectMaturityRange.
SelectMaturityRange is a SelectionAlgorithm that will return a portion of the passed Population that have a maturity in the given range.
SelectMaturityRange(int, boolean, int, boolean) - Constructor for class net.openai.ai.ga.selection.common.SelectMaturityRange
Creates a new SelectMaturityRange object for choosing the Cells out of the specified Population who have a maturity in the specified range, specified with whether each bound is treated inclusive or exclusive.
SelectMaturityRange(int, int) - Constructor for class net.openai.ai.ga.selection.common.SelectMaturityRange
Creates a new SelectMaturityRange object for choosing the Cells out of the specified Population who have a maturity in the specified range, inclusive.
SelectNone - class net.openai.ai.ga.selection.common.SelectNone.
SelectNone is a SelectionAlgorithm that will returns a clone of the passed Population, but with no members.
SelectNone() - Constructor for class net.openai.ai.ga.selection.common.SelectNone
Creates a new SelectNone object.
SelectSingleGreatestFitness - class net.openai.ai.ga.selection.common.SelectSingleGreatestFitness.
SelectGreatestFitness is a SelectionAlgorithm that will return a portion of the passed Population that have the greatest fitness.
SelectSingleGreatestFitness() - Constructor for class net.openai.ai.ga.selection.common.SelectSingleGreatestFitness
Creates a new SelectSingleGreatestFitness object for choosing a single Cell out of the specified Population who has the greatest fitness.
SelectUnion - class net.openai.ai.ga.selection.common.SelectUnion.
SelectUnion is a SelectionAlgorithm that will return the union of the results of two specified SelectionAlgorithms.
SelectUnion(SelectionAlgorithm, SelectionAlgorithm) - Constructor for class net.openai.ai.ga.selection.common.SelectUnion
Creates a new SelectUnion object for taking the union of the Populations returned by the two passed SelectionAlgorithms.
setBit(int) - Method in class net.openai.ai.ga.cell.encoding.FixedBinaryString
Sets a given bit in the binary string
setEnvironment(Environment) - Method in class net.openai.ai.ga.world.World
Sets the Environment used in this World.
setLength(int) - Method in class net.openai.ai.ga.cell.encoding.StrictPermutation
Sets the length of this permutation.
setList(int[]) - Method in class net.openai.ai.ga.cell.encoding.StrictPermutation
Sets the permutation to the values in the given list.
setListLoosely(int[]) - Method in class net.openai.ai.ga.cell.encoding.StrictPermutation
Sets the permutation to the values in the given list when possible.
setListLoosely(int[], int) - Method in class net.openai.ai.ga.cell.encoding.StrictPermutation
Sets the permutation to the values in the given list when possible starting from a given position.
setLong(long) - Method in class net.openai.ai.ga.cell.encoding.FixedBinaryString
Sets the binary string to the value as a long.
setMutationSelectionAlgorithm(SelectionAlgorithm) - Method in class net.openai.ai.ga.world.World
Sets the mutation selection algorithm to the given algorithm.
setName(String) - Method in class net.openai.ai.ga.cell.encoding.StrictPermutation
Sets the name of this permutation
setName(String) - Method in class net.openai.ai.ga.cell.encoding.FixedBinaryString
Sets the name of this binary string to the given name
setParentSelectionAlgorithm(ArraySelectionAlgorithm) - Method in class net.openai.ai.ga.world.World
Sets the parent selection algorithm to the given algorithm.
setPopulation(Population) - Method in class net.openai.ai.ga.world.World
Sets the Population used in this World.
setSize(int) - Method in class net.openai.ai.ga.cell.encoding.FixedBinaryString
Sets the length of this binary string in bits
setSurvivalSelectionAlgorithm(SelectionAlgorithm) - Method in class net.openai.ai.ga.world.World
Sets the survival selection algorithm to the given algorithm.
StrictPermutation - class net.openai.ai.ga.cell.encoding.StrictPermutation.
The StrictPermutation class stores a permutation of values from 0 to (length-1).
StrictPermutation(StrictPermutation) - Constructor for class net.openai.ai.ga.cell.encoding.StrictPermutation
Creates and returns a clone of the given StrictPermutation.
StrictPermutation(String, int) - Constructor for class net.openai.ai.ga.cell.encoding.StrictPermutation
Creates a new StrictPermutation with the specified length and given name.
StrictPermutation(String, int, int[]) - Constructor for class net.openai.ai.ga.cell.encoding.StrictPermutation
Creates a new StrictPermutation initialized with the specified capacity and starting with the values in the passed integer array so far as is possible using setListLoosely.
SubsetSelectorAdaptor - class net.openai.ai.ga.selection.SubsetSelectorAdaptor.
SelectionAlgorithm is a method by which Cell members are chosen from a Population for a given purpose (i.e.
SubsetSelectorAdaptor() - Constructor for class net.openai.ai.ga.selection.SubsetSelectorAdaptor
 

T

toBinaryString() - Method in class net.openai.ai.ga.cell.encoding.FixedBinaryString
Returns a String representation of this binary string as a string of binary digits.
toFullBinaryString() - Method in class net.openai.ai.ga.cell.encoding.FixedBinaryString
Returns a String representation of this binary string as a string of binary digits, including leading zeroes
toFullHexString() - Method in class net.openai.ai.ga.cell.encoding.FixedBinaryString
Returns a String representation of this binary string as a string of hexadecimal digits, including leading zeroes
toHexString() - Method in class net.openai.ai.ga.cell.encoding.FixedBinaryString
Returns a String representation of this binary string as a string of hex digits.
toString() - Method in class net.openai.ai.ga.GeneticAlgorithm
Calls every World's toString() method and returns a concatenation of all the Strings returned.
toString() - Method in class net.openai.ai.ga.cell.AbstractCell
Returns a string showing the fitness and maturity of this cell.
toString() - Method in class net.openai.ai.ga.cell.encoding.StrictPermutation
Method declaration
toString() - Method in class net.openai.ai.ga.population.PopulationArray
 
toString() - Method in class net.openai.ai.ga.population.Population
Returns a String representation of this Population.
toString() - Method in class net.openai.ai.ga.world.World
Returns a string showing the current status of this World.
toStringQuiet - Variable in class net.openai.ai.ga.population.Population
Determines whether to display anything on a toString() call.
toStringUsesCells - Variable in class net.openai.ai.ga.population.Population
Determines whether to call all the Cells to return something as well.
toStringUsesSize - Variable in class net.openai.ai.ga.population.Population
Determines whether to display the size of the Population
toStringUsesTopCell - Variable in class net.openai.ai.ga.population.Population
Determines whether the Cell with the highest fitness is displayed.

W

World - class net.openai.ai.ga.world.World.
World contains all the information necessary to simulate a complete genetic algorithm implementation.
World(String) - Constructor for class net.openai.ai.ga.world.World
Reset generation count and create an empty Population and no selection algorithms.
World(String, ArraySelectionAlgorithm, SelectionAlgorithm, SelectionAlgorithm) - Constructor for class net.openai.ai.ga.world.World
Reset generation count and create an empty population and specified selection algorithms.
World(String, Population) - Constructor for class net.openai.ai.ga.world.World
Reset generation count, use the specified Population, and initialize no selection algorithms.
World(String, Population, ArraySelectionAlgorithm, SelectionAlgorithm, SelectionAlgorithm) - Constructor for class net.openai.ai.ga.world.World
Reset generation count and create an empty population and specified selection algorithms.

A C E F G I M N P R S T W