Package | Description |
---|---|
org.apache.commons.math3.genetics |
This package provides Genetic Algorithms components and implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
CycleCrossover<T>
Cycle Crossover [CX] builds offspring from ordered chromosomes by identifying cycles
between two parent chromosomes.
|
class |
NPointCrossover<T>
N-point crossover policy.
|
class |
OnePointCrossover<T>
One point crossover policy.
|
class |
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.
|
class |
UniformCrossover<T>
Perform Uniform Crossover [UX] on the specified chromosomes.
|
Modifier and Type | Method and Description |
---|---|
CrossoverPolicy |
GeneticAlgorithm.getCrossoverPolicy()
Returns the crossover policy.
|
Constructor and Description |
---|
GeneticAlgorithm(CrossoverPolicy crossoverPolicy,
double crossoverRate,
MutationPolicy mutationPolicy,
double mutationRate,
SelectionPolicy selectionPolicy)
Create a new genetic algorithm.
|
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.