Package | Description |
---|---|
gov.sandia.cognition.learning.algorithm.genetic |
Provides a genetic algorithm implementation.
|
gov.sandia.cognition.learning.algorithm.genetic.reproducer |
Provides reproduction functions for use with a Genetic Algorithm.
|
gov.sandia.cognition.learning.algorithm.genetic.selector |
Provides selection functions for a Genetic Algorithm.
|
Modifier and Type | Method and Description |
---|---|
Reproducer<GenomeType> |
GeneticAlgorithm.getReproducer()
Gets the reproducer.
|
Modifier and Type | Method and Description |
---|---|
void |
GeneticAlgorithm.setReproducer(Reproducer<GenomeType> reproducer)
Sets the reproducer.
|
Constructor and Description |
---|
GeneticAlgorithm(java.util.Collection<GenomeType> initialPopulation,
Reproducer<GenomeType> reproducer,
CostFunction<? super GenomeType,? super CostParametersType> cost)
Creates a new instance of GeneticAlgorithm.
|
GeneticAlgorithm(java.util.Collection<GenomeType> initialPopulation,
Reproducer<GenomeType> reproducer,
CostFunction<? super GenomeType,? super CostParametersType> cost,
int maxIterations)
Creates a new instance of GeneticAlgorithm.
|
GeneticAlgorithm(java.util.Collection<GenomeType> initialPopulation,
Reproducer<GenomeType> reproducer,
CostFunction<? super GenomeType,? super CostParametersType> cost,
int maxIterations,
int maxIterationsWithoutImprovement)
Creates a new instance of GeneticAlgorithm.
|
ParallelizedGeneticAlgorithm(java.util.Collection<GenomeType> initialPopulation,
Reproducer<GenomeType> reproducer,
CostFunction<? super GenomeType,? super CostParametersType> cost,
java.util.concurrent.ThreadPoolExecutor threadPool) |
ParallelizedGeneticAlgorithm(java.util.Collection<GenomeType> initialPopulation,
Reproducer<GenomeType> reproducer,
CostFunction<? super GenomeType,? super CostParametersType> cost,
java.util.concurrent.ThreadPoolExecutor threadPool,
int maxIterations,
int maxIterationsWithoutImprovement) |
Modifier and Type | Class and Description |
---|---|
class |
CrossoverReproducer<GenomeType>
The CrossoverReproducer takes a population of genomes, and applies the
supplied CrossoverFunction to produce a new population.
|
class |
MultiReproducer<GenomeType>
The MultiReproducer class implements a Reproducer that takes multiple
Reproducers and applies them to a population.
|
class |
MutationReproducer<GenomeType>
The MutationReproducer class implements a Reproducer that applies a
Perturber to the supplied population to produce a new population. |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Reproducer<GenomeType>> |
MultiReproducer.getReproducers()
Gets the reproducers to use for reproducing.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiReproducer.setReproducers(java.util.Collection<Reproducer<GenomeType>> reproducers)
Sets the reproducers to use for reproducing.
|
Constructor and Description |
---|
MultiReproducer(java.util.Collection<Reproducer<GenomeType>> reproducers)
Creates a new instance of MultiReproducer.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Selector<GenomeType>
The Selector interface defines a type of reproducer that can select a portion
of a population for reproduction.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSelector<GenomeType>
The
AbstractSelector class provides some common functionality
for implementations of Selectors . |
class |
TournamentSelector<GenomeType>
The TournamentSelector class implements a Selector that uses tournament
selection to create a new population.
|