org.jgap.gp
Interface IMutateable
- All Known Implementing Classes:
- Add, And, Divide, False, Multiply, Or, Subtract, Terminal, True
public interface IMutateable
Interface for GP commands that are mutateable.
- Since:
- 3.0
|
Field Summary |
static java.lang.String |
CVS_REVISION
String containing the CVS revision. |
CVS_REVISION
static final java.lang.String CVS_REVISION
- String containing the CVS revision. Read out via reflection!
- See Also:
- Constant Field Values
applyMutation
CommandGene applyMutation(int a_index,
double a_percentage)
throws InvalidConfigurationException
- Mutates a CommandGene
- Parameters:
a_index - references the part of a multipart object, normally not
relevanta_percentage - the mutation rate (0.0 to 1.0)
- Returns:
- the mutant
- Throws:
InvalidConfigurationException- Since:
- 3.0