Changeset 14068 for branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/IHR/IHR6.cs
- Timestamp:
- 07/14/16 14:33:15 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/IHR/IHR6.cs
r13988 r14068 30 30 [StorableClass] 31 31 public class IHR6 : IHR { 32 33 public override IEnumerable<double[]> OptimalParetoFront(int objectives) { 32 protected override IEnumerable<double[]> GetOptimalParetoFront(int objectives) { 34 33 List<double[]> res = new List<double[]>(); 35 34 for (int i = 0; i <= 500; i++) { … … 40 39 return res; 41 40 } 42 public override double BestKnownHypervolume(int objectives) { 43 return Hypervolume.Calculate(OptimalParetoFront(objectives), ReferencePoint(objectives), Maximization(objectives)); 41 42 protected override double GetBestKnownHypervolume(int objectives) { 43 return Hypervolume.Calculate(GetOptimalParetoFront(objectives), GetReferencePoint(objectives), GetMaximization(objectives)); 44 44 } 45 45
Note: See TracChangeset
for help on using the changeset viewer.