| Package | Description |
|---|---|
| org.apache.commons.math4.genetics |
This package provides Genetic Algorithms components and implementations.
|
| Modifier and Type | Class | 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 | Description |
|---|---|---|
CrossoverPolicy |
GeneticAlgorithm.getCrossoverPolicy() |
Returns the crossover policy.
|
| Constructor | Description |
|---|---|
GeneticAlgorithm(CrossoverPolicy crossoverPolicy,
double crossoverRate,
MutationPolicy mutationPolicy,
double mutationRate,
SelectionPolicy selectionPolicy) |
Create a new genetic algorithm.
|
Copyright © 2003–2017 The Apache Software Foundation. All rights reserved.