Package org.apache.commons.math3.genetics
package org.apache.commons.math3.genetics
This package provides Genetic Algorithms components and implementations.
-
ClassDescriptionChromosome represented by an immutable list of a fixed length.Chromosome represented by a vector of 0s and 1s.Mutation for
BinaryChromosome
s.Individual in a population.A pair ofChromosome
objects.Policy used to create a pair of new chromosomes by performing a crossover operation on a source pair of chromosomes.Cycle Crossover [CX] builds offspring from ordered chromosomes by identifying cycles between two parent chromosomes.Population of chromosomes which uses elitism (certain percentage of the best chromosomes is directly copied to the next generation).Fitness of a chromosome.Stops after a fixed amount of time has elapsed.Stops after a fixed number of generations.Implementation of a genetic algorithm.Exception indicating that the representation of a chromosome is not valid.Population of chromosomes represented by aList
.Algorithm used to mutate a chromosome.N-point crossover policy.One point crossover policy.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.Interface indicating that the chromosome represents a permutation of objects.A collection of chromosomes that facilitates generational evolution.RandomKey<T>Random Key chromosome is used for permutation representation.Mutation operator forRandomKey
s.Algorithm used to select a chromosome pair from a population.Algorithm used to determine when to stop evolution.Tournament selection scheme.Perform Uniform Crossover [UX] on the specified chromosomes.