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.RealVectorEncoding/3.3/RealVectorMultiObjectiveProblem.cs

    r16949 r17230  
    6363    public override void Analyze(RealVector[] individuals, double[][] qualities, ResultCollection results, IRandom random) {
    6464      base.Analyze(individuals, qualities, results, random);
    65       // TODO: Calculate Pareto front and add to results
     65
     66      var fronts = DominationCalculator.CalculateAllParetoFrontsIndices(individuals, qualities, Maximization);
     67      var plot = new ParetoFrontScatterPlot<RealVector>(fronts, individuals, qualities, Objectives, BestKnownFront);
     68      results.AddOrUpdateResult("Pareto Front Scatter Plot", plot);
    6669    }
    6770
Note: See TracChangeset for help on using the changeset viewer.