Class AddConnection

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

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

    • AddConnection

      public AddConnection()
  • Method Details

    • populationMutationProbability

      @Parameter public abstract double populationMutationProbability()
    • check

      @Check protected void check()
    • of

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