def mutation(self, cfg):
    params = self.manipulator.parameters(cfg)
    random.shuffle(params)
    for param in params[:self.must_mutate_count]:
      self.mutate_param(cfg, param)
    for param in params[self.must_mutate_count:]:
      if random.random() < self.mutation_rate:
        self.mutate_param(cfg, param)
mutate cfg in place
dataset/ETHPy150Open jansel/opentuner/opentuner/search/globalGA.py/GlobalEvolutionaryTechnique.mutation