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