Ejemplo n.º 1
0
 private CMAEvolutionStrategy(CMAEvolutionStrategy original, Cloner cloner)
     : base(original, cloner)
 {
     qualityAnalyzer           = cloner.Clone(original.qualityAnalyzer);
     cmaAnalyzer               = cloner.Clone(original.cmaAnalyzer);
     solutionCreator           = cloner.Clone(original.solutionCreator);
     populationSolutionCreator = cloner.Clone(original.populationSolutionCreator);
     evaluator  = cloner.Clone(original.evaluator);
     sorter     = cloner.Clone(original.sorter);
     terminator = cloner.Clone(original.terminator);
     RegisterEventHandlers();
 }
Ejemplo n.º 2
0
 private CMAEvolutionStrategy(CMAEvolutionStrategy original, Cloner cloner)
   : base(original, cloner) {
   qualityAnalyzer = cloner.Clone(original.qualityAnalyzer);
   cmaAnalyzer = cloner.Clone(original.cmaAnalyzer);
   solutionCreator = cloner.Clone(original.solutionCreator);
   populationSolutionCreator = cloner.Clone(original.populationSolutionCreator);
   evaluator = cloner.Clone(original.evaluator);
   sorter = cloner.Clone(original.sorter);
   terminator = cloner.Clone(original.terminator);
   RegisterEventHandlers();
 }