Class PartialMutation

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

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

    • PartialMutation

      public PartialMutation()
  • Method Details

    • chromosomeIndex

      @Parameter public abstract int chromosomeIndex()
    • mutationPolicy

      @Parameter public abstract MutationPolicy mutationPolicy()
    • check

      @Check protected void check()
    • of

      public static PartialMutation of(int chromosomeIndex, MutationPolicy mutationPolicy)