Uses of Interface
org.apache.commons.math4.legacy.genetics.Population
-
Packages that use Population Package Description org.apache.commons.math4.legacy.genetics This package provides Genetic Algorithms components and implementations. -
-
Uses of Population in org.apache.commons.math4.legacy.genetics
Classes in org.apache.commons.math4.legacy.genetics that implement Population Modifier and Type Class 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 aList
.Methods in org.apache.commons.math4.legacy.genetics that return Population Modifier and Type Method Description Population
GeneticAlgorithm. evolve(Population initial, StoppingCondition condition)
Evolve the given population.Population
ElitisticListPopulation. nextGeneration()
Start the population for the next generation.Population
GeneticAlgorithm. nextGeneration(Population current)
Evolve the given population into the next generation.Population
Population. nextGeneration()
Start the population for the next generation.Methods in org.apache.commons.math4.legacy.genetics with parameters of type Population Modifier and Type Method Description Population
GeneticAlgorithm. evolve(Population initial, StoppingCondition condition)
Evolve the given population.protected Chromosome
Chromosome. findSameChromosome(Population population)
Searches thepopulation
for another chromosome with the same representation.boolean
FixedElapsedTime. isSatisfied(Population population)
Determine whether or not the maximum allowed time has passed.boolean
FixedGenerationCount. isSatisfied(Population population)
Determine whether or not the given number of generations have passed.boolean
StoppingCondition. isSatisfied(Population population)
Determine whether or not the given population satisfies the stopping condition.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.
-