public class NormalizeDoubleMirror extends NormalizeDoubleElementwise
NormalizeDoubleMirror normalizes the DoubleGenotype by
mirroring the values on the borders if the bounds are violated.| Constructor and Description |
|---|
NormalizeDoubleMirror() |
| Modifier and Type | Method and Description |
|---|---|
double |
normalize(double value,
double lb,
double ub)
Normalize a double value.
|
normalizepublic double normalize(double value,
double lb,
double ub)
NormalizeDoubleElementwisenormalize in class NormalizeDoubleElementwisevalue - the value to be normalizedlb - the lower boundub - the upper bound