Class DoubleChromosomeMultiPointArithmetic<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.core.combination.multipointarithmetic.DoubleChromosomeMultiPointArithmetic<T>
- All Implemented Interfaces:
ChromosomeCombinator<T>
public class DoubleChromosomeMultiPointArithmetic<T extends Comparable<T>>
extends Object
implements ChromosomeCombinator<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MultiPointArithmetic
private final RandomGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionDoubleChromosomeMultiPointArithmetic
(RandomGenerator _randomGenerator, MultiPointArithmetic _multiPointArithmeticPolicy) -
Method Summary
Modifier and TypeMethodDescriptioncombine
(AbstractEAConfiguration<T> eaConfiguration, Chromosome chromosome1, T firstParentFitness, Chromosome chromosome2, T secondParentFitness)
-
Field Details
-
randomGenerator
-
multiPointArithmeticPolicy
-
-
Constructor Details
-
DoubleChromosomeMultiPointArithmetic
public DoubleChromosomeMultiPointArithmetic(RandomGenerator _randomGenerator, MultiPointArithmetic _multiPointArithmeticPolicy)
-
-
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>>
-