Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/03/19 15:50:35 (5 years ago)
Author:
abeham
Message:

#2521: add multi-objective analysis to all multi-objective encoding-base problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/BinaryVectorMultiObjectiveProblem.cs

    r17226 r17230  
    6161    public override void Analyze(BinaryVector[] individuals, double[][] qualities, ResultCollection results, IRandom random) {
    6262      base.Analyze(individuals, qualities, results, random);
    63       // TODO: Calculate Pareto front and add to results
     63
     64      var fronts = DominationCalculator.CalculateAllParetoFrontsIndices(individuals, qualities, Maximization);
     65      var plot = new ParetoFrontScatterPlot<BinaryVector>(fronts, individuals, qualities, Objectives, BestKnownFront);
     66      results.AddOrUpdateResult("Pareto Front Scatter Plot", plot);
    6467    }
    6568
Note: See TracChangeset for help on using the changeset viewer.