public final class AverageRecombine extends DoubleContinuousRecombine
Recombination strategy that averages two individuals.
Modifier and Type | Class and Description |
---|---|
static interface |
io.vavr.Lambda.Memoized |
Constructor and Description |
---|
AverageRecombine() |
Modifier and Type | Method and Description |
---|---|
default boolean |
isMemoized() |
protected double |
recombine(double a,
double b)
Perform the actual recombination on primitive doubles.
|
recombine
recombine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
protected double recombine(double a, double b)
DoubleContinuousRecombine
Perform the actual recombination on primitive doubles.
recombine
in class DoubleContinuousRecombine
a
- The first valueb
- The second valuepublic boolean isMemoized()