Changeset 17225 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.TestFunctions.MultiObjective/3.3/TestFunctions/IHR/IHR1.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/IHR1.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("16DF9415-9D12-4FB9-A985-7EEAE05A24CA")] 31 32 public class IHR1 : 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++) { … … 41 42 42 43 protected override double GetBestKnownHypervolume(int objectives) { 43 return Hypervolume .Calculate(GetOptimalParetoFront(objectives), GetReferencePoint(objectives), GetMaximization(objectives));44 return HypervolumeCalculator.CalculateHypervolume(GetOptimalParetoFront(objectives), GetReferencePoint(objectives), GetMaximization(objectives)); 44 45 } 45 46
Note: See TracChangeset
for help on using the changeset viewer.