public interface IntegerMutation
IntegerMutation.
Modifier and Type | Method and Description |
---|---|
int |
mutateLower(int lowerValue,
int upperValue,
int currentState,
int scale)
Mutates the lower real value of the interval.
|
int |
mutateUpper(int lowerValue,
int upperValue,
int currentState,
int scale)
Mutates the upper real value.
|
int mutateLower(int lowerValue, int upperValue, int currentState, int scale)
Mutates the lower real value of the interval.
lowerValue
- is the current lower value of this classifier positionupperValue
- is the current upper value of this classifier position.currentState
- is the current State of the environment for this
allele of the classifier.scale
- values scale.int mutateUpper(int lowerValue, int upperValue, int currentState, int scale)
Mutates the upper real value.
lowerValue
- is the current lower value of this classifier positionupperValue
- is the current upper value of this classifier position.currentState
- is the current State of the environment for this
allele of the classifier.scale
- values scale.