Class MutateBoolean

java.lang.Object
org.opt4j.operator.mutate.MutateBoolean
All Implemented Interfaces:
Operator<BooleanGenotype>, Mutate<BooleanGenotype>

public class MutateBoolean extends Object implements Mutate<BooleanGenotype>
Mutate for the BooleanGenotype.
  • Field Details

    • random

      protected final Random random
  • Constructor Details

    • MutateBoolean

      @Inject public MutateBoolean(Rand random)
      Constructs a new MutateBoolean with the given mutation rate.
      Parameters:
      random - the random number generator
  • Method Details