- All Known Implementing Classes:
BigIntegerGene
,DoubleGene
,IntegerGene
,LongGene
public interface Mean<T>
A mixin interface for genes which can have a mean value. This mixin is
required for the
MeanAlterer
.- Since:
- 1.0
- Version:
- 1.6
- See Also:
-
Method Summary
-
Method Details
-
mean
Return the (usually arithmetic) mean value ofthis
andthat
. ForNumericGene
s the mean is the arithmetic mean.- Parameters:
that
- the second value for calculating the mean.- Returns:
- the mean value of
this
andthat
. - Throws:
NullPointerException
- if the argument isnull
.
-