# Package org.apache.commons.math3.genetics

package org.apache.commons.math3.genetics
This package provides Genetic Algorithms components and implementations.

Related Packages
Package
Description
org.apache.commons.math3
Common classes used throughout the commons-math library.
Class
Description
AbstractListChromosome<T>
Chromosome represented by an immutable list of a fixed length.
BinaryChromosome
Chromosome represented by a vector of 0s and 1s.
BinaryMutation
Mutation for `BinaryChromosome`s.
Chromosome
Individual in a population.
ChromosomePair
A pair of `Chromosome` objects.
CrossoverPolicy
Policy used to create a pair of new chromosomes by performing a crossover operation on a source pair of chromosomes.
CycleCrossover<T>
Cycle Crossover [CX] builds offspring from ordered chromosomes by identifying cycles between two parent chromosomes.
ElitisticListPopulation
Population of chromosomes which uses elitism (certain percentage of the best chromosomes is directly copied to the next generation).
Fitness
Fitness of a chromosome.
FixedElapsedTime
Stops after a fixed amount of time has elapsed.
FixedGenerationCount
Stops after a fixed number of generations.
GeneticAlgorithm
Implementation of a genetic algorithm.
InvalidRepresentationException
Exception indicating that the representation of a chromosome is not valid.
ListPopulation
Population of chromosomes represented by a `List`.
MutationPolicy
Algorithm used to mutate a chromosome.
NPointCrossover<T>
N-point crossover policy.
OnePointCrossover<T>
One point crossover policy.
OrderedCrossover<T>
Order 1 Crossover [OX1] builds offspring from ordered chromosomes by copying a consecutive slice from one parent, and filling up the remaining genes from the other parent as they appear.
PermutationChromosome<T>
Interface indicating that the chromosome represents a permutation of objects.
Population
A collection of chromosomes that facilitates generational evolution.
RandomKey<T>
Random Key chromosome is used for permutation representation.
RandomKeyMutation
Mutation operator for `RandomKey`s.
SelectionPolicy
Algorithm used to select a chromosome pair from a population.
StoppingCondition
Algorithm used to determine when to stop evolution.
TournamentSelection
Tournament selection scheme.
UniformCrossover<T>
Perform Uniform Crossover [UX] on the specified chromosomes.