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