|Constructor and Description|
|Modifier and Type||Method and Description|
Returns a new generation of
public GenerationEvolverImpl(int elitismSize, NodeSelectorFactory selectorFactory, Map<GeneticOperator,Integer> operators)
GenerationEvolverImplthat uses the given values to evolve new generations.
elitismSize- the number of best candidates from an existing generation to automatically include "as-is" in the next generation
selectorFactory- used to select candidates from an existing generation to be used as a basis for evolving candidates for the next generation
operators- the genetic operators to be used to evolve new candidates where the key = a genetic operator and the value = the number of times that genetic operator should be applied during each single invocation of
public Collection<Node> evolve(RankedCandidates oldGeneration)
Nodeinstances evolved from the specified existing generation.
OakGP Genetic Programming Framework