Uses of Interface
org.apache.commons.math3.genetics.Population
Packages that use Population
Package
Description
This package provides Genetic Algorithms components and implementations.
-
Uses of Population in org.apache.commons.math3.genetics
Classes in org.apache.commons.math3.genetics that implement PopulationModifier and TypeClassDescriptionclassPopulation of chromosomes which uses elitism (certain percentage of the best chromosomes is directly copied to the next generation).classPopulation of chromosomes represented by aList.Methods in org.apache.commons.math3.genetics that return PopulationModifier and TypeMethodDescriptionGeneticAlgorithm.evolve(Population initial, StoppingCondition condition) Evolve the given population.ElitisticListPopulation.nextGeneration()Start the population for the next generation.GeneticAlgorithm.nextGeneration(Population current) Evolve the given population into the next generation.Population.nextGeneration()Start the population for the next generation.Methods in org.apache.commons.math3.genetics with parameters of type PopulationModifier and TypeMethodDescriptionGeneticAlgorithm.evolve(Population initial, StoppingCondition condition) Evolve the given population.protected ChromosomeChromosome.findSameChromosome(Population population) Searches thepopulationfor another chromosome with the same representation.booleanFixedElapsedTime.isSatisfied(Population population) Determine whether or not the maximum allowed time has passed.booleanFixedGenerationCount.isSatisfied(Population population) Determine whether or not the given number of generations have passed.booleanStoppingCondition.isSatisfied(Population population) Determine whether or not the given population satisfies the stopping condition.GeneticAlgorithm.nextGeneration(Population current) Evolve the given population into the next generation.voidChromosome.searchForFitnessUpdate(Population population) Searches the population for a chromosome representing the same solution, and if it finds one, updates the fitness to its value.SelectionPolicy.select(Population population) Select two chromosomes from the population.TournamentSelection.select(Population population) Select two chromosomes from the population.