Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/10/20 16:05:20 (4 years ago)
Author:
dleko
Message:

#2825 Use HeuristicLab's SBX recombination.
Add AnalyzeEveryGeneration parameter (for longer tests).
Minor refactoring.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2825-NSGA3/HeuristicLab.Algorithms.NSGA3/3.3/NSGA3Selection.cs

    r17692 r17720  
    2828            // Do non-dominated sort
    2929            var qualities = Utility.ToFitnessMatrix(rt);
    30             // compute the pareto fronts using the DominationCalculator and discard the qualities
    31             // part in the inner tuples
     30
     31            // compute the pareto fronts using the DominationCalculator
    3232            var fronts = DominationCalculator<Solution>.CalculateAllParetoFronts(rt.ToArray(), qualities, maximization, out int[] rank, true)
    3333                .Select(list => new List<Solution>(list.Select(pair => pair.Item1))).ToList();
     
    109109                    {
    110110                        solution.ConvertedFitness[i] = solution.ConvertedFitness[i] / (intercepts[i] - idealPoint[i]);
     111                        // todo: try this
     112                        //solution.ConvertedFitness[i] = solution.ConvertedFitness[i] / intercepts[i];
    111113                    }
    112114                    else
Note: See TracChangeset for help on using the changeset viewer.