Package | Description |
---|---|
org.apache.commons.math.genetics |
This package provides Genetic Algorithms components and implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
ElitisticListPopulation
Population of chromosomes which uses elitism (certain percentace 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 |
ElitisticListPopulation.nextGeneration()
Start the population for the next generation.
|
Population |
Population.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.
|
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 |
TournamentSelection.select(Population population)
Select two chromosomes from the population.
|
ChromosomePair |
SelectionPolicy.select(Population population)
Select two chromosomes from the population.
|
Copyright © 2003–2019. All rights reserved.