Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/15/20 13:53:11 (4 years ago)
Author:
mkommend
Message:

#2971: Added first draft of results implementation and problem adaptation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/EvaluationTracker.cs

    r17382 r17745  
    132132    }
    133133
    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);
    142136    }
    143137
Note: See TracChangeset for help on using the changeset viewer.