Class SwitchStateMutation
java.lang.Object
net.bmahe.genetics4j.neat.spec.mutation.SwitchStateMutation
- All Implemented Interfaces:
MutationPolicy
- Direct Known Subclasses:
ImmutableSwitchStateMutation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
check()
static SwitchStateMutation
of
(double populationMutationProbability) Construct a new immutableSwitchStateMutation
instance.abstract double
-
Constructor Details
-
SwitchStateMutation
public SwitchStateMutation()
-
-
Method Details
-
populationMutationProbability
@Parameter public abstract double populationMutationProbability() -
check
@Check protected void check() -
of
Construct a new immutableSwitchStateMutation
instance.- Parameters:
populationMutationProbability
- The value for thepopulationMutationProbability
attribute- Returns:
- An immutable SwitchStateMutation instance
-