Package | Description |
---|---|
org.apache.commons.math3.genetics |
This package provides Genetic Algorithms components and implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
ElitisticListPopulation
Population of chromosomes which uses elitism (certain percentage of the best
chromosomes is directly copied to the next generation).
|
class |
ListPopulation
Population of chromosomes represented by a
List . |
Modifier and Type | Method and Description |
---|---|
Population |
GeneticAlgorithm.evolve(Population initial,
StoppingCondition condition)
Evolve the given population.
|
Population |
Population.nextGeneration()
Start the population for the next generation.
|
Population |
ElitisticListPopulation.nextGeneration()
Start the population for the next generation.
|
Population |
GeneticAlgorithm.nextGeneration(Population current)
Evolve the given population into the next generation.
|
Modifier and Type | Method and Description |
---|---|
Population |
GeneticAlgorithm.evolve(Population initial,
StoppingCondition condition)
Evolve the given population.
|
protected Chromosome |
Chromosome.findSameChromosome(Population population)
Searches the
population for another chromosome with the same representation. |
boolean |
StoppingCondition.isSatisfied(Population population)
Determine whether or not the given population satisfies the stopping condition.
|
boolean |
FixedGenerationCount.isSatisfied(Population population)
Determine whether or not the given number of generations have passed.
|
boolean |
FixedElapsedTime.isSatisfied(Population population)
Determine whether or not the maximum allowed time has passed.
|
Population |
GeneticAlgorithm.nextGeneration(Population current)
Evolve the given population into the next generation.
|
void |
Chromosome.searchForFitnessUpdate(Population population)
Searches the population for a chromosome representing the same solution, and if it finds one,
updates the fitness to its value.
|
ChromosomePair |
SelectionPolicy.select(Population population)
Select two chromosomes from the population.
|
ChromosomePair |
TournamentSelection.select(Population population)
Select two chromosomes from the population.
|
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.