Class MultiChromosomeCombinations<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.core.combination.multicombinations.MultiChromosomeCombinations<T>
- All Implemented Interfaces:
ChromosomeCombinator<T>
public class MultiChromosomeCombinations<T extends Comparable<T>>
extends Object
implements ChromosomeCombinator<T>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<ChromosomeCombinator<T>> private final RandomGenerator
-
Constructor Summary
ConstructorDescriptionMultiChromosomeCombinations
(RandomGenerator _randomGenerator, List<ChromosomeCombinator<T>> _chromosomeCombinators) -
Method Summary
Modifier and TypeMethodDescriptioncombine
(AbstractEAConfiguration<T> eaConfiguration, Chromosome chromosome1, T firstParentFitness, Chromosome chromosome2, T secondParentFitness)
-
Field Details
-
randomGenerator
-
chromosomeCombinators
-
-
Constructor Details
-
MultiChromosomeCombinations
public MultiChromosomeCombinations(RandomGenerator _randomGenerator, List<ChromosomeCombinator<T>> _chromosomeCombinators)
-
-
Method Details
-
combine
public List<Chromosome> combine(AbstractEAConfiguration<T> eaConfiguration, Chromosome chromosome1, T firstParentFitness, Chromosome chromosome2, T secondParentFitness) - Specified by:
combine
in interfaceChromosomeCombinator<T extends Comparable<T>>
-