Changeset 15205 for trunk/sources
- Timestamp:
- 07/12/17 10:46:50 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.MOCMAEvolutionStrategy/3.3/MOCMAEvolutionStrategy.cs
r15203 r15205 319 319 PenalizeEvaluate(solutions[i]); 320 320 } 321 ResultsEvaluations += solutions.Length; 321 322 } 322 323 private void InitStrategy() { … … 384 385 return o; 385 386 }); 387 ResultsEvaluations += solutions.Length; 386 388 var parents = solutions.Concat(offspring).ToArray(); 387 389 SelectParents(parents, solutions.Length); … … 409 411 private double[] Evaluate(RealVector x) { 410 412 var res = Problem.Evaluate(new SingleEncodingIndividual(Problem.Encoding, new Scope { Variables = { new Variable(Problem.Encoding.Name, x) } }), random); 411 ResultsEvaluations++;412 413 return res; 413 414 }
Note: See TracChangeset
for help on using the changeset viewer.