Interface Mutate<G extends Genotype>

Type Parameters:
G - the type of genotype
All Superinterfaces:
Operator<G>
All Known Subinterfaces:
MutateInteger, MutatePermutation
All Known Implementing Classes:
MutateBoolean, MutateDouble, MutateDoubleDefault, MutateDoubleElementwise, MutateDoubleGauss, MutateDoubleNonUniform, MutateDoublePolynomial, MutateDoubleUniform, MutateGenericImplementation, MutateIntegerRandom, MutatePermutationInsert, MutatePermutationMixed, MutatePermutationRevert, MutatePermutationSwap

public interface Mutate<G extends Genotype> extends Operator<G>
Mutate operator that performs a mutation for a Genotype.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    mutate(G genotype, double p)
    Performs a mutation for a Genotype.
  • Method Details

    • mutate

      void mutate(G genotype, double p)
      Performs a mutation for a Genotype.
      Parameters:
      genotype - the genotype to be mutated
      p - the mutation rate