Changeset 17745 for branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/EvaluationTracker.cs
- Timestamp:
- 09/15/20 13:53:11 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/EvaluationTracker.cs
r17382 r17745 132 132 } 133 133 134 public void Analyze(BinaryVector[] individuals, double[] qualities, ResultCollection results, IRandom random) { 135 problem.Analyze(individuals, qualities, results, random); 136 } 137 138 public void Analyze(ISingleObjectiveSolutionContext<BinaryVector>[] solutionContexts, ResultCollection results, IRandom random) { 139 var solutions = solutionContexts.Select(c => c.EncodedSolution).ToArray(); 140 var qualities = solutionContexts.Select(c => c.EvaluationResult.Quality).ToArray(); 141 Analyze(solutions, qualities, results, random); 134 public void Analyze(ISingleObjectiveSolutionContext<BinaryVector>[] solutionContexts, IRandom random) { 135 problem.Analyze(solutionContexts, random); 142 136 } 143 137
Note: See TracChangeset
for help on using the changeset viewer.