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.Encodings.LinearLinkageEncoding/3.4/LinearLinkageProblem.cs

    r17695 r17745  
    7171    }
    7272
    73     public override void Analyze(LinearLinkage[] vectors, double[] qualities, ResultCollection results, IRandom random) {
    74       base.Analyze(vectors, qualities, results, random);
    75       var best = GetBestSolution(vectors, qualities);
     73    public override void Analyze(ISingleObjectiveSolutionContext<LinearLinkage>[] solutionContexts, IRandom random) {
     74      base.Analyze(solutionContexts, random);
    7675
    77       results.AddOrUpdateResult("Best Solution", (Item)best.Item1.Clone());
     76      //TODO: reimplement code below using results directly
     77
     78      //var best = GetBestSolution(vectors, qualities);
     79
     80      //results.AddOrUpdateResult("Best Solution", (Item)best.Item1.Clone());
    7881    }
    7982
Note: See TracChangeset for help on using the changeset viewer.