class_docstr: Class defining mutations, and holding a random state used for random generation.
class_docstr_tok: ["Class","defining","mutations",",","and","holding","a","random","state","used","for","random","generation","."]
docstr: Mutation as in the fast 1+1-ES, Doerr et al. The exponent is 1.5.
docstr_tok: ["Mutation","as","in","the","fast","1+1-ES",",","Doerr","et","al",".","The","exponent","is","1.5","."]
code: def doerr_discrete_mutation(
      self, parent: tp.ArrayLike, arity: int = 2
  ) -> tp.ArrayLike:
      """Mutation as in the fast 1+1-ES, Doerr et al. The exponent is 1.5."""
      dimension = len(parent)
      if dimension < 5:
          return self.discrete_mutation(parent)
      return self.doubledoerr_discrete_mutation(
          parent, max_ratio=0.5, arity=arity
      )
  
file_path: nevergrad/nevergrad/optimization/mutations.py
imports: import numpy
  import nevergrad.common.typing
  from nevergrad.parametrization import discretization
  from .None import utils
label_desc: Use image node_id 3 for calling the Mutator obj's underlying member method code with example usage: obj.doerr_discrete_mutation(parent, arity) and returns: self, self