Class IntChromosomeSinglePointArithmetic<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.core.combination.singlepointarithmetic.IntChromosomeSinglePointArithmetic<T>
- All Implemented Interfaces:
ChromosomeCombinator<T>
public class IntChromosomeSinglePointArithmetic<T extends Comparable<T>>
extends Object
implements ChromosomeCombinator<T>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionIntChromosomeSinglePointArithmetic
(RandomGenerator _randomGenerator, double _alpha) -
Method Summary
Modifier and TypeMethodDescriptioncombine
(AbstractEAConfiguration<T> eaConfiguration, Chromosome chromosome1, T firstParentFitness, Chromosome chromosome2, T secondParentFitness)
-
Field Details
-
randomGenerator
-
alpha
private final double alpha
-
-
Constructor Details
-
IntChromosomeSinglePointArithmetic
-
-
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>>
-