Class SwitchStateMutation

java.lang.Object
net.bmahe.genetics4j.neat.spec.mutation.SwitchStateMutation
All Implemented Interfaces:
MutationPolicy
Direct Known Subclasses:
ImmutableSwitchStateMutation

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

    • SwitchStateMutation

      public SwitchStateMutation()
  • Method Details

    • populationMutationProbability

      @Parameter public abstract double populationMutationProbability()
    • check

      @Check protected void check()
    • of

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