Interface Mutate<G extends org.opt4j.core.Genotype>

    • Method Detail

      • mutate

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

        default java.lang.Class<? extends org.opt4j.core.optimizer.Operator<?>> getOperatorType()
        Specified by:
        getOperatorType in interface org.opt4j.core.optimizer.Operator<G extends org.opt4j.core.Genotype>