|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
AbstractCell class is an encapsulation of data that will
be used to try to solve a problem (Environment).AbstractEnvironment is the encapsulation of the problem that
the population will try to solve.Cell to this Population.
Cells in the given Population.
Population to this PopulationArray.
Populations in the given
PopulationArray.
ArraySelectionAlgorithm is a method by which
Population members are created and chosen from a
Population.ArraySelectTournament is a method by which
Population members are created and chosen using a tournament on a
Population.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 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 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 is a ArraySelectionAlgorithm
that will return the union of the results of two specified
ArraySelectionAlgorithms.ArraySelectUnion object for taking the union of
the Populations returned by the two passed
ArraySelectionAlgorithms.
Cell interface is an encapsulation of data that will
be used to try to solve a problem (Environment).getFitness calls.
getMaturity.
Population
World objects from the Collection
Population objects from the
Collection
Cell objects from the Collection
Cells to add into the Population.
Cells in the given Population
.
FixedBinaryString based on two other
binary strings of the same length.
StrictPermutation based on two other
permutations of the same length.
Cell in this Population to
evaluate its fitness based upon the Environment given to
it.
Cell.
Cell.
FixedBinaryString is an encoding method using a string
of binary digits.FixedBinaryString.
FixedBinaryString with the specified bit-
length and given name.
FixedBinaryString with the specified bit-length
and initial value and given name.
ArrayList
Collection
Cell from this Population with the
given index.
Cell[] array representing all the Cell
s in this population.
Cell in this Population.
Collection used internally to represent the
members of the population
Cell.
Cell.
int[].
long.
Cell.
Cell.
Worlds stored in this
GeneticAlgorithm.
Population[] array representing all the
Populations in this population array.
Populations in this PopulationArray.
Collection representing the internal
representation of the PopulationArray
Populations in this
PopulationArrays.
Cells in this Population
.
Iterator to use to go through all the
Worlds in this GeneticAlgorithm.
Collection that holds this collection's
World objects
Population
.
Collection that holds all the Populations
Cells that are used to solve the problem.ArrayList
Collection
Population.
Population.
Population
elements.PopulationArray using an ArrayList
PopulationArray with a given initial
Collection
PopulationArray.
Environment to react to the given
Population.
AbstractEnvironment to react to the given
Population.
Cells from this Population
except those specified in the passed Population.
Cell from this
Population.
Population from this
PopulationArray.
Cell from this Population.
Cells from this Population
.
Population from this PopulationArray
.
Populations from this
PopulationArray.
SelectAll is a SelectionAlgorithm
that will returns a clone of the passed Population.SelectAll object.
SelectComplement is a SelectionAlgorithm
that will return the complement of the results of two specified
SelectionAlgorithms.SelectComplement object for taking the
complement of the Populations returned by the two
passed SelectionAlgorithms.
SelectAll is a SelectionAlgorithm
that will returns the result of a SelectionAlgorithm on
the Population returned from the second, i.e.SelectAll object.
SelectDifference is a SelectionAlgorithm
that will return the difference of the results of two specified
SelectionAlgorithms.SelectDifference object for taking the
difference of the Populations returned by the two
passed SelectionAlgorithms.
SelectFitnessRange is a SelectionAlgorithm
that will return a portion of the passed Population that
have a fitness in the given range.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 object for choosing
the Cells out of the specified Population who
have a fitness in the specified range, inclusive.
Population according to a given algorithm or
rule.
PopulationArray according to a given algorithm
or rule.
Population according to a given algorithm or
rule.
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
-
String representation of this binary string as a
string of binary digits.
String representation of this binary string as a
string of binary digits, including leading zeroes
String representation of this binary string as a
string of hexadecimal digits, including leading zeroes
String representation of this binary string as a
string of hex digits.
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.
Population and no
selection algorithms.
Population, and
initialize no selection algorithms.
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||