Class RandomMutation

java.lang.Object
net.bmahe.genetics4j.core.spec.mutation.RandomMutation
All Implemented Interfaces:
MutationPolicy
Direct Known Subclasses:
ImmutableRandomMutation

@Immutable public abstract class RandomMutation extends Object implements MutationPolicy
  • Constructor Details

    • RandomMutation

      public RandomMutation()
  • Method Details

    • populationMutationProbability

      @Parameter public abstract double populationMutationProbability()
    • check

      @Check protected void check()
    • of

      public static RandomMutation of(double populationMutationProbability)
      Construct a new immutable RandomMutation instance.
      Parameters:
      populationMutationProbability - The value for the populationMutationProbability attribute
      Returns:
      An immutable RandomMutation instance