Changeset 17225 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.TestFunctions.MultiObjective/3.3/TestFunctions/IHR/IHR3.cs
- Timestamp:
- 08/29/19 13:53:26 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.TestFunctions.MultiObjective/3.3/TestFunctions/IHR/IHR3.cs
r16723 r17225 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Encodings.RealVectorEncoding; 26 using HeuristicLab.Optimization; 26 27 using HEAL.Attic; 27 28 … … 30 31 [StorableType("316D5351-762D-4883-ACEF-06F4EAFA73AE")] 31 32 public class IHR3 : IHR { 32 protected override I Enumerable<double[]> GetOptimalParetoFront(int objectives) {33 protected override IList<double[]> GetOptimalParetoFront(int objectives) { 33 34 List<double[]> res = new List<double[]>(); 34 35 for (int i = 0; i <= 500; i++) { … … 42 43 43 44 protected override double GetBestKnownHypervolume(int objectives) { 44 return Hypervolume .Calculate(GetOptimalParetoFront(objectives), GetReferencePoint(objectives), GetMaximization(objectives));45 return HypervolumeCalculator.CalculateHypervolume(GetOptimalParetoFront(objectives), GetReferencePoint(objectives), GetMaximization(objectives)); 45 46 } 46 47
Note: See TracChangeset
for help on using the changeset viewer.